DE10227523A1 - Method for determining a speed and device - Google Patents

Method for determining a speed and device

Info

Publication number
DE10227523A1
DE10227523A1 DE10227523A DE10227523A DE10227523A1 DE 10227523 A1 DE10227523 A1 DE 10227523A1 DE 10227523 A DE10227523 A DE 10227523A DE 10227523 A DE10227523 A DE 10227523A DE 10227523 A1 DE10227523 A1 DE 10227523A1
Authority
DE
Germany
Prior art keywords
speed
counter
position signal
time
signal
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.)
Withdrawn
Application number
DE10227523A
Other languages
German (de)
Inventor
Joerg Sutter
Heiko Frey
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.)
Robert Bosch GmbH
Original Assignee
Robert Bosch GmbH
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 Robert Bosch GmbH filed Critical Robert Bosch GmbH
Priority to DE10227523A priority Critical patent/DE10227523A1/en
Priority to EP03735276A priority patent/EP1512019A1/en
Priority to PCT/DE2003/001439 priority patent/WO2003100443A1/en
Priority to US10/502,614 priority patent/US7058537B2/en
Priority to JP2004507849A priority patent/JP2005526982A/en
Publication of DE10227523A1 publication Critical patent/DE10227523A1/en
Withdrawn legal-status Critical Current

Links

Classifications

    • 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
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/14Electronic commutators
    • H02P6/16Circuit arrangements for detecting position
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P3/00Measuring linear or angular speed; Measuring differences of linear or angular speeds
    • G01P3/42Devices characterised by the use of electric or magnetic means
    • G01P3/44Devices characterised by the use of electric or magnetic means for measuring angular speed
    • G01P3/48Devices characterised by the use of electric or magnetic means for measuring angular speed by measuring frequency of generated current or voltage
    • G01P3/481Devices characterised by the use of electric or magnetic means for measuring angular speed by measuring frequency of generated current or voltage of pulse signals
    • G01P3/489Digital circuits therefor

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

Es wird eine Vorrichtung und ein Verfahren beschrieben, mit dem eine genauere Angabe einer Drehzahl auch bei Ausbleiben eines Positionssignals möglich ist. Dazu wird ein Zählerstand eines Zählers ausgewertet, der bei jedem Positionssignal auf Null gesetzt wird. Bleibt das erwartete Positionssignal zu lange aus, wird eine Drehzahl aufgrund des Zählerstandes des Zählers geschätzt. Auf diese Weise kann schnell eine Drehzahländerung erfasst und ausgeglichen werden.A device and a method are described with which a more precise specification of a rotational speed is possible even in the absence of a position signal. For this purpose, a counter reading of a counter is evaluated, which is set to zero with each position signal. If the expected position signal does not appear for too long, a speed is estimated on the basis of the counter reading of the counter. In this way, a change in speed can be detected and compensated for quickly.

Description

Die Erfindung betrifft ein Verfahren zum Ermitteln einer Drehzahl gemäß dem Oberbegriff des Patentanspruchs 1 und eine Vorrichtung zum Ermitteln einer Drehzahl gemäß dem Oberbegriff des Patentanspruchs 5. The invention relates to a method for determining a Speed according to the preamble of claim 1 and a Device for determining a speed according to the Preamble of claim 5.

In vielen Bereichen der Technik ist es notwendig, eine genaue Drehzahl oder eine genaue Drehposition eines Motors zu kennen. Beispielsweise ist es bei Gleichstrommotoren bekannt, die Drehzahl zu erfassen. Dabei bedient man sich verschiedener Verfahren. Eine kostengünstige Variante besteht darin, die Drehzahl mit Hilfe von Hall-Sensoren zu berechnen, wobei ein Hall-Sensor die Lage eines Rotors erfasst und diese an ein Steuergerät weitergibt. Die Hall-Sensoren reagieren dabei auf das Magnetfeld des rotierenden Rotors, der aus einem magnetischen Material besteht. Zur Berechnung der Drehzahl wird die Zeit zwischen zwei Flanken eines Hall-Signals gemessen und daraus die Drehzahl berechnet. In many areas of technology it is necessary to have an accurate Speed or an exact rotational position of a motor too know. For example, in DC motors it is known to record the speed. You use it different procedures. An inexpensive variant is calculate the speed with the help of Hall sensors, whereby a Hall sensor detects the position of a rotor and turns it on passes on a control unit. The Hall sensors react to the magnetic field of the rotating rotor, which consists of a magnetic material. To calculate the speed measured the time between two edges of a Hall signal and calculated the speed from it.

Die Aufgabe der Erfindung besteht darin, ein schnelles Verfahren zum Ermitteln einer Drehzahl und eine Vorrichtung zur Durchführung des Verfahrens bereitzustellen. The object of the invention is a quick Method for determining a speed and a device for To provide implementation of the procedure.

Die Aufgabe der Erfindung wird durch das Verfahren gemäß den Merkmalen des Patentanspruchs 1 und durch die Vorrichtung gemäß den Merkmalen des Patentanspruchs 5 gelöst. The object of the invention is achieved by the method according to the Features of claim 1 and by the device solved according to the features of claim 5.

Ein Vorteil des erfindungsgemäßen Verfahrens besteht darin, dass eine Drehzahlschätzung vorgenommen wird, wenn ein zu empfangendes Signal eines Positionssensors sich verzögert. Das Eintreffen eines neuen Positionssignals verzögert sich nämlich, wenn sich die Drehzahl verringert hat. Vorzugsweise wird dazu die vergangene Zeit seit dem letzten Positionssignal und dem Eintreffen des nächsten Positionssignals gemessen und mit der zuletzt gemessenen Drehzahl verglichen. Ist die seit dem letzten Positionssignal vergangene Zeit größer als aufgrund der Drehzahl zu erwarten ist, wird die Drehzahl aufgrund der seit dem letzten Positionssignal verstrichenen Zeit ermittelt. An advantage of the method according to the invention is that that a speed estimate is made when a too received signal from a position sensor is delayed. The arrival of a new position signal is delayed namely when the speed has decreased. Preferably the past time since the last Position signal and the arrival of the next Position signal measured and at the last measured speed compared. Is the last one since the last position signal Time is greater than expected due to the speed the speed due to the since the last position signal elapsed time determined.

