DE102015114860A1 - Method for operating a microcontroller - Google Patents

Method for operating a microcontroller Download PDF

Info

Publication number
DE102015114860A1
DE102015114860A1 DE102015114860.9A DE102015114860A DE102015114860A1 DE 102015114860 A1 DE102015114860 A1 DE 102015114860A1 DE 102015114860 A DE102015114860 A DE 102015114860A DE 102015114860 A1 DE102015114860 A1 DE 102015114860A1
Authority
DE
Germany
Prior art keywords
actuator
current
voltage
temperature
cut
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.)
Pending
Application number
DE102015114860.9A
Other languages
German (de)
Inventor
Francesco Flögel
Jan Reimer
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MinebeaMitsumi Inc
Original Assignee
Minebea Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Minebea Co Ltd filed Critical Minebea Co Ltd
Priority to DE102015114860.9A priority Critical patent/DE102015114860A1/en
Publication of DE102015114860A1 publication Critical patent/DE102015114860A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H3/00Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
    • H02H3/08Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to excess current
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/08Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors
    • H02H7/085Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors against excessive load
    • H02H7/0851Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for dynamo-electric motors against excessive load for motors actuating a movable member between two end positions, e.g. detecting an end position or obstruction by overload signal
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P23/00Arrangements or methods for the control of AC motors characterised by a control method other than vector control
    • H02P23/14Estimation or adaptation of motor parameters, e.g. rotor time constant, flux, speed, current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P29/00Arrangements for regulating or controlling electric motors, appropriate for both AC and DC motors
    • H02P29/60Controlling or determining the temperature of the motor or of the drive

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

Die Erfindung betrifft ein Verfahren zum Betrieb eines Mikrocontrollers, der zur Steuerung eines Aktuators vorgesehen ist, das Verfahren umfassend: Bestimmen eines Abschaltstromes oder einer Abschaltspannung (eigentlich ist der Abschaltpunkt von der Spannung unabhängig. Es wird nur aufgrund eines Stromwertes abgestellt. Die Spannung definiert nur den maximal erreichbaren Strom durch die Phasenspule) unter Berücksichtigung mindestens eines Parameters, der eine durch den Aktuator bisher absolvierte Laufzeit oder einen durch eine Abtriebswelle des Aktuators bisher zurückgelegten Laufweg, und/oder eine Temperatur des Aktuators oder eine Temperatur in der Umgebung des Aktuators wiedergibt; und Abschalten des Aktuators, falls ein Eingangsstrom oder eine Eingangsspannung des Aktuators den Abschaltstrom bzw. die Abschaltspannung erreicht oder überschreitet.The invention relates to a method of operating a microcontroller provided for controlling an actuator, comprising the method comprising: determining a cutoff current or a cutoff voltage (actually, the cutoff point is independent of the voltage.) It is only turned off due to a current value the maximum achievable current through the phase coil) taking into account at least one parameter representing a runtime previously completed by the actuator or a travel path traveled so far by an output shaft of the actuator, and / or a temperature of the actuator or a temperature in the vicinity of the actuator; and turning off the actuator if an input current or an input voltage of the actuator reaches or exceeds the turn-off current or cut-off voltage.

Description

Die Erfindung betrifft ein Verfahren zum Betrieb eines Mikrocontrollers, der zur Steuerung eines Aktuators vorgesehen ist.The invention relates to a method for operating a microcontroller, which is provided for controlling an actuator.

Zu Steuerung des Klappenwinkels bei Klimaklappen bzw. Lufteinlässen in Fahrzeugen werden üblicherweise Stellmotoren (Aktuatoren) verwendet, die aus einem Elektromotor und einem nachgeschalteten Getriebe bestehen. Um die Endanschläge und die Lamellen vor mechanischer Beschädigung zu schützen, darf der Aktuator bestimmte Maximaldrehmomente nicht überschreiten. Anderenfalls erfolgt eine Abschaltung des Aktuators.To control the flap angle in air conditioning flaps or air inlets in vehicles usually actuators (actuators) are used, which consist of an electric motor and a downstream transmission. To protect the end stops and the blades from mechanical damage, the actuator must not exceed certain maximum torques. Otherwise, the actuator is switched off.

Zur Steuerung des Aktuators wird ein Mikrocontroller verwendet, beispielsweise ein Mikrocontroller auf Basis einer Controllerarchitektur des Typs 8051 der Firma Intel.To control the actuator, a microcontroller is used, for example a microcontroller based on a controller architecture of the type 8051 from Intel.

Das Moment kann aus dem Phasenstrom des Motors und der Getriebeübersetzung abgeleitet werden. Erkennt der Mikrocontroller einen Phasenstrom, der dem vorgegebenen Maximaldrehmoment entspricht, so veranlasst der Mikrocontroller die Abschaltung.The torque can be derived from the phase current of the motor and the gear ratio. If the microcontroller detects a phase current which corresponds to the predetermined maximum torque, then the microcontroller causes the shutdown.

Das Verhältnis von Phasenstrom und Abtriebsmoment kann aus theoretischer Sicht für die Erfindung als annähernd konstant angenommen werden. In der Praxis hat sich jedoch ergeben, dass besonders durch Temperatureinflüsse das Abtriebsmoment nicht proportional zum Phasenstrom ist. Somit kann das Abtriebsmoment in manchen Fällen nicht genau aus der Messung des Phasenstroms bestimmt werden. Als Folge dessen kann es dazu kommen, dass der Aktuator zu früh abgeschaltet wird, oder ein Drehmoment erzeugt, das über dem vorgegebenen Maximum liegt. Letzterer Fall kann zur Verringerung der Lebensdauer der betätigten Stellelemente und/oder des Aktuators führen.The ratio of phase current and output torque can theoretically be assumed to be approximately constant for the invention. In practice, however, it has been found that the output torque is not proportional to the phase current, in particular due to temperature influences. Thus, the output torque in some cases can not be accurately determined from the measurement of the phase current. As a result, it may happen that the actuator is shut down too early, or generates a torque that is above the predetermined maximum. The latter case can lead to a reduction in the life of the operated actuators and / or the actuator.

