DETERMINING AN ELECTRICAL CURRENT FLOWING IN ONE OF A PLURALITY OF ELECTRIC MOTORS
20200366224 · 2020-11-19
Inventors
Cpc classification
H02P5/00
ELECTRICITY
G01R1/203
PHYSICS
H02P23/14
ELECTRICITY
H02P2205/01
ELECTRICITY
G01R19/16528
PHYSICS
H02P5/46
ELECTRICITY
International classification
G01R1/20
PHYSICS
G01R19/165
PHYSICS
H02P23/14
ELECTRICITY
H02P29/024
ELECTRICITY
H02P29/032
ELECTRICITY
H02P5/46
ELECTRICITY
Abstract
An electrical current flowing in a selected one of a plurality of electric motors (51, 52, 53) connected to and supplied from a power supply, wherein a current measuring device (46) is arranged in a connection between the power supply and the plurality of electric motors, is determined. Non-selected electric motors are controlled to be temporarily disconnected from the power supply, and then a current measurement is performed by the current measuring device, while the non-selected electric motors are temporarily disconnected from the power supply. Thus, this current measurement is indicative of the electrical current flowing in the selected electric motor. When the current measurement has been performed, the non-selected electric motors are again controlled to be reconnected to the power supply. In this way, the current drawn by individual motors can be determined with the use of only one current measuring device, so that additional costs can be avoided.
Claims
1. A method of determining an electrical current flowing in a selected one of a plurality of electric motors (51, 52, 53; 71, 72, 73, 74; 91, 92, 93) connected to and supplied from a power supply (14), wherein a current measuring device (46) is arranged in a connection between the power supply (14) and the plurality of electric motors (51, 52, 53; 71, 72, 73, 74; 91, 92, 93), comprising the steps of: controlling non-selected electric motors to be temporarily disconnected from the power supply (14); performing a current measurement by said current measuring device (46) while the non-selected electric motors are temporarily disconnected from the power supply (14), said current measurement being indicative of the electrical current flowing in the selected electric motor; and controlling the non-selected electric motors to be reconnected to the power supply (14) when the current measurement has been performed.
2. The method according to claim 1, wherein the current measured is a current flowing in the electric motor of a selected one of a plurality of linear actuators (31, 32, 33), wherein each linear actuator comprises: a reversible electric DC motor (2); a spindle (4) driven by said reversible DC motor (2); and a spindle nut (6) mounted on the spindle (4) and secured against rotation, said spindle nut (6) being arranged to be moved between two end positions.
3. The method according to claim 1 further comprising the step of driving each of said electric motors (51, 52, 53; 71, 72, 73, 74; 91, 92, 93) by switching at least one electronic switch arranged in series with that electric motor on and off.
4. The method according to claim 3, further comprising the step of temporarily disconnecting non-selected electric motors from the power supply (14) by switching at least one of the at least one electronic switch in series with non-selected electric motors off.
5. The method according to claim 1 further comprising the step of driving the electric motors (51, 52, 53; 71, 72, 73, 74; 91, 92, 93) with a pulse width modulated voltage having a variable duty cycle.
6. The method according to claim 5, further comprising the step of performing said current measurement in the middle of a pulse of the pulse width modulated voltage driving the selected electric motor.
7. The method according to claim 5 further comprising the step of adjusting the duty cycle of the pulse width modulated voltage driving the selected electric motor in dependence of the measured current indicative of the electrical current flowing in the selected electric motor.
8. The method according to claim 1 further comprising the step of switching off the selected electric motor if the measured current indicative of the electrical current flowing in the selected electric motor exceeds a predetermined maximum value.
9. A system (30; 87) comprising: a power supply (14); a plurality of electric motors (51, 52, 53; 71, 72, 73, 74; 91, 92, 93) connected to and supplied from said power supply (14); a controller (15); at least one driver circuit (41, 42, 43; 68, 69; 94, 95, 96) being configured to drive the electric motors (51, 52, 53; 71, 72, 73, 74; 91, 92, 93) under control of the controller (15); a current measuring device (46) arranged in a connection between the power supply (14) and the plurality of electric motors (51, 52, 53; 71, 72, 73, 74; 91, 92, 93), and that the controller (15) is configured to measure an electrical current flowing in a selected one of the electric motors (51, 52, 53; 71, 72, 73, 74; 91, 92, 93) by: controlling non-selected electric motors to be temporarily disconnected from the power supply (14); performing a current measurement by said current measuring device (46) while the non-selected electric motors are temporarily disconnected from the power supply (14), said current measurement being indicative of the electrical current flowing in the selected electric motor; and controlling the non-selected electric motors to be reconnected to the power supply (14) when the current measurement has been performed.
10. The system according to claim 9, wherein the system is an actuator system (30) comprising a plurality of linear actuators (31, 32, 33), each linear actuator comprising: a reversible electric DC motor (2); a spindle (4) driven by said reversible DC motor (2); and a spindle nut (6) mounted on the spindle (4) and secured against rotation, said spindle nut (6) being arranged to be moved between two end positions.
11. The system according to claim 10, wherein the actuator system (30) further comprises: a control box (37; 67) comprising at least the power supply (14), the controller (15) and the at least one driver circuit (41, 42, 43; 68, 69); and a plurality of cables (34, 35, 36), each cable connecting one of the linear actuators (31, 32, 33) to a corresponding driver circuit in the control box (37; 67).
12. The system according to claim 9 wherein at least one driver circuit (41, 42, 43; 68, 69; 94, 95, 96) comprises a plurality of electronic switches, wherein each of said electric motors (51, 52, 53; 71, 72, 73, 74; 91, 92, 93) is arranged in series with at least one of said plurality of electronic switches; and the at least one driver circuit (41, 42, 43; 68, 69; 94, 95, 96) is configured to drive each electric motor (51, 52, 53; 71, 72, 73, 74; 91, 92, 93) by switching the at least one electronic switch in series with that electric motor on and off under control of the controller (15).
13. The system according to claim 12, wherein said plurality of electronic switches are field effect transistors.
14. The system according to claim 12 wherein the controller (15) is configured to temporarily disconnect non-selected electric motors from the power supply (14) by switching at least one of the at least one electronic switch in series with non-selected electric motors off.
15. The system according to claim 9 wherein the controller (15) is configured to drive the electric motors (51, 52, 53; 71, 72, 73, 74; 91, 92, 93) with a pulse width modulated voltage having a variable duty cycle.
16. The system according to claim 15, wherein the controller (15) is configured to perform said current measurement in the middle of a pulse of the pulse width modulated voltage driving the selected electric motor.
17. The system according to claim 15 wherein the controller (15) is configured to adjust the duty cycle of the pulse width modulated voltage driving the selected electric motor in dependence of the measured current indicative of the electrical current flowing in the selected electric motor.
18. The system according to claim 9 wherein the controller (15) is configured to switch off the selected electric motor if the measured current indicative of the electrical current flowing in the selected electric motor exceeds a predetermined maximum value.
19. The system according to claim 9 further comprising a plurality of driver circuits (41, 42, 43), each driver circuit being configured to drive one of the electric motors (51, 52, 53) under control of the controller (15), and each driver circuit being implemented as an H bridge driver circuit comprising four electronic switches.
20. The system according to claim 9 wherein the at least one driver circuit (68; 69) comprises six electronic switches arranged in three half bridges, said driver circuit being configured to drive two electric motors (71, 72; 73, 74) under control of the controller (15).
21. The system according to claim 9 wherein said current measuring device is a current measuring shunt resistor (46), and that the controller (15) is configured to perform said current measurement by measuring a voltage over said current measuring shunt resistor (46).
22. A computer program comprising program code means for performing the steps of claim 1 when said computer program is run on a computer.
23. A computer readable medium having stored thereon program code means for performing the method of claim 1 when said program code means is run on a computer.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Embodiments of the invention will now be described more fully below with reference to the drawings, in which
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
DETAILED DESCRIPTION
[0046]
[0047] Typically, a linear actuator is used in an actuator system controlled by a control box. An example of such an actuator system 11 is illustrated in
[0048] The speed of the electric motors of the linear actuator 1 can be controlled by adjusting the DC voltage level supplied to the motor, or it can be controlled by using pulse width modulation (PWM), where the motor speed is instead controlled by adjusting the duty cycle of the pulse width modulation.
[0049] The driver circuit 16 can be implemented in different ways.
[0050] A control box may also be configured to control an actuator system having a plurality of linear actuators. An example of an actuator system 30, where three linear actuators 31, 32 and 33 are used, is illustrated in
[0051] In many situations, it is relevant to know the current consumption of linear actuators, or at least to know if this current consumption exceeds a certain limit. As shown in
[0052] The use of a current measuring shunt resistor for measuring the current consumption of the linear actuators can also be utilized in the actuator system 30 of
[0053] However, in some cases, knowledge about the total current consumption is not sufficient. If, as an example, it is assumed that the maximum currents for the linear actuators 31, 32 and 33 are five, four and three amperes, respectively, the maximum current with all three linear actuators being active is 12 amperes, and the controller 15 can be set to indicate (e.g. by giving an alarm or disconnecting the power to the actuators) when and if the measured current I.sub.sum exceeds 12 amperes. However, one or more of the actuators may well use less than their allowed maximum current, and in that case another actuator could exceed its own maximum current considerably before the total limit of 12 amperes is exceeded. Thus, if actuators 31 and 32 only consume one ampere each, e.g. due to a low load, actuator 33 could consume up to 10 amperes before the total limit of 12 amperes is exceeded. This would be more than three times its allowed maximum current, and the motor would probably be damaged although no overload indication has been provided by the current measurement.
[0054] In a situation where only two actuators, e.g. actuators 12 and 13, are active, while actuator 14 is inactive, the controller 15 can be set to indicate when and if the measured current I.sub.sum exceeds nine amperes, which is the maximum current for the two actuators. However, if one of the actuators draws less than its allowed maximum current, the other actuator could actually draw more than its allowed maximum current before the limit of nine amperes is exceeded.
[0055] This problem could of course be solved by arranging a separate current measuring shunt resistor and corresponding voltage measuring device for each actuator so that their current consumption can be measured individually. However, this means that several additional components are needed and requires the use of additional inputs to the controller, which makes this solution less attractive.
[0056] Below, a solution is described that makes it possible to measure the current consumption of the actuators individually with the use of only one single current measuring shunt resistor and corresponding voltage measuring device.
[0057]
[0058] In this example, the motors are driven by a DC voltage level. In driver circuit 41, the voltage is supplied to the motor 51 via FETs 54 and 57 resulting in a motor current I.sub.1 running in the motor. Similarly, the voltage is supplied to the motor 52 in driver circuit 42 via FETs 58 and 61 resulting in a motor current I.sub.2 running in the motor, and in driver circuit 43 the voltage is supplied to the motor 53 via FETs 64 and 63 resulting in a motor current I.sub.3 running in the motor. If the three motors are identical, they will rotate with approximately the same speed, since the same voltage level is supplied to the motors. However, since their load may differ from each other, also the currents I.sub.1, I.sub.2 and I.sub.3 may be different. This is illustrated at time t.sub.0 in
[0059] In order to determine the current drawn by one of the motors, the controller 15 can be configured to control the two other driver circuits and motors to draw no current from the power supply while a current measurement is performed by the shunt resistor 46 and the voltage measuring device 47. This can be done as illustrated in
[0060] It is noted that alternatively, FETs 61 and 63 could be switched off and FETs 60 and 62 switched on, so that the motor currents of motors 52 and 53 would circulate through FETs 58 and 60 and FETs 62 and 64, respectively.
[0061] This situation is shown at time t.sub.1 in
[0062] The disconnection of the motors 52 and 53 from the power supply for a short period of time around t.sub.1 is of course a disturbance of these motors, but since this period of time may be as short as a few microseconds (depending of the implementation of the controller 15), this disturbance is fully acceptable.
[0063] At time t.sub.2, the current I.sub.2 drawn by the motor 52 and the driver circuit 42 can be measured in the same way by disconnecting the motors 51 and 53 from the power supply for a short period of time around t.sub.2. This is done by switching FETs 54 and 64 off and FETs 55 and 65 on, so that currents I.sub.1 and I.sub.3 will be zero and the total current I.sub.sum will equal the current I.sub.2 drawn by the motor 52 and the driver circuit 42. Similarly, the current I.sub.3 drawn by the motor 53 and the driver circuit 43 can be measured by disconnecting the motors 51 and 52 from the power supply for a short period of time around t.sub.3.
[0064] The time between the current measurements, i.e. the time between t.sub.1 and t.sub.2 and between t.sub.2 and t.sub.3, can be selected according to the needs of the specific actuator system and the specific implementation of the controller 15. For a typical actuator system, a time of 1 millisecond between the measurements could be an appropriate choice. The measurements can of course be repeated, so that for the system described above, current I.sub.1 can again be measured 1 millisecond after the measurement of I.sub.3, and so on. This means that the current of each motor is measured with 3 milliseconds between each measurement.
[0065] In the controller 15, the measured values of I.sub.1, I.sub.2 and I.sub.3 that are provided to the controller 15 during the measurements described above can be compared to corresponding maximum current limits that have been predetermined for each of the motors 51, 52 and 53. If the measured current value for one of the motors (i.e. I.sub.1, I.sub.2 or I.sub.3) exceeds the corresponding limit, it is an indication that this motor is being overloaded, and the controller 15 can therefore be configured to switch off the motor if the limit is exceeded. Thus, as an example, motor 52 can be switched off if I.sub.2 exceeds the corresponding limit. This can be done by switching FET 58 off and switching FET 59 on. In this way, an overload of this motor can be avoided.
[0066] The described method can also be used when the motors of the linear actuators are driven by an AC voltage instead of a DC voltage as described above. However, in that case it will be expedient to synchronize the measurements with the frequency of the AC voltage, so that for a frequency of 50 Hz, the measurements can be performed with e.g. 20 milliseconds between the measurements to ensure that all measurements are comparable. It is also noted that for AC motors, the driver circuits will be different from the H bridge driver circuits described above.
[0067]
[0068] Also here, the controller 15 can be configured to determine the current drawn by one of the motors by controlling the two other driver circuits and motors to draw no current from the power supply while a current measurement is performed by the shunt resistor 46 and the voltage measuring device 47. This can be done as it was described in relation to
[0069] Since currents I.sub.2 and I.sub.3 are now zero, the total current I.sub.sum will equal the current I.sub.1 drawn by the motor 51 and the driver circuit 41. At time t.sub.1, a current measurement is then performed by the shunt resistor 46 and the voltage measuring device 47, and the measured value of I.sub.sum=I.sub.1 is provided to the controller 15. When the measurement has been performed, the controller 15 restores the situation by allowing motors 52 and 53 to draw current from the power supply again according to their pulse modulation. In
[0070] Expediently, the measurement time t.sub.1 for current I.sub.1 can be arranged at the middle of a PWM pulse for motor 51, as it is illustrated in
[0071] The disconnection of the motors 52 and 53 from the power supply for a short period of time around t.sub.1 is of course a disturbance of the pulse width modulation of these motors, because it can be considered as an additional pulse pause. However, since this period of time may be as short as a few microseconds (depending of the implementation of the controller 15), this disturbance is fully acceptable.
[0072] At a time t.sub.2, which is not shown in
[0073] Also in a pulse modulated system, the time between the current measurements, i.e. the time between t.sub.1 and t.sub.2 and between t.sub.2 and t.sub.3, can be selected according to the needs of the specific actuator system and the specific implementation of the controller 15. For a typical actuator system, a time of 1 millisecond between the measurements could be an appropriate choice. The measurements can of course be repeated, so that for the system described above, current I.sub.1 can again be measured 1 millisecond after the measurement of I.sub.3, and so on. This means that the current of each motor is measured with 3 milliseconds between each measurement.
[0074] In the controller 15, the measured values of I.sub.1, I.sub.2 and I.sub.3 that are provided to the controller 15 during the measurements described above can be used as feedback signals in the control of the motors 51, 52 and 53. Thus, the duty cycle of the pulse width modulated voltage controlling each motor can be adjusted in dependence of the corresponding measured current value according to a control program stored in the controller 15. The measured values of I.sub.1, I.sub.2 and I.sub.3 can also be compared to corresponding maximum current limits that have been predetermined for each of the motors 51, 52 and 53. If the measured current value for one of the motors (i.e. I.sub.1, I.sub.2 or I.sub.3) exceeds the corresponding limit, it is an indication that this motor is being overloaded, and the controller 15 can therefore be configured to reduce the duty cycle or switch off the motor if the limit is exceeded. Thus, as an example, motor 52 can be switched off if I.sub.2 exceeds the corresponding limit. In this way, an overload of this motor can be avoided.
[0075] In the examples described above, the controller 15 of the control box 37 is configured to control the motors of three linear actuators 31, 32 and 33 via three driver circuits 41, 42 and 43. However, these numbers are only used as examples. More generally, the described method makes it possible to measure the current consumption of individual motors of a plurality of motors supplied from the same power supply with the use of only one single current measuring shunt resistor and corresponding voltage measuring device. Thus, there could also be only two motors, or there could be four or more motors controlled by the controller.
[0076] In
[0077] In order to determine the current drawn by one of the motors, the controller 15 can, as in the examples above, be configured to control the other motors to draw no current from the power supply while a current measurement is performed by the shunt resistor 46 and the voltage measuring device 47. This can be done as illustrated in
[0078] It is noted that in driver circuit 69, as an alternative FETs 82 and 86 could be switched off and FETs 81 and 85 switched on, so that the motor currents of motors 72 and 73 would circulate through FETs 81 and 83 and FETs 85 and 83, respectively.
[0079] This situation corresponds to the situation that was shown at time t.sub.1 in
[0080] Also here, the disconnection of the motors 72, 73 and 74 from the power supply for a short period of time around t.sub.1 is of course a disturbance of these motors, but since this period of time may be as short as a few microseconds (depending of the implementation of the controller 15), this disturbance is fully acceptable.
[0081] In the examples described above, the electric motors are used in linear actuator systems, where reversible motors are needed. However, in several other systems using electric motors, such as cooling fan systems, it is sufficient that the motors can rotate in one direction, which allows the use of simpler driving circuits. An example of such a system 87 is illustrated in
[0082] In
[0083] In order to determine the current drawn by one of the motors in this system, the controller 15 can, as in the examples above, be configured to control the other motors to draw no current from the power supply while a current measurement is performed by the shunt resistor 46 and the voltage measuring device 47. This can be done as illustrated in
[0084] This situation corresponds to the situation that was shown at time t.sub.1 in
[0085] The voltage measuring device 47, which is connected across the shunt resistor 46 and provides information to the controller 15 about the current flowing through the shunt resistor 46, can be implemented in different ways. A traditional implementation is shown in
[0086] However, if the resistance of the shunt resistor 46 is chosen appropriately, the voltage across it can be provided directly to the input terminal of the microcomputer 105 as shown in
[0087] The analog-to-digital converter at the input terminal of the microcomputer 105 can typically have an overall voltage measurement range (full scale) of 3.3 Volts corresponding to a maximum current in the shunt resistor 46 of 3.3 V/40 m=82.5 A, which will be considered as sufficient in this situation. If the analog-to-digital converter has a resolution of 10 bits corresponding to 1024 levels, the voltage resolution will be 3.2 mV corresponding to 80 mA in the shunt resistor 46, and if the analog-to-digital converter has a resolution of 12 bits corresponding to 4096 levels, the voltage resolution will be 0.8 mV corresponding to 20 mA in the shunt resistor 46. This resolution is also considered as being sufficient for the described application.
[0088] The bandwidth of the signal path from the shunt resistor 46 to the input terminal of the microcomputer 105 can be further improved. This is due to the fact that there will always be a certain small inductance in series with the shunt resistor 46, which can therefore be considered as an RL circuit composed of a resistor and an inductor. Above the 3 dB bandwidth of the RL circuit the impedance will increase, which will thus also be the case for the voltage measured over the shunt resistor 46 for a given current value. It is noted that the 3 dB bandwidth is determined by the time constant of the RL circuit (f.sub.3 dB=1/2), which is defined as =L/R.sub.shunt, where L is the small inductance in series with the shunt resistor 46.
[0089] This can be compensated by adding an RC circuit comprising a capacitor 106 and a resistor 107 as shown in
[0090] As an example, the small inductance in series with a shunt resistor of 40 m can be estimated to approximately 40 nH resulting in a time constant =1 s for the RL circuit. A corresponding time constant for the RC circuit can be achieved with e.g. R=100 and C=10 nF or R=1 k and C=1 nF.
[0091] In the examples described above, the current I.sub.sum is measured by means of a current measuring shunt resistor 46 inserted in series with the electric motors. However, it is noted that other techniques of measuring the current can be used as well. A few such techniques are mentioned in the following. As an example, an ammeter can be used, provided it has an output that can provide a signal, which is representative of the measured current, to the controller 15. In some situations, depending on the character of the current to be measured, a current measuring transformer can be used. Also, Hall Effect current sensor transducers can be used. These sensors can sense DC currents and they typically work up to frequencies around 150 kHz. A further sensor type that is well suited for the measurement of electric currents is magnetoresistive field current sensors. Some of these sensor types are available on the market as integrated circuits.
[0092]
[0093] In other words, there is disclosed a method of determining an electrical current flowing in a selected one of a plurality of electric motors connected to and supplied from a power supply, wherein a current measuring device is arranged in a connection between the power supply and the plurality of electric motors. The method comprises the steps of controlling non-selected electric motors to be temporarily disconnected from the power supply; performing a current measurement by said current measuring device while the non-selected electric motors are temporarily disconnected from the power supply, said current measurement being indicative of the electrical current flowing in the selected electric motor; and controlling the non-selected electric motors to be reconnected to the power supply when the current measurement has been performed.
[0094] By temporarily disconnecting all electric motors except one from the power supply while a current measurement is performed by the common current measuring device arranged between the power supply and the electric motors, it is achieved that the measured total current equals the current drawn by the motor that is not disconnected. In this way, the current drawn by individual motors can be determined with the use of only one current measuring device, so that additional costs and increased space requirements in the controller for several current measuring devices can be avoided. With the knowledge of the current consumption of individual motors, it is now possible to switch off a motor if its individual maximum current is exceeded due to overload, or the individual motors can be controlled in dependence of their current consumption.
[0095] The current measured may be a current flowing in the electric motor of a selected one of a plurality of linear actuators, wherein each linear actuator comprises a reversible electric DC motor; a spindle driven by said reversible DC motor; and a spindle nut mounted on the spindle and secured against rotation, said spindle nut being arranged to be moved between two end positions.
[0096] In some embodiments, the method comprises the step of driving each of said electric motors by switching at least one electronic switch arranged in series with that electric motor on and off.
[0097] The method may comprise the step of temporarily disconnecting non-selected electric motors from the power supply by switching at least one of the at least one electronic switch in series with non-selected electric motors off. By using the electronic switches that are already arranged for driving the electric motors to temporarily disconnect non-selected electric motors from the power supply, there is no need for additional components for this purpose.
[0098] In some embodiments, the method comprises the step of driving the electric motors with a pulse width modulated voltage having a variable duty cycle, which is an expedient way of controlling electric motors, especially where several motors are powered from the same power supply. In this case, the method may comprise the step of performing said current measurement in the middle of a pulse of the pulse width modulated voltage driving the selected electric motor. In the middle of the pulse, the current equals the average current of the motor. In some embodiments, the method comprises the step of adjusting the duty cycle of the pulse width modulated voltage driving the selected electric motor in dependence of the measured current indicative of the electrical current flowing in the selected electric motor.
[0099] In some embodiments, the method comprises the step of switching off the selected electric motor if the measured current indicative of the electrical current flowing in the selected electric motor exceeds a predetermined maximum value.
[0100] The invention also relates to a system comprising a power supply; a plurality of electric motors connected to and supplied from said power supply; a controller; and at least one driver circuit being configured to drive the electric motors under control of the controller. The system further comprises a current measuring device arranged in a connection between the power supply and the plurality of electric motors, and the controller is configured to measure an electrical current flowing in a selected one of the electric motors by controlling non-selected electric motors to be temporarily disconnected from the power supply; performing a current measurement by said current measuring device while the non-selected electric motors are temporarily disconnected from the power supply, said current measurement being indicative of the electrical current flowing in the selected electric motor; and controlling the non-selected electric motors to be reconnected to the power supply when the current measurement has been performed.
[0101] When the controller is configured to temporarily disconnect all electric motors except one from the power supply while a current measurement is performed by the common current measuring device arranged between the power supply and the electric motors, it is achieved that the measured total current equals the current drawn by the motor that is not disconnected. In this way, the current drawn by individual motors can be determined with the use of only one current measuring device, so that additional costs and increased space requirements in the controller for several current measuring devices can be avoided. With the knowledge of the current consumption of individual motors, it is now possible to switch off a motor if its individual maximum current is exceeded due to overload, or the individual motors can be controlled in dependence of their current consumption.
[0102] The system may be an actuator system comprising a plurality of linear actuators, each linear actuator comprising a reversible electric DC motor; a spindle driven by said reversible DC motor; and a spindle nut mounted on the spindle and secured against rotation, said spindle nut being arranged to be moved between two end positions. The actuator system may further comprise a control box comprising at least the power supply, the controller and the at least one driver circuit; and a plurality of cables, each cable connecting one of the linear actuators to a corresponding driver circuit in the control box. Alternatively, the system may comprise one or more linear actuators in combination with one or more other electric motors connected to and supplied from the same power supply.
[0103] In some embodiments, the at least one driver circuit comprises a plurality of electronic switches, wherein each of said electric motors is arranged in series with at least one of said plurality of electronic switches; and the at least one driver circuit is configured to drive each electric motor by switching the at least one electronic switch in series with that electric motor on and off under control of the controller. The plurality of electronic switches may be field effect transistors.
[0104] The controller may be configured to temporarily disconnect non-selected electric motors from the power supply by switching at least one of the at least one electronic switch in series with non-selected electric motors off. By using the electronic switches that are already arranged for driving the electric motors to temporarily disconnect non-selected electric motors from the power supply, there is no need for additional components for this purpose.
[0105] In some embodiments, the controller is configured to drive the electric motors with a pulse width modulated voltage having a variable duty cycle, which is an expedient way of controlling electric motors, especially where several motors are powered from the same power supply. In this case, the controller may be configured to perform said current measurement in the middle of a pulse of the pulse width modulated voltage driving the selected electric motor. In the middle of the pulse, the current equals the average current of the motor. In some embodiments, the controller is configured to adjust the duty cycle of the pulse width modulated voltage driving the selected electric motor in dependence of the measured current indicative of the electrical current flowing in the selected electric motor.
[0106] In some embodiments, the controller is configured to switch off the selected electric motor if the measured current indicative of the electrical current flowing in the selected electric motor exceeds a predetermined maximum value.
[0107] The system may comprise a plurality of driver circuits, each driver circuit being configured to drive one of the electric motors under control of the controller, and each driver circuit being implemented as an H bridge driver circuit comprising four electronic switches.
[0108] Alternatively, the system may comprise at least one driver circuit comprising six electronic switches arranged in three half bridges, said driver circuit being configured to drive two electric motors under control of the controller.
[0109] In some embodiments, said current measuring device may be a current measuring shunt resistor, and the controller may be configured to perform said current measurement by measuring a voltage over said current measuring shunt resistor. This is a simple and cost effective way of measuring the current.
[0110] Also disclosed is a computer program comprising program code means for performing the steps of the method described above when said computer program is run on a computer, and a computer readable medium having stored thereon program code means for performing the method described above when said program code means is run on a computer.
[0111] Although various embodiments of the present invention have been described and shown, the invention is not restricted thereto, but may also be embodied in other ways within the scope of the subject-matter defined in the following claims.