Auf diese Weise wird eine genaue und schnelle Ermittlung der Drehzahl ermöglicht. In this way, an accurate and quick determination of the Speed enabled.

In einer bevorzugten Ausführungsform wird als verstrichene Zeit, ab der eine Drehzahlschätzung durchgeführt wird, die Differenz zweier vorhergehender Positionssignale verwendet. Durch die Verwendung der Positionssignale ist eine aufwendige Umrechnung nicht erforderlich. Somit ist das Verfahren schnell durchzuführen und erfordert nur eine geringe Rechenleistung. In a preferred embodiment, the elapsed Time from which a speed estimate is carried out, the Difference between two previous position signals used. Due to the use of the position signals is a complex No conversion required. So that's the procedure quick to perform and requires little Computing power.

In einer bevorzugten Ausführungsform wird in festgelegten Zeitabständen die Drehzahl berechnet. Somit wird laufend eine aktuelle Drehzahlinformation geliefert. In a preferred embodiment, is defined in Time intervals calculated the speed. Thus, one is constantly current speed information supplied.

Vorzugsweise wird zur Berechnung der verstrichenen Zeit ein Zähler verwendet, der in festgelegten Zeitabständen einen Zählerwert um einen festgelegten Wert erhöht. Somit ist der Zählstand proportional zu der seit dem letzten Positionssignal verglichenen Zeit. Durch die Verwendung eines Zählers ist eine einfache und kostengünstige Ausführung des erfindungsgemäßen Verfahrens möglich. It is preferable to use to calculate the elapsed time Counter is used, the one at fixed intervals Counter value increased by a specified value. Thus the Count proportional to that since the last Position signal compared time. By using a counter a simple and inexpensive version of the method according to the invention possible.

In einer bevorzugten Ausführungsform wird in die Drehzahlregelung des elektrischen Motors eingegriffen, wenn die Zeit seit dem letzten Positionssignal länger ist als sie gemäß der zuletzt gemessenen Drehzahl sein dürfte. Dann wird die Drehzahl auf Grund der seit dem letzten Positionssignal verstrichenen Zeit geschätzt. Auf diese Weise wird eine schnelle und präzise Regelung des elektrischen Motors erhalten. Insbesondere bietet diese Vorgehensweise bei Gleichstrommotoren mit niedrigen Drehzahlen ein sicheres Verfahren, um eine konstante Drehzahlregelung zu erhalten. Insbesondere bei Gleichstrommotoren, die mit den niedrigen Drehzahlen laufen, können Drehmomentschwankungen zu einem unsauberen Motorlauf führen und der Motor kann zu Schwingungen angeregt werden. Ein Aufschwingen des Motors kann beispielsweise sogar bis zum Stillstand des Motors führen. Aufgrund des erfindungsgemäßen Verfahrens werden diese nachteiligen Effekte sicher vermieden. In a preferred embodiment, the Speed control of the electric motor intervened when the time since the last position signal is longer than according to the last measured speed should be. Then the Speed based on the position signal since the last elapsed time estimated. In this way, one fast and precise control of the electric motor receive. In particular, this approach offers DC motors with low speeds a safe one Procedure to get constant speed control. Especially for DC motors with the low Speeds, torque fluctuations can lead to a unclean engine run and the engine can Vibrations are excited. A swinging up of the engine can even stop the engine, for example to lead. Because of the method according to the invention safely avoided these adverse effects.

Die Erfindung wird im Folgenden anhand der Figuren näher erläutert. Es zeigen The invention is explained in more detail below with reference to the figures explained. Show it

Fig. 1 eine erfindungsgemäße Vorrichtung mit einem Motor, Fig. 1 shows a device according to the invention with an engine,

Fig. 2 ein Diagramm, das Hall-Signale in Abhängigkeit von den drei Phasenströmen zeigt und Fig. 2 is a diagram showing Hall signals as a function of the three phase currents and

Fig. 3 eine schematische Darstellung des erfindungsgemäßen Verfahrens mit Hilfe eines Blockdiagramms. Fig. 3 is a schematic representation of the method according to the invention using a block diagram.

Die Erfindung wird im Folgenden anhand eines Gleichstrommotors 1 erläutert, ist aber auf jede Art von Motor anwendbar. Vorzugsweise wird der Gleichstrommotor in Form eines Pumpenmotors für eine elektrohydraulische Servolenkung in einem Kraftfahrzeug eingesetzt. Mit Hilfe des Motors 1 kann jedoch jede andere Art von Vorrichtung, insbesondere in einem Kraftfahrzeug, angesteuert werden. The invention is explained below with reference to a DC motor 1 , but is applicable to any type of motor. The DC motor is preferably used in the form of a pump motor for electrohydraulic power steering in a motor vehicle. With the help of the motor 1 , however, any other type of device, in particular in a motor vehicle, can be controlled.