Aufgabe der vorliegenden Erfindung ist es, dieses Problem zu lösen oder abzumindern.The object of the present invention is to solve or mitigate this problem.

Diese Aufgabe wird durch das in Anspruch 1 angegebene Verfahren gelöst. Vorteilhafte Ausgestaltungen sind in den Unteransprüchen angegeben.This object is achieved by the method specified in claim 1. Advantageous embodiments are specified in the subclaims.

Erfindungsgemäß ist ein Verfahren zum Betrieb eines Mikrocontrollers geschaffen, der zur Steuerung eines Aktuators vorgesehen ist, das Verfahren umfassend: Bestimmen eines Abschaltstromes oder einer Abschaltspannung unter Berücksichtigung mindestens eines Parameters, der eine durch den Aktuator bisher absolvierte Laufzeit oder einen durch eine Abtriebswelle des Aktuators zurückgelegten Laufweg, und/oder eine Temperatur des Aktuators oder eine Temperatur in der Umgebung des Aktuators wiedergibt; und Abschalten des Aktuators, falls ein Eingangsstrom oder eine Eingangsspannung des Aktuators den Abschaltstrom bzw. die Abschaltspannung erreicht oder überschreitet.According to the invention, a method is provided for operating a microcontroller provided for controlling an actuator, the method comprising: determining a cutoff current or a cutoff voltage taking into account at least one parameter representing a runtime previously completed by the actuator or a travel time taken by an output shaft of the actuator Running path, and / or a temperature of the actuator or a temperature in the vicinity of the actuator reproduces; and turning off the actuator if an input current or an input voltage of the actuator reaches or exceeds the turn-off current or cut-off voltage.

Die vorliegende Erfindung beruht auf der Erkenntnis, dass durch Berücksichtigung eines Parameters, der eine bereits absolvierte Laufzeit oder einen bereits zurückgelegten Laufweg das Aktuators wiedergibt, ein Abschaltstrom bestimmt werden kann, der genauer dem tatsächlich erforderten Abschaltdrehmoment entspricht. Dies gilt analog für die Temperatur im oder am Aktuator. Einflüsse durch das Betriebsalter oder Temperatureinflüsse können somit weitgehend eliminiert werden. Somit kann ein zu frühes Abschalten oder umgekehrt eine Überlastung eines durch den Aktuator betätigten Stellelementes verhindert und die Lebensdauer der verwendeten Komponenten erhöht werden.The present invention is based on the finding that, by taking into account a parameter which reflects an already completed running time or an already traveled running path of the actuator, a cut-off current can be determined which more precisely corresponds to the actually required turn-off torque. This applies analogously to the temperature in or on the actuator. Influences due to operating age or temperature influences can thus be largely eliminated. Thus, too early shutdown or vice versa overloading a actuated by the actuator actuator can be prevented and the life of the components used can be increased.

Zum Abschalten des Aktuators kann der Mikrocontroller den Eingangsstrom oder die Eingangsspannung unterbrechen oder ein Abschaltsignal erzeugen. Das Abschalten kann dabei ohne zeitliche Verzögerung erfolgen. Beispielsweise kann der Elektromotor des Aktuators einem vorgegebenen Kommutierungsschema entsprechend zum Stillstand gebracht werden. Dazu kann beispielsweise ein festes Kommutierungsschema in einer Tabelle hinterlegt sein. Solch ein festes Kommutierungsschema kann beispielsweise eine Stoprampe beschreiben, so dass die Kommutierungsfrequenz kontinuierlich verringert wird. Beim Stillstand des Elektromotors kann es dann vorgesehen sein, dass dieser mit einem Haltestrom bestromt wird, so dass auf den Rotor des Elektromotors ein Haltemoment wirkt. Somit kann der Elektromotor, beziehungsweise der Aktuator, nach dem Abschalten seine Position halten.To shut off the actuator, the microcontroller can interrupt the input current or the input voltage or generate a shutdown signal. The shutdown can be done without delay. For example, the electric motor of the actuator can be brought to a predetermined Kommutierungsschema to a halt. For this purpose, for example, a fixed commutation scheme can be stored in a table. Such a fixed commutation scheme may for example describe a stop ramp so that the commutation frequency is continuously reduced. When the electric motor is at a standstill, it can then be provided that it is supplied with a holding current so that a holding torque acts on the rotor of the electric motor. Thus, the electric motor, or the actuator, hold its position after switching off.

Die aktuelle Temperatur kann beispielsweise durch einen Heißleiter, beispielsweise einen NTC-Widerstand, im oder am Aktuator bestimmt werden. Alternativ können auch andere Temperatursensoren wie ein NTC-Widerstand oder eine Messung des Ohm'schen Widerstands der Phasenwicklung zur Temperaturbestimmung verwendet werden. Ebenso kann eine Schätzung der Temperatur, beispielsweise durch einen Zustandsbeobachter, implementiert sein.The current temperature can be determined, for example, by a thermistor, for example an NTC resistor, in or on the actuator. Alternatively, other temperature sensors such as an NTC resistor or a measurement of the ohmic resistance of the phase winding to Temperature determination can be used. Likewise, an estimate of the temperature, for example by a state observer, may be implemented.

In manchen Ausgestaltungen der Erfindung wird ein erfasster Temperaturwert oder ein anderer erfasster Parameter einem Analog-Digital-Umsetzer (ADC) zugeführt. Im ADC kann dabei eine Mittelung des erfassten Parameters über die Zeit erfolgen. Eine Mittelung des mindestens einen Parameter kann selbstverständlich auch anders realisiert sein und beispielsweise in einem Mikrocontroller erfolgen.In some embodiments of the invention, a sensed temperature value or other sensed parameter is applied to an analog-to-digital converter (ADC). In the ADC, an averaging of the detected parameter can take place over time. Of course, an averaging of the at least one parameter can also be implemented differently and be carried out, for example, in a microcontroller.