Fig. 1 zeigt schematisch einen kommutierten Motor 1, der mit Gleichstrom betrieben wird. Der Motor 1 weist einen drehbar gelagerten Rotor 10 auf, der in der dargestellten Ausführungsform drei Magnetpole 30, 31, 32 aufweist, die im Abstand von 120° Winkel beabstandet sind. Um den Rotor 10 ist ein Stator 11 angeordnet, der in Form von Magnetspulen 13, 14, 15 ausgebildet ist. Der Stator 11 steht über eine Versorgungsleitung mit einer Endstufe 12 in Verbindung. Die Endstufe 12 ist zur Ansteuerung der ersten, der zweiten und der dritten Magnetspule 13, 14, 15 mit einer Gleichspannungsquelle 16 verbunden. Die Endstufe 12 ist über eine Steuerleitung mit einem Steuergerät 5 verbunden. Weiterhin sind am Motor 1 ein erster, ein zweiter und ein dritter Hall-Sensor 2, 3, 4 angeordnet. Der erste, der zweite und der dritte Hall-Sensor 2, 3, 4 sind um den Motor 1 in äquidistanten Winkelabständen angeordnet. Die Hall-Sensoren 2, 3, 4 dienen zur Positionserfassung des Rotors 10. Bewegt sich ein Magnetpol 30, 31, 32 des Rotors 10 an einem Hall-Sensor 2, 3, 4 vorbei, so wird aufgrund des Magnetfeldes des Rotors 10 im Hall-Sensor eine Hall-Spannung erzeugt. Die Hall-Spannung wird über eine Signalleitung 7 an das Steuergerät 5 weitergeleitet. Somit erkennt das Steuergerät 5, da es die Winkellage des ersten, zweiten und dritten Hall-Sensors 2, 3, 4 in Bezug auf eine Drehung des Rotors 10 kennt, die örtliche Lage des Rotors 10. Das Steuergerät 5 steht zudem über eine Resetleitung 8 und eine zweite Signalleitung 9 mit einem Zähler 6 in Verbindung. Fig. 1 shows schematically a commutated motor 1 which is operated with direct current. The motor 1 has a rotatably mounted rotor 10 , which in the embodiment shown has three magnetic poles 30 , 31 , 32 , which are spaced apart by 120 °. A stator 11 is arranged around the rotor 10 and is designed in the form of magnetic coils 13 , 14 , 15 . The stator 11 is connected to an output stage 12 via a supply line. The output stage 12 is connected to a DC voltage source 16 for controlling the first, the second and the third magnetic coils 13 , 14 , 15 . The output stage 12 is connected to a control unit 5 via a control line. Furthermore, a first, a second and a third Hall sensor 2 , 3 , 4 are arranged on the motor 1 . The first, the second and the third Hall sensors 2 , 3 , 4 are arranged around the motor 1 at equidistant angular intervals. The Hall sensors 2 , 3 , 4 serve to detect the position of the rotor 10 . If a magnetic pole 30 , 31 , 32 of the rotor 10 moves past a Hall sensor 2 , 3 , 4 , a Hall voltage is generated in the Hall sensor due to the magnetic field of the rotor 10 . The Hall voltage is forwarded to the control unit 5 via a signal line 7 . Thus, the control unit 5 detects, since it knows the angular position of the first, second and third Hall sensor 2, 3, 4 with respect to a rotation of the rotor 10, the local position of the rotor 10th The control device 5 is also connected to a counter 6 via a reset line 8 and a second signal line 9 .

In Abhängigkeit von der Lage des Rotors 10 steuert das Steuergerät 5 die Bestromung der Magnetspulen 13, 14, 15 des Stators 11. Durch die Wechselwirkung zwischen den Magnetfeldern, die von den Magnetspulen erzeugt werden, und den Magnetfeldern des Rotors 10 wird der Rotor 10 zu einer Drehung mit einer gewünschten Drehzahl angeregt. Depending on the position of the rotor 10 , the control device 5 controls the energization of the magnet coils 13 , 14 , 15 of the stator 11 . The interaction between the magnetic fields generated by the magnetic coils and the magnetic fields of the rotor 10 excites the rotor 10 to rotate at a desired speed.

Fig. 2 zeigt ein Diagramm, in dem über Spannungsverläufe der ersten, der zweiten und der dritten Magnetspule 13, 14, 15 die Hall-Signale der Hall-Sensoren 2, 3, 4 aufgetragen sind. In dem Diagramm ist mit UI1 ein Spannungsverlauf der ersten Spule 13, mit UI2 der Spannungsverlauf der zweiten Spule 14 und mit UI3 der Spannungsverlauf der dritten Spule 15 dargestellt. Die Spannungsverläufe sind in der Fig. 2 wegen einer besseren Anschaulichkeit sinusförmig eingezeichnet. In Abhängigkeit von dem gewünschten Magnetfeld werden die erste, zweite oder dritte Magnetspule 13, 14, 15 über jeweils zwei Schalttransistoren T1, T2, T3, T4, T5, T6 mit einem Strom mit positiver oder negativer Polung versorgt. In dem dargestellten Ausführungsbeispiel ist zur vereinfachten Darstellung eine Blockkommutierung vorgesehen, bei der die Magnetspulen 13, 14, 15 mit einem blockförmigen Strom (schraffierte Felder in Fig. 2) angesteuert werden. Es kann jedoch auch jede andere Art von Ansteuerverfahren wie z. B. eine Sinuskommutierung verwendet werden. Bei einer Sinuskommutierung werden die Magnetspulen 13, 14, 15 mit einem getakteten Stromsignal versorgt, das im Wesentlichen sinusförmig ausgebildet ist. Fig. 2 shows a diagram in the above voltage waveforms of the first, the second and the third solenoid coil 13, 14, 15, the Hall signals of the Hall sensors 2, 3, 4 are applied. The diagram shows the voltage profile of the first coil 13 with UI1, the voltage profile of the second coil 14 with UI2 and the voltage profile of the third coil 15 with UI3. The voltage profiles are drawn in a sinusoidal shape in FIG. 2 for better clarity. Depending on the desired magnetic field, the first, second or third magnet coils 13 , 14 , 15 are supplied with a current with positive or negative polarity via two switching transistors T1, T2, T3, T4, T5, T6. In the exemplary embodiment shown, a block commutation is provided for simplified illustration, in which the solenoids 13 , 14 , 15 are controlled with a block-shaped current (hatched fields in FIG. 2). However, it can also be any other type of control method such. B. a sinus commutation can be used. In the case of sinus commutation, the magnet coils 13 , 14 , 15 are supplied with a clocked current signal which is essentially sinusoidal.

Zeitlich parallel zu der Stromversorgung der Magnetspulen 13, 14, 15 ist in dem Diagramm der Fig. 2 ein erstes Hall-Signal HS1 des ersten Hall-Sensors 2, ein zweites Hall-Signal HS2 des zweiten Hall-Sensors 3 und ein drittes Hall-Signal HS3 des dritten Hall-Sensors 4 dargestellt, die die Hall-Sensoren 2, 3, 4 an das Steuergerät 5 melden. Die Hall-Signale HS1, H52, HS3 wechseln zwischen einem Low-Pegel und einem High-Pegel in Form eines rechteckförmigen Signales. Ein Low- oder High-Pegel wird von einem Hall-Sensor 2, 3, 4 erfasst, wenn ein Nord- oder Südpol des Rotors 10 auf den Hall-Sensor 2, 3, 4 einwirkt. Durch eine das Hall-Signal auswertende Schaltung kann die Zuordnung eines High- oder Low-Pegels zum Nord oder Südpol festgelegt werden. Beispielsweise springt das Hall- Signal des ersten Hall-Sensors 1 zum Zeitpunkt t1 von einem Low-Pegel auf einen High-Pegel und zum Zeitpunkt t4 von einem High-Pegel auf einen Low-Pegel. Die Zeitpunkte sind in Abhängigkeit von einem elektrischen Winkel aufgetragen, wobei 1080° elektrischer Winkel eine gesamte Umdrehung des Rotors 10 darstellen. A first Hall signal HS1 of the first Hall sensor 2 , a second Hall signal HS2 of the second Hall sensor 3 and a third Hall signal are shown in the diagram in FIG. 2 in parallel with the current supply to the magnetic coils 13 , 14 , 15 . Signal HS3 of the third Hall sensor 4 is shown, which the Hall sensors 2 , 3 , 4 report to the control unit 5 . The Hall signals HS1, H52, HS3 alternate between a low level and a high level in the form of a rectangular signal. A low or high level is detected by a Hall sensor 2 , 3 , 4 when a north or south pole of the rotor 10 acts on the Hall sensor 2 , 3 , 4 . The assignment of a high or low level to the north or south pole can be determined by a circuit evaluating the Hall signal. For example, the Hall signal of the first Hall sensor 1 jumps from a low level to a high level at time t1 and from a high level to a low level at time t4. The times are plotted as a function of an electrical angle, with an electrical angle of 1080 ° representing an entire revolution of the rotor 10 .

Üblicherweise berechnet das Steuergerät 5 mit Hilfe der Hall- Signale HS1, HS2, HS3 die Drehzahl des Rotors 10. Dabei verwendet das Steuergerät 5 beispielsweise die steigenden oder fallenden Flanken eines Hall-Signals HS1, HS2, H53. Das Steuergerät weiß, dass drei der Hall-Sensoren 2, 3, 4 um den Motor 1 angeordnet sind. Zudem werden pro Umdrehung des Rotors 10 drei Hall-Signale in jedem Hall-Sensor 2, 3, 4 erzeugt. Damit haben die steigenden Flanken eines Hall-Signals eines Hall-Sensors einen zeitlichen Abstand von 120° Winkel, wobei 360° einer Umdrehung des Rotors 10 entsprechen. The control unit 5 usually calculates the speed of the rotor 10 with the aid of the Hall signals HS1, HS2, HS3. The control unit 5 uses, for example, the rising or falling edges of a Hall signal HS1, HS2, H53. The control unit knows that three of the Hall sensors 2 , 3 , 4 are arranged around the engine 1 . In addition, three Hall signals are generated in each Hall sensor 2 , 3 , 4 per revolution of the rotor 10 . The rising flanks of a Hall signal of a Hall sensor thus have a time interval of 120 °, 360 ° corresponding to one revolution of the rotor 10 .

Dreht sich nun der Rotor 10 durch eine entsprechende Bestromung der Magnetspulen 13, 14, 15, so bewegt sich zum Zeitpunkt t1 ein Magnetpol des Rotors am ersten Hall-Sensor 2 vorbei. Dabei wird im ersten Hall-Sensor 2 eine steigende Flanke eines Hall-Signals zum Zeitpunkt t1 erzeugt. Dieses wird an das Steuergerät 5 weitergemeldet. Zum Zeitpunkt t2 erhält das Steuergerät 5 eine steigende Flanke vom zweiten Hall-Sensor 3 gemeldet. Zum Zeitpunkt t3 erhält das Steuergerät 5 eine steigende Flanke vom dritten Hall-Sensor 4 gemeldet. Zum Zeitpunkt t7 wird erneut eine steigende Flanke im ersten Hall-Sensor 2 und zum Zeitpunkt t8 wird erneut eine steigende Flanke im zweiten Hall-Sensor 3 erzeugt. If the rotor 10 now rotates through a corresponding energization of the magnet coils 13 , 14 , 15 , a magnetic pole of the rotor moves past the first Hall sensor 2 at the time t1. A rising edge of a Hall signal is generated in the first Hall sensor 2 at the time t1. This is reported to the control unit 5 . At time t2, control unit 5 receives a rising edge from second Hall sensor 3 . At time t3, control unit 5 receives a rising edge from third Hall sensor 4 . At time t7, a rising edge is again generated in the first Hall sensor 2 and at time t8, a rising edge is generated again in the second Hall sensor 3 .