In einer Ausgestaltung gibt der mindestens eine Parameter die durch den Aktuator bisher absolvierte Laufzeit oder den durch die Abtriebswelle des Aktuators bisher zurückgelegten Laufweg seit Inbetriebnahme des Aktuators, insbesondere der ersten Inbetriebnahme in einem Kraftfahrzeug, wieder. Es hat sich herausgestellt, dass dieser Parameter ein Maß für die Fett- oder Schmierstoffverteilung im Aktuator ist, die wiederum das Drehmoment beeinflusst.In one embodiment, the at least one parameter indicates the runtime previously completed by the actuator or the travel path traveled by the output shaft of the actuator since the actuator was put into operation, in particular the first startup in a motor vehicle. It has been found that this parameter is a measure of the grease or lubricant distribution in the actuator, which in turn affects the torque.

Insbesondere wird die Anzahl der Umdrehungen der Abtriebswelle des Aktuators umfasst, wobei der mindestens eine Parameter die Anzahl der bisher durch die Abtriebswelle des Aktuators absolvierten Umdrehungen wiedergibt. Die Anzahl der Umdrehungen kann mittels eines Sensors bestimmt werden, der an der Abtriebswelle des Aktuator angeordnet ist. Die Anzahl der Umdrehungen wird kumulativ erfasst. Der Zählerstand kann auf einfache Weise durch den Mikrocontroller verwaltet und verarbeitet werden.In particular, the number of revolutions of the output shaft of the actuator is included, wherein the at least one parameter represents the number of revolutions previously completed by the output shaft of the actuator. The number of revolutions can be determined by means of a sensor which is arranged on the output shaft of the actuator. The number of revolutions is recorded cumulatively. The meter reading can be easily managed and processed by the microcontroller.

In einer Ausgestaltung erfolgt die Bestimmung des Abschaltstromes oder der Abschaltspannung dynamisch und/oder in Echtzeit. Somit kann der Einfluss von Temperaturänderungen, die sich während des Betriebs ergeben können, unmittelbar berücksichtigt werden.In one embodiment, the determination of the cut-off current or the cut-off voltage takes place dynamically and / or in real time. Thus, the influence of temperature changes, which may arise during operation, can be directly taken into account.

In einer Ausgestaltung wird der Abschaltstrom oder die Abschaltspannung mittels einer polynomialen Formel bestimmt. Die Berechnung erfolgt während der Laufzeit. Diese Ausgestaltung hat den Vorteil, dass vorhandene Mikrocontroller auf einfache Weise durch Hinterlegen der Formel und Bereitstellen der zur Auflösung der Formel benötigten aktuellen Messwerte umgerüstet werden können. Zusätzlicher Speicherbedarf seitens des Mikrocontrollers ergibt sich nur in geringem Umfang.In one embodiment, the turn-off current or the turn-off voltage is determined by means of a polynomial formula. The calculation is done during the term. This refinement has the advantage that existing microcontrollers can be converted in a simple manner by depositing the formula and providing the current measured values needed to resolve the formula. Additional memory requirements on the part of the microcontroller results only to a limited extent.

Die polynomiale Formel kann durch Approximation eines Kennfeldes bestimmt werden, das eine Vielzahl von Messwerten des mindestens einen Parameters enthält. Prinzipiell kann ein Kennfeld beliebiger Dimension verwendet werden. Insbesondere kann das Kennfeld auch dreidimensional oder vierdimensional sein und eine Vielzahl von Parametern enthalten. Die Parameter können beispielsweise eine oder mehrere der folgenden Größen umfassen: Eine durch den Aktuator bisher absolvierte Laufzeit, einen durch eine Abtriebswelle des Aktuators bisher zurückgelegten Laufweg, eine Temperatur des Aktuators oder eine Temperatur in der Umgebung des Aktuators, einen Eingangsstrom oder eine Eingangsspannung des Aktuators, ein durch den Aktuator erzeugtes Drehmoment oder eine durch den Aktuator erzeugte Abtriebskraft, und eine Laufzeit des Aktuators. Beispielsweise kann ein dreidimensionales Kennfeld die Parameter Temperatur, Strom und Drehmoment umfassen.The polynomial formula can be determined by approximating a map containing a plurality of measurements of the at least one parameter. In principle, a map of any dimension can be used. In particular, the map may also be three-dimensional or four-dimensional and contain a plurality of parameters. For example, the parameters may include one or more of the following: a runtime previously completed by the actuator, a track traveled by an output shaft of the actuator, a temperature of the actuator, or a temperature in the vicinity of the actuator, an input current, or an input voltage of the actuator , a torque generated by the actuator or an output force generated by the actuator, and a running time of the actuator. For example, a three-dimensional characteristic map may include the parameters temperature, current and torque.

In einer Ausgestaltung wird die Vielzahl von Messwerten für mehrere Exemplare des Aktuators erfasst, wobei die Messwerte über die Anzahl der Exemplare gemittelt werden. Somit werden exemplarabhängige Schwankungen reduziert oder eliminiert.In one embodiment, the plurality of measured values for a plurality of copies of the actuator are recorded, wherein the measured values are averaged over the number of copies. Thus, copy-dependent variations are reduced or eliminated.

Das Verfahren eignet sich insbesondere für eine Implementierung in einem Mikrocontroller, der einen Aktuator zur Betätigung eines Stellelements in einem Kraftfahrzeug, insbesondere von Klima- oder Lüftungsklappen, steuert. Der Mikrocontroller kann ein Mikrocontroller mit einer Controllerarchitektur des Typs 8051 sein.The method is particularly suitable for an implementation in a microcontroller, which controls an actuator for actuating an actuating element in a motor vehicle, in particular air conditioning or ventilation flaps. The microcontroller may be a microcontroller having an 8051 controller architecture.

In einer alternativen Ausgestaltung wird der Abschaltstrom oder die Abschaltspannung mittels einer Referenztabelle bestimmt. Diese Ausgestaltung hat den Vorteil, dass eine einfache Anpassung des Abschaltverhaltens durch Änderung von Referenzwerten ermöglicht wird.In an alternative embodiment, the switch-off current or the switch-off voltage is determined by means of a reference table. This refinement has the advantage that a simple adaptation of the turn-off behavior by changing reference values is made possible.

Darüber hinaus ist ein Datenverarbeitungsprogramm geschaffen, umfassend Instruktionen, die bei Ausführung durch ein Datenverarbeitungssystem – z. B. einen Mikrocontroller – eine Durchführung des oben beschriebenen Verfahrens veranlassen.In addition, a data processing program is provided, comprising instructions that, when executed by a data processing system -. As a microcontroller - cause an implementation of the method described above.

Weitere Merkmale und Vorteile der Erfindung ergeben sich aus der folgenden Beschreibung, bei der Bezug genommen wird auf die beigefügte Zeichnungen:Further features and advantages of the invention will become apparent from the following description in which reference is made to the accompanying drawings:

1 zeigt schematisch ein System zur Betätigung eines Stellelementes in einem Fahrzeug, in dem das erfindungsgemäße Verfahren einsetzbar ist; 1 shows schematically a system for actuating an actuating element in a vehicle in which the method according to the invention can be used;

2 zeigt den Ablauf eines Verfahrens nach einer Ausgestaltung der Erfindung; und 2 shows the sequence of a method according to an embodiment of the invention; and

3 zeigt ein Diagramm, das ein Verfahren zur Erstellung einer Momentmatrix gemäß einem Merkmal einer Ausgestaltung der Erfindung darstellt. 3 FIG. 12 is a diagram illustrating a method of creating a momentum matrix according to a feature of an embodiment of the invention. FIG.

1 zeigt schematisch ein System zur Betätigung eines Stellelementes in einem Fahrzeug, in dem das erfindungsgemäße Verfahren einsetzbar ist. Das System umfasst einen Mikrocontroller 1, der einen Eingangsstrom IEIN für einen Aktuator 2 erzeugt. Abhängig von dem Eingangsstrom IEIN erzeugt der Aktuator ein Abtriebsdrehmoment MAB auf eine Abtriebswelle, mittels derer ein Stellelement, beispielsweise Klima- oder Lüftungsklappen in einem Kraftfahrzeug, betätigt wird. 1 schematically shows a system for actuating an actuating element in a vehicle in which the inventive method can be used. The system includes a microcontroller 1 which provides an input current I IN for an actuator 2 generated. Depending on the input current I IN , the actuator generates an output torque M AB on an output shaft, by means of which an actuating element, such as air conditioning or ventilation flaps in a motor vehicle, is actuated.

Das erzeugte Abtriebsdrehmoment MAB ist abhängig von dem Eingangsstrom IEIN. Falls der Eingangsstrom IEIN einen Wert IMAX erreicht, aus dem abgeleitet wird, das ein nicht zu überschreitendes Abtriebsdrehmoment erreicht oder überschritten wird, so schaltet der Mikrocontroller 1 den Aktuator 1 ab. Dieser Vorgang ist in dem Ablaufdiagramm in 2 dargestellt. Ein im Schritt 1 angelegter Eingangsstrom IEIN wird mit dem im Schritt 3 bestimmten Abschaltstrom IMAX in einem Schritt 5 verglichen. Falls dort ermittelt wird, dass der Fall IEIN > IMAX vorliegt, wird der Aktuator 1 in einem Schritt 7 abgeschaltet. Insbesondere kann es vorgesehen sein, dass der Elektromotor dabei kontrolliert zum Stillstand gebracht wird. Nach dem Erreichen des Stillstands kann es auch vorgesehen sein, dass der Elektromotor des Aktuators mit einem Haltestrom bestromt wird, so dass ein Positionsverlust vermieden wird. Falls im Schritt 5 ermittelt wird, dass der Eingangsstrom IEIN nicht größer als der Abschaltstrom IMAX ist, wird der Ablauf wieder vom Schritt 1 ausgehend weitergeführt.The generated output torque M AB depends on the input current I IN . If the input current I ON reaches a value I MAX , from which it is derived that an output torque which can not be exceeded is reached or exceeded, the microcontroller switches 1 the actuator 1 from. This process is in the flowchart in FIG 2 shown. One in the step 1 Applied input current I ON is the one in step 3 certain turn-off current I MAX in one step 5 compared. If it is determined there is the case I IN > I MAX , the actuator becomes 1 in one step 7 off. In particular, it may be provided that the electric motor is controlled brought to a standstill. After reaching the standstill, it may also be provided that the electric motor of the actuator is energized with a holding current, so that a loss of position is avoided. If in step 5 it is determined that the input current I IN is greater than the cut-off current I MAX, the process is again from step 1 proceeding starting.

Bei der Bestimmung des Abschaltstromes IMAX werden die Laufzeit des Aktuators und die Umgebungstemperatur berücksichtigt. Da sich diese Parameter ständig verändern, erfolgt eine dynamische Anpassung des Abschaltstromes IMAX.When determining the switch-off current I MAX , the operating time of the actuator and the ambient temperature are taken into account. Since these parameters are constantly changing, there is a dynamic adaptation of the switch-off current I MAX .