Fig. 3 zeigt eine schematische Darstellung zur Erläuterung des erfindungsgemäßen Verfahrens. Die Hall-Sensoren 2, 3, 4 geben in der beschriebenen Art und Weise steigende und fallende Flanken eines Hall-Signals HS1, HS2, HS3 an das Steuergerät 5. Das Steuergerät 5 misst mit Hilfe eines internen Timers 33 die Zeit, die nach Erfassen einer steigenden oder fallenden Flanke eines Hall-Signals eines Hall-Sensors 2, 3, 4 bis zur nächsten steigenden oder fallenden Flanke des gleichen Hall-Sensors 2, 3, 4 vergeht. Dabei liest das Steuergerät 5 über eine Capture-Funktion den Zählerstand des internen Timers 33 jeweils bei einer steigenden oder fallenden Flanke des gleichen Hall-Signals aus und berechnet aus der Differenz die Drehzahl des Rotors. Fig. 3 shows a schematic illustration for explaining the inventive method. The Hall sensors 2 , 3 , 4 give rising and falling edges of a Hall signal HS1, HS2, HS3 to the control unit 5 in the manner described. The control device 5 uses an internal timer 33 to measure the time which, after detecting a rising or falling edge of a Hall signal from a Hall sensor 2 , 3 , 4, until the next rising or falling edge of the same Hall sensor 2 , 3 , 4 passes. The control unit 5 reads out the count of the internal timer 33 on a rising or falling edge of the same Hall signal using a capture function and calculates the speed of the rotor from the difference.

Beträgt der Zählstand des internen Timers 3 beispielsweise einen Differenzwert von 8000 zwischen zwei steigenden Flanken des gleichen Hall-Signals, wobei der interne Zähler 33 alle 2 µs den Zählstand erhöht, so ist zwischen zwei steigenden Flanken des ersten Hall-Signals HS1 eine Zeit von 16.000 µs vergangen. Während einer Umdrehung des Rotors 10 werden drei steigende flanken in einem Hall-Sensor erzeugt. Die gemessene Zeit stellt ein Drittel einer Umdrehung dar. Das Steuergerät berechnet nach folgender Formel die Drehzahl U:

U = 1/(3.0,016 s) = 20,833 = 1/s = 1250 U/min.
If the count of the internal timer 3 is, for example, a difference of 8,000 between two rising edges of the same Hall signal, the internal counter 33 increasing the count every 2 microseconds, then there is a time of 16,000 between two rising edges of the first Hall signal HS1 µs passed. During one revolution of the rotor 10 , three rising flanks are generated in a Hall sensor. The measured time represents one third of a revolution. The control unit calculates the speed U using the following formula:

U = 1 / (3.0.016 s) = 20.833 = 1 / s = 1250 U / min.

Anstelle der Drehzahlberechnung mit den steigenden Flanken können auch die fallenden Flanken der Hall-Signale HS1, H52, HS3 verwendet werden. Im dargestellten Ausführungsbeispiel erhält das Steuergerät 5 zum Zeitpunkt t4 eine fallende Flanke des ersten Hall-Signals HS1, zum Zeitpunkt t5 eine fallende Flanke des zweiten Hall-Signals HS2 und zum Zeitpunkt t6 eine fallende Flanke des dritten Hall-Signals HS3. In entsprechender Weise berechnet das Steuergerät 5 nach dem Verfahren, das für die steigenden Flanken erläutert wurde, die Drehzahl des Motors 1. Instead of the speed calculation with the rising edges, the falling edges of the Hall signals HS1, H52, HS3 can also be used. In the exemplary embodiment shown, control unit 5 receives a falling edge of first Hall signal HS1 at time t4, a falling edge of second Hall signal HS2 at time t5 and a falling edge of third Hall signal HS3 at time t6. Correspondingly, the control unit 5 calculates the speed of the engine 1 according to the method that was explained for the rising edges.

Parallel dazu läuft der Timer 6, der immer bei Eintreffen eines Hall-Signals zurückgesetzt wird. Das Steuergerät 5 startet beim Empfang der steigenden Flanke des ersten Hall-Signals HS1 zum Zeitpunkt t1 den Timer 6. Der Timer 6 zählt in festgelegten Zeitstufen einen internen Zähler hoch. Erhält nun das Steuergerät 5 zum Zeitpunkt t2 die steigende Flanke des zweiten Hall-Signals HS2, so stoppt das Steuergerät 5 den Timer 6, liest den Zählstand aus, stellt den Zählerstand auf den Wert Null und startet den Timer 6 erneut. Mit dem Timer 6 wird unabhängig von der Capture-Funktion und dem internen Timer 33 die verstrichene Zeit seit der letzten Flanke eines Hall-Signals erfasst. Da die Hall-Signale zeitversetzt eintreten, ist der Zählerstand des Timers 6 um den Faktor sechs kleiner als die Zeit zwischen zwei steigenden oder fallenden Flanken eines Hall-Signals. The timer 6 runs in parallel and is always reset when a Hall signal arrives. The control unit 5 starts the timer 6 on receipt of the rising edge of the first Hall signal HS1 at the time t1. The timer 6 counts up an internal counter in defined time stages. If the control device 5 now receives the rising edge of the second Hall signal HS2 at the time t2, the control device 5 stops the timer 6 , reads out the count, sets the count to the value zero and starts the timer 6 again. With the timer 6 , the elapsed time since the last edge of a Hall signal is recorded independently of the capture function and the internal timer 33 . Since the Hall signals occur with a time delay, the counter reading of the timer 6 is a factor of six less than the time between two rising or falling edges of a Hall signal.