Der Abschaltstrom IMAX entspricht einem maximal zugelassenen Abtriebsmoment. Die Bestimmung des aktuellen Abschaltstromes IMAX erfolgt in einer Ausgestaltung der Erfindung mittels einer Referenztabelle. Die Referenztabelle enthält eine Vielzahl von Werten von Temperatur und Laufzeit und jeweils zugeordnetem Abschaltstrom IMAX. Diese Werte werden vorab durch Messung bestimmt. Die Tabelle kann in einem Speicher des Mikrocontrollers hinterlegt sein.The switch-off current I MAX corresponds to a maximum permitted output torque. The determination of the current cut-off current I MAX is effected in one embodiment of the invention by means of a reference table. The reference table contains a large number of values of temperature and transit time and the respective associated cut-off current I MAX . These values are determined in advance by measurement. The table can be stored in a memory of the microcontroller.

In einer anderen Ausgestaltung wird der Abschaltstrom IMAX mittels eines Approximationsfunktion bestimmt.In another embodiment, the turn-off current I MAX is determined by means of an approximation function.

Zur Bestimmung der Approximationsfunktion werden verschiedene Parameter des Aktuators zu unterschiedlichen Betriebsbedingungen gemessen. Dazu erfasst der Mikrocontroller des Aktuators analoge Signale, wie z. B. Strom und Temperatur mit geeigneten Sensoren über Analog-Digital Schnittstellen. Die Messwerte werden über einen in dem Kraftfahrzeug vorgesehenen Bus, an den der Mikrocontroller angeschlossen ist, z. B. einen LIN- oder CAN-Bus, an einen für die Auswertung vorgesehenen Computer übertragen.To determine the approximation function, various parameters of the actuator are measured at different operating conditions. For this purpose, the microcontroller of the actuator detects analog signals, such. As current and temperature with suitable sensors via analog-digital interfaces. The measured values are transmitted via a bus provided in the motor vehicle to which the microcontroller is connected, for. B. a LIN or CAN bus, transmitted to a computer provided for the evaluation.

Mit Hilfe der Messdaten wird ein Kennfeld erstellt, indem die Größen Strom, Temperatur und Moment enthalten sind.With the help of the measurement data, a map is created, which contains the quantities current, temperature and moment.

Zur Messung der internen Aktuatortemperatur kann der Temperatursensor der Motortreiberelektronik verwendet werden. Um zusätzliche Messwerte von der Umgebungstemperatur zu erhalten, kann ein weiterer Temperatursensor vorgesehen sein. Durch die Verwendung zweier Sensoren können eventuelle Abhängigkeiten zwischen der internen Aktuatortemperatur und der Umgebungstemperatur berücksichtigt werden.To measure the internal actuator temperature, the temperature sensor of the motor driver electronics can be used. In order to obtain additional measured values from the ambient temperature, a further temperature sensor can be provided. By using two sensors, any dependencies between the internal actuator temperature and the ambient temperature can be taken into account.

Darüber hinaus können die Messungen für mehrere Aktuatoren des gleichen Typs wiederholt werden.In addition, the measurements can be repeated for several actuators of the same type.

Für eine Vereinfachung der Berechnung der mathematischen Annäherungsfunktion werden die Messwerte sortiert. Dazu werden die Messwerte in eine Matrix von Drehmomentwerten eingeordnet, wobei die Zeilenwerte temperatur- und die Spaltenwerte stromabhängig sind.To simplify the calculation of the mathematical approximation function, the measured values are sorted. For this purpose, the measured values are classified into a matrix of torque values, the row values being temperature-dependent and the column values being current-dependent.

Die Stromachse wird durch die Variable x und die Temperaturachse durch die Variable y beschrieben. Für die Erstellung der Momentmatrix wird ein Gitter in die x-y-Ebene aller vorhandenen Datenpunkte einer Messung gelegt. Die 3 zeigt die senkrechte Ansicht auf die x-y-Ebene des Kennfeldes der aufgenommenen Messwerte. Die Gitterbreite Δx ist abhängig von der eingestellten Anzahl der Elemente xi Elemente sowie des minimalen bzw. maximalen gemessenen Stromwertes. Die Gitterhöhe Δy verhält sich analog zu der Breite Δx, jedoch in Abhängigkeit der Temperatur.The current axis is described by the variable x and the temperature axis by the variable y. To create the momentum matrix, a grid will be placed in the xy plane of all existing data points Measurement taken. The 3 shows the vertical view on the xy plane of the characteristic map of the recorded measured values. The grid width Δx is dependent on the set number of elements x i elements and the minimum or maximum measured current value. The grid height Δy behaves analogously to the width Δx, but as a function of the temperature.

Die Funktion durchsucht nun ausgehend von dem Element xi, yi alle vorhandenen Messpunkte und extrahiert diejenigen, die sich im Bereich xi+1 – xi-1, yi+1 – yi-1 befinden (siehe den in 3 umrandeten Bereich). Für jeden dieser Punkte Di wird nun der euklidische Abstand δi zum Punkt xi, yi wie folgt berechnet.

Figure DE102015114860A1_0002
The function now searches all existing measuring points starting from the element x i , y i and extracts those which are in the range x i + 1 -x i-1 , y i + 1 -y i-1 (see the in 3 outlined area). For each of these points D i the Euclidean distance δ i to the point x i , y i is calculated as follows.
Figure DE102015114860A1_0002

Der maximale Abstand δmax setzt sich wie folgt zusammen:

Figure DE102015114860A1_0003
The maximum distance δ max is composed as follows:
Figure DE102015114860A1_0003

Um den Wert

Figure DE102015114860A1_0004
des Drehmomentes an der Stelle xi, yi zu berechnen, wird eine Summe über die z-Komponenten zi aller Datenpunkte in dem vorgegebenen Bereich gebildet.To the value
Figure DE102015114860A1_0004
of the torque at the location x i , y i , a sum is formed over the z components z i of all the data points in the predetermined area.

Zuvor wird der Wert mit einem normierten Gewichtungsfaktor multipliziert. Je größer der Abstand δi eines Punktes ist, desto geringer geht der Wert in die Gesamtsumme ein. Der Gewichtungsfaktor gi für jeden Datenpunkt Di wird wie folgt berechnet:

Figure DE102015114860A1_0005
Previously, the value is multiplied by a normalized weighting factor. The larger the distance δ i of a point, the lower the value is in the total. The weighting factor g i for each data point D i is calculated as follows:
Figure DE102015114860A1_0005

Zuletzt wird die berechnete Gesamtsumme durch die Summe der einzelnen Gewichtungsfaktoren dividiert.Finally, the calculated total is divided by the sum of the individual weighting factors.

Die gesamte Formel zur Berechnung des Wertes

Figure DE102015114860A1_0006
an der Stelle xi, yi lautet:
Figure DE102015114860A1_0007
The entire formula for calculating the value
Figure DE102015114860A1_0006
at the point x i , y i is:
Figure DE102015114860A1_0007

Das beschriebene Verfahren wurde auf die Messergebnisse eines jeden Aktuators durchgeführt.The described method was performed on the measurement results of each actuator.

Aus den erzeugten Kennfeldern wird anschließend eine mathematische Funktion erstellt, die das aufgenommene Kennfeld abbildet. Als Ausgangskennfeld M für die Approximation dient der Mittelwert aller aufgezeichneten Kennfelder MM. Da die einzelnen Kennfelder in Matrizenform mit gleicher Zeilen- und Spaltenanzahl vorliegen, kann die Berechnung des Mittelwerts einfach durchgeführt werden.From the generated maps, a mathematical function is then created, which maps the recorded map. As output map M The mean value of all recorded maps M M is used for the approximation. Since the individual maps are in the form of matrices with the same number of rows and columns, the calculation of the mean value can be carried out easily.

Für den Mittelwert M aller Kennfelder gilt:

Figure DE102015114860A1_0008
For the mean M of all maps applies:
Figure DE102015114860A1_0008

Das Ausgangskennfeld M wird verwendet, um eine exemplarunabhängige Approximationsfunktion ermitteln zu können. Anstelle des arithmetischen Mittels kann zur Bestimmung des Ausgangskennfelds M auch der Median, das quadratische Mittel oder ein anders definierter Mittelwert berechnet werden.The output map M is used to determine a copy-independent approximation function. Instead of the arithmetic mean can be used to determine the output map M also the median, the root mean or a differently defined mean are calculated.

Für die Approximation des Ausgangskennfeldes wird folgendes Verfahren verwendet. Zunächst wird das Ausgangskennfeld in einzelne zweidimensionale Kennfelder zerlegt. Die Anzahl n der Zerlegungen kann je nach notwendiger Approximationsgenauigkeit verändert werden. Die Approximation der jeweiligen Kennfelder erfolgt durch das Least Square Verfahren und liefert folgende Gleichung: W(n) =bn,1·x2 + bn,2·x + bn,3 For the approximation of the output map, the following procedure is used. First, the output map is decomposed into individual two-dimensional maps. The number n of decompositions can be changed depending on the necessary approximation accuracy. The approximation of the respective maps is carried out by the Least Square method and provides the following equation: W (n) = b n, 1 * x 2 + b n, 2 * x + b n, 3

Zur Bestimmung der genäherten, minimierten Funktion erfolgt in der hier beschriebenen Umsetzung des Verfahrens der Summe der kleinsten Quadrate die Approximation in y-Richtung über den Verlauf der zuvor erzeugten Funktionen W(n). Dafür werden erneut Funktionen definiert, die von den Koeffizienten bn abhängig sind. Q1 = f(b1,1, b2,1 ... bn,1) = (c1,1·y2 + c1,2·y + c1,3) Q2 = f(b1,2, b2,2 ... bn,2) = (c2,1·y2 + c2,2·y + c2,3) Q3 = f(b1,3, b2,3 ... bn,3) = (c3,1·y2 + c3,2·y + c3,3) In order to determine the approximated, minimized function, in the implementation of the method of the least squares method described here, the approximation in the y direction is carried out over the course of the previously generated functions W (n). For this purpose, functions are again defined that depend on the coefficients b n . Q 1 = f (b 1,1 , b 2,1 ... b n, 1 ) = (c 1,1 · y 2 + c 1,2 · y + c 1,3 ) Q 2 = f (b 1,2 , b 2,2 ... b n, 2 ) = (c 2,1 · y 2 + c 2,2 · y + c 2,3 ) Q 3 = f (b 1,3 , b 2,3 ... b n, 3 ) = (c 3,1 · y 2 + c 3,2 · y + c 3,3 )

Das Verfahren der Summe der kleinsten Quadrate wird nun auf diese Funktionen angewendet, um die Parameter c1,1 bis c3,3 zu erhalten.The least squares method is now applied to these functions to obtain the parameters c 1,1 to c 3,3 .

Das Lösen dieser Gleichungen mit dem „least square” Verfahren liefert die Lösung für die Approximationsfunktion: M(I, T) = c1,1·I2·T2 + c1,2·I2·T + c1,3·I2 + c2,1·I·T2 + c2,2·I·T + c2,3·I + c3,1·T2 + c3,2·T + c3,3 Solving these equations with the least square method provides the solution for the approximation function: M (I, T) = c 1,1 · I 2 · T 2 + c 1,2 · I 2 · T + c 1,3 · I 2 + c 2,1 · I · T 2 + c 2,2 · I · T + c 2.3 · I + c 3.1 · T 2 + c 3.2 · T + c 3.3

Die nachfolgende Tabelle fasst den Ablauf des Verfahrens zur Erstellung der Approximationsfunktion zusammen:

Figure DE102015114860A1_0009
The following table summarizes the procedure of the method for creating the approximation function:
Figure DE102015114860A1_0009