Ist keine neue fallende oder steigende Flanke eines Hall-Signals eingetroffen, wird vom Steuergerät 5 die zuletzt berechnete Drehzahl mit der verstrichenen Zeit seit dem Eintreffen der letzten steigenden oder fallenden Flanke verglichen. Ist die verstrichene Zeit länger als sie aufgrund der zuletzt berechneten Drehzahl sein dürfte, wird eine Drehzahlberechnung aufgrund des Zählerstandes des Zählers 6 vorgenommen. Dieser Schätzvorgang wird wiederholt, bis eine steigende oder fallende Flanke eines Hall-Signals erfasst wird oder ein Timeout-Signal für ein wahrscheinliches Blockieren des Motors eintrifft. If no new falling or rising edge of a Hall signal has arrived, the control unit 5 compares the last calculated speed with the elapsed time since the arrival of the last rising or falling edge. If the elapsed time is longer than it should be due to the last calculated speed, a speed calculation is carried out based on the counter reading of the counter 6 . This estimation process is repeated until a rising or falling edge of a Hall signal is detected or a timeout signal arrives for a likely blocking of the motor.

Fig. 3 zeigt die Funktionsweise des erfindungsgemäßen Verfahrens, bei dem das Steuergerät 5 bei jeder neuen Flanke eines ersten, zweiten oder dritten Hall-Signals ein Reset-Signal über die Reset-Leitung 8 an den Zähler 6 abgibt. Fortlaufend vergleicht das Steuergerät 5, ob der Zählerstand des Zählers 6 größer ist als der Zeitabstand der letzten zwei steigenden oder fallenden Flanken eines Hall-Signals. Fig. 3 shows the operation of the method according to the invention, wherein the control unit outputs a reset signal 5 with each new edge of a first, second or third Hall signal over the reset line 8 to the counter 6. The control unit 5 continuously compares whether the counter reading of the counter 6 is greater than the time interval between the last two rising or falling edges of a Hall signal.

Ergibt der Vergleich, dass der Zählerstand größer ist als der Zeitabstand, dann wird die Drehzahl aus dem Zählerstand des Timers 6 berechnet. Der Timer 6 weist vorzugsweise einen größeren Zeittakt als der interne Zähler 33 auf. Vorzugsweise liegt der Zeittakt im Bereich von 1 ms, nach der der Timer 6 seinen Zählerstand erhöht. If the comparison shows that the counter reading is greater than the time interval, then the speed is calculated from the counter reading of the timer 6 . The timer 6 preferably has a larger clock cycle than the internal counter 33 . The timing is preferably in the range of 1 ms after which the timer 6 increases its counter reading.

Ergibt der Vergleich, dass der Zählerstand größer ist als der Zeitabstand der letzten zwei steigenden oder fallenden Flanken der Hall-Signale, so wird folgendes Verfahren durchgeführt. If the comparison shows that the counter reading is greater than that Interval of the last two rising or falling Flanking the Hall signals, then the following procedure carried out.

Überschreitet der Zählerstand des Zählers 6 eine vorgegebene Zählzeit, die dem zeitlichen Abstand der letzten zwei steigenden oder fallenden Flanken eines Hall-Signals entspricht, so wird die Drehzahl aufgrund des Zählerstandes des Timers 6 nach folgender Formel geschätzt:
U = 1/(3.Zählstand.n), wobei n die Anzahl der Hall-Sensoren bezeichnet und der Faktor 3 davon herrührt, dass der Rotor drei Magnetpole 30, 31, 32 aufweist.
If the counter reading of counter 6 exceeds a predetermined counting time, which corresponds to the time interval between the last two rising or falling edges of a Hall signal, the speed is estimated on the basis of the counter reading of timer 6 using the following formula:
U = 1 / (3rd count.n), where n denotes the number of Hall sensors and the factor 3 results from the fact that the rotor has three magnetic poles 30 , 31 , 32 .

Beträgt beispielsweise der Zählstand (0,017/n) s, so ergibt sich eine Drehzahl von
1/(3.0,017 s) = 19,608
1/s = 1176 1/min. Somit wird eine geschätzte Drehzahl erhalten, obwohl noch kein Flankensignal des gleichen Hall-Signals erfasst wurde.
For example, if the count is (0.017 / n) s, the speed is
1 / (3.0.017 s) = 19.608
1 / s = 1176 1 / min. An estimated speed is thus obtained even though no edge signal of the same Hall signal has yet been detected.

Vorzugsweise wird die Schätzung der Drehzahl in festgelegten Zeitabständen, beispielsweise jede Millisekunde durchgeführt. In dem beschriebenen Fall wird somit bei einem Zählstand von (0,018/n) s die neue Drehzahl U berechnet:
U = 1/(3.0,018 s) = 18,519
1/s = 1111 1/min.
The speed is preferably estimated at fixed time intervals, for example every millisecond. In the case described, the new speed U is thus calculated at a count of (0.018 / n) s:
U = 1 / (3.0.018 s) = 18.519
1 / s = 1111 1 / min.

In entsprechender Weise wird jede Millisekunde eine Drehzahlschätzung durchgeführt, bis ein neuer Capture-Wert für eine Flanke eines Hall-Signals erfasst wurde oder in Timeout-Signal eintritt. Vorzugsweise vergleicht das Steuergerät 5 die Zeit seit dem letzten Positionssignal mit der zuletzt gemessenen Drehzahl. Ergibt der Vergleich, dass die Zeit seit dem letzten Positionssignal größer als die Zeit ist, aus der die zuletzt ermittelte Drehzahl abgeleitet worden ist, dann wird die Drehzahl auf Grund der Zeit seit dem letzten Positionssignal geschätzt. Auf diese Weise kann schneller auf Drehzahlschwankungen oder einen Drehzahlabfall reagiert werden. In a corresponding manner, a speed estimate is carried out every millisecond until a new capture value for a flank of a Hall signal has been detected or a timeout signal occurs. The control unit 5 preferably compares the time since the last position signal with the last measured speed. If the comparison shows that the time since the last position signal is greater than the time from which the last determined speed was derived, then the speed is estimated on the basis of the time since the last position signal. In this way it is possible to react faster to fluctuations in speed or a drop in speed.

Anstelle der Hall-Sensoren 2, 3, 4 können auch andere Arten von Positionsgebern verwendet werden. Instead of the Hall sensors 2 , 3 , 4 , other types of position sensors can also be used.

Claims (5)

1. Verfahren zum Ermitteln einer Drehzahl eines Antriebes (1), insbesondere eines elektrischen Motors, wobei ein Positionsgeber (2, 3, 4) vorgesehen ist, der in einer festgelegten Winkelposition in Bezug auf eine Drehung des Antriebes angeordnet ist, wobei der Positionsgeber (2, 3, 4) ein Positionssignal abgibt, wenn sich der Antrieb in einer festgelegten Winkellage befindet, wobei das Positionssignal an ein Steuergerät geleitet wird, dadurch gekennzeichnet, dass
das Steuergerät (5) aus dem zeitlichen Abstand der Positionssignale eine Drehzahl des Antriebes (1) berechnet,
dass vom Steuergerät (5) in einem Zeitrahmen, der durch ein Positionssignal festgelegt wird, ein erneutes Positionssignal erwartet wird,
dass von dem Steuergerät (5) die Zeit seit dem letzten Positionssignal mit einem Zeitzähler (6) gemessen wird,
dass bei Ausbleiben des Positionssignals vom Steuergerät (5) aufgrund des Zählerstandes des Zeitzählers (6) eine Drehzahl des Antriebes (1) ermittelt wird.
1. A method for determining a speed of a drive ( 1 ), in particular an electric motor, wherein a position transmitter ( 2 , 3 , 4 ) is provided, which is arranged in a fixed angular position with respect to a rotation of the drive, the position transmitter ( 2 , 3 , 4 ) emits a position signal when the drive is in a fixed angular position, the position signal being passed to a control device, characterized in that
the control unit ( 5 ) calculates a speed of the drive ( 1 ) from the time interval between the position signals,
a renewed position signal is expected from the control device ( 5 ) within a time frame which is determined by a position signal,
that the control device ( 5 ) measures the time since the last position signal with a time counter ( 6 ),
that if the position signal from the control unit ( 5 ) is not present, a speed of the drive ( 1 ) is determined on the basis of the counter reading of the time counter ( 6 ).
2. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass der Zeitrahmen, innerhalb dessen ein neues Positionssignal erwartet wird, in Abhängigkeit von dem zeitlichen Abstand der zwei vorhergehenden Positionssignale festgelegt wird. 2. The method according to claim 1, characterized in that the time frame within which a new position signal is expected depending on the time interval of the two previous position signals is set. 3. Verfahren nach Anspruch 1 oder 2, dadurch gekennzeichnet, dass in festgelegten Zeitabständen die Drehzahl mit dem Zählerstand des Zeitzählers berechnet wird, bis ein neues Positionssignal erhalten wird. 3. The method according to claim 1 or 2, characterized characterized in that the speed with the Counter reading of the time counter is calculated until a new one Position signal is obtained. 4. Verfahren nach einem der Ansprüche 1 bis 3, dadurch gekennzeichnet, dass die berechnete Drehzahl mit einer minimalen Drehzahl verglichen wird, dass bei Unterschreiten der minimalen Drehzahl ein Eingriff in die Regelung des Antriebes (1) vorgenommen wird. 4. The method according to any one of claims 1 to 3, characterized in that the calculated speed is compared with a minimum speed, that an intervention in the control of the drive ( 1 ) is carried out when the minimum speed is undershot. 5. Vorrichtung zum Ermitteln einer Drehzahl eines Antriebes (1), insbesondere eines elektrischen Motors, mit einem Positionsgeber (2, 3, 4), mit einem Rotor (10), wobei ein Steuergerät (5) vorgesehen ist, das mit dem Positionsgeber (1) verbunden ist, wobei der Positionsgeber (1) ein Positionssignal an das Steuergerät (5) weiterleitet, wenn sich der Rotor (10) an einer definierten Lage befindet, dadurch gekennzeichnet, dass die Recheneinheit (5) mit einem Zähler (6) verbunden ist,
dass die Recheneinheit (5) bei Erhalt eines Positionssignals den Zählstand des Zählers (6) auf den Wert Null stellt,
dass der Zähler (6) anschließend den Zählstand in festgelegten Zeitabständen erhöht,
dass das Steuergerät (5) den Eingang eines Positionssignals überwacht,
dass das Steuergerät (5) eine Drehzahl aufgrund des Zählerstandes des Zählers (6) berechnet, wenn ein Positionssignal nicht innerhalb eines festgelegten Zeitrahmens seit dem letzten Positionssignal erhalten wird.
5. Device for determining a speed of a drive ( 1 ), in particular an electric motor, with a position transmitter ( 2 , 3 , 4 ) with a rotor ( 10 ), a control device ( 5 ) being provided which is connected to the position transmitter ( 1 ), the position transmitter ( 1 ) forwards a position signal to the control device ( 5 ) when the rotor ( 10 ) is in a defined position, characterized in that the computing unit ( 5 ) is connected to a counter ( 6 ) is
that the computing unit ( 5 ) sets the counter reading of the counter ( 6 ) to the value zero when a position signal is received,
that the counter ( 6 ) then increases the count at fixed intervals,
that the control device ( 5 ) monitors the input of a position signal,
that the control unit ( 5 ) calculates a rotational speed on the basis of the counter reading of the counter ( 6 ) if a position signal has not been received within a fixed time frame since the last position signal.
DE10227523A 2002-05-24 2002-06-20 Method for determining a speed and device Withdrawn DE10227523A1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
DE10227523A DE10227523A1 (en) 2002-05-24 2002-06-20 Method for determining a speed and device
EP03735276A EP1512019A1 (en) 2002-05-24 2003-05-06 Method and device for detecting a rotational speed, comprising an estimation of a measured value at low rotational speeds
PCT/DE2003/001439 WO2003100443A1 (en) 2002-05-24 2003-05-06 Method and device for detecting a rotational speed, comprising an estimation of a measured value at low rotational speeds
US10/502,614 US7058537B2 (en) 2002-05-24 2003-05-06 Method and device for detecting a rotational speed comprising an estimation of a measured value at low rotational speeds
JP2004507849A JP2005526982A (en) 2002-05-24 2003-05-06 Method for determining rotational speed and apparatus for determining rotational speed

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE10223140 2002-05-24
DE10227523A DE10227523A1 (en) 2002-05-24 2002-06-20 Method for determining a speed and device