Die vorliegende Erfindung ist nicht auf Merkmale der beschriebenen beispielhaften Ausgestaltungen beschränkt. Insbesondere können auch andere als die genannten Näherungsverfahren zur Bestimmung des Kennfeldes verwendet werden. Ebenso kann das Ausgangskennfeld M auf unterschiedlichste Arten bestimmt werden, wobei nicht notwendigerweise eine Mittelwertsbildung vorgesehen sein muss. Alternativ kann es vorgesehen sein, dass die Messwerte direkt in eine Table überführt werden, ohne dass eine Approximation vorgenommen wird. Der Vorteil einer Approximation ist jedoch, dass man auch Werte berechnen kann, die zwischen den Messpunkten oder sogar außerhalb des Wertebreichs der Messpunkte liegen. Außerdem kann durch die Approximation eine geschlossene Formel ermittelt werden, die auf modernen Controllerarchitekturen, beispielsweise einer ARM Cortex 32-Bit-Architektur der Firma ARM, problemlos implementiert werden kann.The present invention is not limited to features of the described exemplary embodiments. In particular, methods of determination other than the abovementioned approximation methods can also be used for determining the characteristic diagram. Likewise, the output map M be determined in a variety of ways, not necessarily averaging must be provided. Alternatively, it can be provided that the measured values are transferred directly to a table without an approximation being made. The advantage of an approximation, however, is that you can also calculate values that lie between the measuring points or even outside the range of values of the measuring points. In addition, the approximation can be used to determine a closed formula that can be easily implemented on modern controller architectures, for example an ARM Cortex 32-bit ARM architecture.

Claims (13)

Verfahren zum Betrieb eines Mikrocontrollers, der zur Steuerung eines Aktuators vorgesehen ist, wobei der Aktuator einen Elektromotor aufweist und wobei das Verfahren folgende Schritte umfasst: Festlegen eines Abschaltstromes und/oder einer Abschaltspannung unter Berücksichtigung mindestens eines Parameters, der eine durch den Aktuator bisher absolvierte Laufzeit oder einen durch eine Abtriebswelle des Aktuators bisher zurückgelegten Laufweg, und/oder eine Temperatur des Aktuators oder eine Temperatur in der Umgebung des Aktuators wiedergibt; und Abschalten des Aktuators, falls ein Eingangsstrom den Abschaltstrom erreicht oder überschreitet oder falls eine Eingangsspannung des Aktuators die Abschaltspannung erreicht oder überschreitet.A method of operating a microcontroller provided to control an actuator, the actuator comprising an electric motor, the method comprising the steps of: Determining a switch-off current and / or a switch-off voltage taking into account at least one parameter representing a runtime previously completed by the actuator or a travel path traveled so far by an output shaft of the actuator, and / or a temperature of the actuator or a temperature in the vicinity of the actuator; and Turning off the actuator if an input current reaches or exceeds the cutoff current or if an input voltage of the actuator reaches or exceeds the cutoff voltage. Verfahren nach Anspruch 1, wobei der mindestens eine Parameter die durch den Aktuator bisher absolvierte Laufzeit oder den durch die Abtriebswelle des Aktuators bisher zurückgelegten Laufweg seit Inbetriebnahme des Aktuators wiedergibt.The method of claim 1, wherein the at least one parameter reproduced by the actuator so far runtime or by the output shaft of the actuator hitherto traveled path since commissioning of the actuator. Verfahren nach Anspruch 1 oder 2, umfassend: Erfassen der Anzahl der Umdrehungen der Abtriebswelle des Aktuators, wobei der mindestens eine Parameter die Anzahl der bisher durch die Abtriebswelle des Aktuators absolvierten Umdrehungen wiedergibt.The method of claim 1 or 2, comprising: Detecting the number of revolutions of the output shaft of the actuator, wherein the at least one parameter represents the number of revolutions so far completed by the output shaft of the actuator. Verfahren nach Anspruch 3, umfassend: Bestimmen der Anzahl der Umdrehungen mittels eines Sensors, der an der Abtriebswelle des Aktuators angeordnet ist; und Kumulatives Erfassen und Speichern der Anzahl der Umdrehungen.The method of claim 3, comprising: Determining the number of revolutions by means of a sensor disposed on the output shaft of the actuator; and Cumulative recording and saving of the number of revolutions. Verfahren nach einem der vorhergehenden Ansprüche, wobei die Temperatur mittels eines Sensors bestimmt wird, der im oder am Aktuator angeordnet ist.Method according to one of the preceding claims, wherein the temperature is determined by means of a sensor which is arranged in or on the actuator. Verfahren nach einem der vorhergehenden Ansprüche, wobei die Festlegung des Abschaltstromes oder der Abschaltspannung dynamisch und/oder in Echtzeit erfolgt.Method according to one of the preceding claims, wherein the determination of the cut-off current or the cut-off voltage takes place dynamically and / or in real time. Verfahren nach einem der vorhergehenden Ansprüche, wobei der Abschaltstrom oder die Abschaltspannung mittels einer polynomialen Formel festgelegt wird.Method according to one of the preceding claims, wherein the cut-off current or the cut-off voltage is determined by means of a polynomial formula. Verfahren nach Anspruch 7, wobei die polynomiale Formel durch Approximation eines Kennfeldes bestimmt wird, das eine Vielzahl von Messwerten des mindestens einen Parameters enthält.The method of claim 7, wherein the polynomial formula is determined by approximating a map containing a plurality of measurements of the at least one parameter. Verfahren nach Anspruch 8, wobei das Kennfeld mindestens dreidimensional ist und eine Vielzahl von Messwerten von Parametern enthält, die eine durch den Aktuator bisher absolvierte Laufzeit oder einen durch eine Abtriebswelle des Aktuators bisher zurückgelegten Laufweg, eine Temperatur des Aktuators oder eine Temperatur in der Umgebung des Aktuators, einen Eingangsstrom oder eine Eingangsspannung des Aktuators, und ein durch den Aktuator erzeugtes Drehmoment oder eine durch den Aktuator erzeugte Abtriebskraft wiedergeben.The method of claim 8, wherein the map is at least three-dimensional and contains a plurality of measured values of parameters, the previously completed by the actuator runtime or by an output shaft of the actuator hitherto traveled path, a temperature of the actuator or a temperature in the environment Actuator, an input current or an input voltage of the actuator, and reproduce a torque generated by the actuator or an output force generated by the actuator. Verfahren nach Anspruch 7 oder 8, wobei die Vielzahl von Messwerten jeweils einen Mittelwert für mehrere Exemplare des Aktuators darstellen.The method of claim 7 or 8, wherein the plurality of measured values each represent an average value for a plurality of copies of the actuator. Verfahren nach einem der Ansprüche 1 bis 6, wobei der Abschaltstrom oder die Abschaltspannung mittels einer Referenztabelle bestimmt wird.Method according to one of claims 1 to 6, wherein the cut-off current or the cut-off voltage is determined by means of a reference table. Verfahren nach einem der vorhergehenden Ansprüche, wobei der Aktuator zur Betätigung eines Stellelements in einem Kraftfahrzeug verwendet wird.Method according to one of the preceding claims, wherein the actuator is used to actuate an actuating element in a motor vehicle. Datenverarbeitungsprogramm umfassend Instruktionen, die bei Ausführung durch ein Datenverarbeitungssystem eine Durchführung des Verfahrens nach einem der vorhergehenden Ansprüche veranlassen.Data processing program comprising instructions which, when executed by a data processing system, cause execution of the method according to any one of the preceding claims.
DE102015114860.9A 2015-09-04 2015-09-04 Method for operating a microcontroller Pending DE102015114860A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE102015114860.9A DE102015114860A1 (en) 2015-09-04 2015-09-04 Method for operating a microcontroller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE102015114860.9A DE102015114860A1 (en) 2015-09-04 2015-09-04 Method for operating a microcontroller