Publications (1)

Publication Number Publication Date
DE10227523A1 true DE10227523A1 (en) 2003-12-11

Family

ID=29432280

Family Applications (1)

Application Number Title Priority Date Filing Date
DE10227523A Withdrawn DE10227523A1 (en) 2002-05-24 2002-06-20 Method for determining a speed and device

Country Status (1)

Country Link
DE (1) DE10227523A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004062809A1 (en) * 2004-12-27 2006-07-06 Continental Teves Ag & Co. Ohg Wheel`s e.g. gear wheel, angular speed, determining method for motor vehicle, involves determining speed of gear wheel after elapse of time duration, where speed is assigned to time duration for receiving of signal
EP1696240A1 (en) * 2005-02-23 2006-08-30 Mitsubishi Heavy Industries, Ltd. Rotating speed detecting apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004062809A1 (en) * 2004-12-27 2006-07-06 Continental Teves Ag & Co. Ohg Wheel`s e.g. gear wheel, angular speed, determining method for motor vehicle, involves determining speed of gear wheel after elapse of time duration, where speed is assigned to time duration for receiving of signal
EP1696240A1 (en) * 2005-02-23 2006-08-30 Mitsubishi Heavy Industries, Ltd. Rotating speed detecting apparatus
US7222044B2 (en) 2005-02-23 2007-05-22 Mitsubishi Heavy Industries, Ltd. Rotating speed detecting apparatus

Similar Documents

Publication Publication Date Title
DE112007001630B4 (en) Method and device for determining the rotor position of a brushless and sensorless electric motor
EP0231046B1 (en) Commutation circuit for a collectorless d.c. motor
EP2068436B1 (en) Method and device for identifying step loss in a stepper motor
DE69111916T2 (en) Device and method for determining the rotor position of a brushless DC motor.
EP0093182B1 (en) Method and arrangement for the continuous running speed control of brushless d.c.motors
DE69524032T2 (en) CONTROL METHOD FOR DRIVING A BRUSHLESS DC MOTOR, DEVICE THEREFOR AND ELECTRICAL MACHINE USING THIS DEVICE
DE10033561B4 (en) Electronically commutated motor with commutation signal
DE3018522A1 (en) METHOD AND CONTROL SYSTEM FOR CONTROLLING AN ELECTRIC MOTOR, ESPECIALLY FOR A TELEPHONE
DE10326606A1 (en) Method for commutating a brushless DC motor
DE3328370A1 (en) METHOD AND DEVICE FOR REGULATING A DC MOTOR
DE102016102329A1 (en) Method for operating a brushless DC motor
DE102013218041A1 (en) Method for operating an electric motor
DE102007040217A1 (en) Electronically commutated direct current machine sensor-less operation method for e.g. automobile area, involves predetermining time point of zero crossing of voltage and calculating interval according to time point of last zero-crossing
EP0014241A2 (en) Method for the controlled steering of a D.C.-motor drive unit in a target position and circuit for implementing this method
DE102009011674A1 (en) Method for operating electrical machine, involves feeding alternative voltages in one of stator windings, where alternative voltage has multiple voltage impulses
WO2005069479A1 (en) Method and device for commutating electromechanical actuators
DE102012111799A1 (en) Method for calibrating electrically commutated motor, involves storing correction angle as zero point for detected error of sensor unit for controlling angle of electrically commutated motor
EP1512019A1 (en) Method and device for detecting a rotational speed, comprising an estimation of a measured value at low rotational speeds
EP2474090B1 (en) Method and device for determining a rotor position of a synchronous machine
DE102017009512A1 (en) Method for starting and operating a BLDC motor and BLDC motor
DE60302755T2 (en) Method and system for determining the electronic commutation in a brushless DC machine, regardless of the position of the rotor position sensor
WO2015113766A1 (en) Method for operating an electric motor
DE102010017411A1 (en) Method for calibrating synchronous motor, involves calculating correction angle based on difference between phase value of excitation windings corresponding to direct current values and angle between rotor and stator, to actuate motor
DE102016123715A1 (en) Control device for a polyphase motor and method for driving a polyphase motor
DE4404889A1 (en) Vehicle brushless DC motor drive with electronic speed control

Legal Events

Date Code Title Description
8141 Disposal/no request for examination