Publications (1)

Publication Number Publication Date
DE102015114860A1 true DE102015114860A1 (en) 2017-03-09

Family

ID=58055234

Family Applications (1)

Application Number Title Priority Date Filing Date
DE102015114860.9A Pending DE102015114860A1 (en) 2015-09-04 2015-09-04 Method for operating a microcontroller

Country Status (1)

Country Link
DE (1) DE102015114860A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102013004051A1 (en) * 2012-03-08 2013-09-12 Hitachi Automotive Systems, Ltd. Abnormality diagnostic device for an electric pump

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102013004051A1 (en) * 2012-03-08 2013-09-12 Hitachi Automotive Systems, Ltd. Abnormality diagnostic device for an electric pump

Similar Documents

Publication Publication Date Title
DE102017108692A1 (en) Control of electric power steering using system state predictions
DE102005007366B4 (en) Apparatus and method for processing sensor output signals
DE102019104169B4 (en) QUADRANT-BASED FRICTION COMPENSATION FOR TIRE LOAD ESTIMATION IN STEERING SYSTEMS
EP3529892A1 (en) Method for the temperature derating of electrical machines
DE102020215124A1 (en) Method for operating an electrical machine
DE102018127244A1 (en) Power management in drives with synchronous permanent magnet motors
DE102014212964A1 (en) Method of estimating current sensor induced torque error for IPMSM based electric drive system
DE102010038351A1 (en) Method and apparatus for operating a hybrid propulsion system
DE102020130029A1 (en) BATTERY CURRENT LIMITATION OF PERMANENT MAGNET SYNCHRONOUS MOTOR DRIVES USING OPERATING CONDITION MONITORING
DE112018006243T5 (en) Use of an auxiliary motor of a power steering system to generate test cycles according to a speed determination cycle
DE112018001999T5 (en) Luftstömungsmessvorrichtung
DE112020005865T5 (en) PROCESSING EQUIPMENT AND METHOD FOR DETERMINING A MODEL FOR CALCULATION OF WINDING TEMPERATURES
DE102011103797B4 (en) Method for determining a temperature
DE102012021020A1 (en) Method and device for determining an operating temperature of an electric motor
DE69115473T2 (en) CRUISE CONTROL SYSTEM
DE102016213505A1 (en) Control device and this electric power steering device
DE102019100035B4 (en) UNIVERSAL CONTROLLER WITH WIDE BANDWIDTH FOR AN ELECTRIC STEERING SYSTEM
DE102015118129A1 (en) Method for determining the power consumption of a programmable logic module
DE102015114860A1 (en) Method for operating a microcontroller
DE112013006597T5 (en) Vehicle control device
DE102021131083A1 (en) DIAGNOSIS OF AN INPUT POWER CONDITION FOR AN ELECTRIC POWER STEERING
DE112020006299T5 (en) VEHICLE CONTROL DEVICE AND VEHICLE
DE102019120493A1 (en) Method for providing a measuring function for a temperature measuring device and using a measuring function
DE102021105582A1 (en) MOTOR CONTROLLER FOR ELECTRIC BLOWERS
WO2021058302A1 (en) Method and device for determining an item of temperature information describing a temperature of a resistance temperature detector, inverter, vehicle and computer program

Legal Events

Date Code Title Description
R081 Change of applicant/patentee

Owner name: MINEBEA MITSUMI INC., JP

Free format text: FORMER OWNER: MINEBEA CO., LTD., NAGANO-KEN, JP

R082 Change of representative

Representative=s name: MAUCHER JENKINS, DE

Representative=s name: MAUCHER JENKINS PATENTANWAELTE & RECHTSANWAELT, DE

R079 Amendment of ipc main class

Free format text: PREVIOUS MAIN CLASS: H02P0029020000

Ipc: H02H0007085000

R163 Identified publications notified
R081 Change of applicant/patentee

Owner name: MINEBEA MITSUMI INC., JP

Free format text: FORMER OWNER: MINEBEA CO., LTD, KITASAKU-GUN, NAGANO-KEN, JP

R082 Change of representative

Representative=s name: MAUCHER JENKINS, DE

Representative=s name: MAUCHER JENKINS PATENTANWAELTE & RECHTSANWAELT, DE

R012 Request for examination validly filed