The present disclosure relates to configuration of a brushless DC motor control system. Specifically, the present disclosure relates to optimization of the setup process of a brushless DC motor control system through generation of a commutation table for controlling rotation of the brushless DC motor.
Brushless DC motors may operate in accordance with a commutation table that provides sequential phase states for each phase of the motor to generate magnetic fields for rotating a rotor of the motor relative to a stator of the motor. Controllers for brushless DC motors may be programmed to control the motor based on the commutation table. The controller may include nodes for electrically coupling the controller to the phases of the motor using wires, each node being configured for one phase. Further, if the motor has position sensors, the controller may also include nodes for electrically coupling the controller to the sensors using wires.
In some brushless DC motor systems, the controller is programmed such that each phase of the motor has to be connected to a specific node on the controller (e.g., via wires). Likewise, if the system includes positional sensors to sense the position of the motor, each sensor has to be connected to a specific node on the controller. In such embodiments, if the phases and sensors are not connected to the corresponding nodes of the controller, the system will not be operational. As such, it may be desirable to have a system that can be operational for any configuration of wire connections, regardless of which phase and sensor is connected to which node of the controller, to ensure functionality and optimize the setup process of the system and decrease labor costs associated with coupling the wires to the controller. With such a system, a technician can connect the phase wires to any of the phase nodes of the controller and can couple the sensor wires to any of the sensor nodes of the controller. Furthermore, using the methods disclosed herein allows the controller to generate the commutation table upon setup based on the motor and how the motor is coupled to the controller, rather than programming the controller with a predetermined commutation table that may only be operational for a certain motor-coupling configuration.
Embodiments of the present disclosure are described herein. The disclosed embodiments are merely examples. Other embodiments may take various and alternative forms. The figures are not necessarily to scale. Some features in the figures could be exaggerated or minimized to show details of particular components. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as representation. Various features illustrated and described with reference to any one of the figures may be combined with features illustrated in one or more other figures to produce embodiments that are not explicitly illustrated or described. The combinations of features illustrated provide representative embodiments for typical applications. Various combinations and modifications of the features consistent with the teachings of this disclosure, however, could be desired for particular applications or implementations.
Each of the embodiments disclosed herein can be implemented on patient support apparatuses such as, for example and without limitation, cots, stretchers, chairs, tables, wheelchairs, beds, etc. Each of the embodiments disclosed herein can also be implemented on devices other than patient support apparatuses such as, for example and without limitation, power tools, home appliances, etc. Each of the embodiments disclosed herein can be implemented on a number of devices having at least one brushless DC motor.
“Rotation” or “movement” of a motor as described herein may be interpreted as rotation or movement of a rotor of the motor relative to a stator of the motor. Furthermore, as used herein, “commutate” (and derivatives thereof such as “commutation”) may be related to the process of controlling the switches of the system such that the rotor rotates relative to the stator.
In the illustrated embodiment, turning the switches 26, 28, 30, 32, 34, 36 on and off controls the flow of current to and from the phases 1, 2, 3 (
The controller 38 may be programmed to control operation of the motor 22 by controlling the gates of the switches 26, 28, 30, 32, 34, 36. In one embodiment, the controller 38 is programmed to send pulse width modulation (PWM) signals to the gates of the switches 26, 28, 30, 32, 34, 36 to effect rotation of the rotor 42 relative to the stator 40. The controller 38 can programmed to receive one or more inputs. In one embodiment, the inputs are a desired speed of the motor 22, an amount of current from a power input 56, an actual speed of the motor 22, a torque of the motor 22, a temperature of the motor 22, and signals from the sensors 44, 46, 48 indicative of the position of the rotor 42 relative to the stator 40.
While illustrated as one controller, the controller 38 may be part of a larger system and/or controlled by other controller(s) throughout the system 20. Therefore, the controller 38 and one or more other controllers not shown in the illustrated embodiment may collectively be referred to as a “controller” that controls various components of the system 20 in response to signals to control functions of the system 20.
In one embodiment, the controller 38 includes a microprocessor (MCU) or central processing unit (CPU) in communication with computer readable storage devices or media. Computer readable storage devices or media may include volatile and nonvolatile storage in read-only memory (ROM), random-access memory (RAM), and keep-alive memory (KAM). Computer-readable storage devices or media may be implemented using memory devices such as PROMs (programmable read-only memory), EPROMs (electrically PROM), EEPROMs (electrically erasable PROM), flash memory, or any other electric, magnetic, optical, or combination memory devices capable of storing data, some of which represent executable instructions, used by the controller 38 in controlling the system 20.
The controller 38 may communicate with various sensors and components of the system 20 via an input/output (I/O) interface that may be implemented as a single integrated interface. The interface may provide raw data or signal conditioning, processing, and/or conversion, short-circuit protection, and the like. Alternatively, one or more dedicated hardware or firmware chips may be used to condition and process particular signals before being supplied to the CPU. The controller 38 can control other functions and components of the system 20 not explicitly illustrated in the figures.
Control logic or functions performed by the controller 38 may be represented by flow charts or similar diagrams in one or more figures. These figures provide representative control strategies and/or logic that may be implemented using one or more processing strategies such as event-driven, interrupt-driven, multi-tasking, multi-threading, and the like. As such, various steps or functions illustrated may be performed in the sequence illustrated, in parallel, or in some cases omitted. Although not always explicitly illustrated, one or more of the illustrated steps or functions may be repeatedly performed depending upon the particular processing strategy being used. Similarly, the order of processing is not necessarily required to achieve the features and advantages described herein, but is provided for ease of illustration and description. The control logic may be implemented primarily in software executed by a microprocessor-based controller, such as the controller 38. The control logic may be implemented in software, hardware, or a combination of software and hardware in one or more controllers depending upon the particular application. When implemented in software, the control logic may be provided in one or more computer-readable storage devices or media having stored data representing code or instructions executed by a computer to control the system 20. The computer-readable storage devices or media may include one or more of a number of physical devices which utilize electric, magnetic, and/or optical storage to keep executable instructions and associated calibration information, operating variables, and the like.
In the illustrated embodiment, the rotor 42 is an internal rotor motor in which permanent magnets are coupled to and rotate with a shaft inside of and relative to the stationary stator 40. The motor 22 may have other rotor-stator configurations, such as (for example and without limitation) an external rotor configuration in which the rotor is positioned externally of the stator. Furthermore, the stator may be slotted or slotless. For simplicity, the rotor 42 in the illustrated embodiment has one N-S pole pair. In other embodiments, the rotor 42 may include more than one N-S pole pair.
Still referring to
As shown in
In one embodiment, the phase state is positive (+), negative (−), or OFF. The controller 38 can be programmed to operate the gates of the switches 26, 28, 30, 32, 34, 36 to permit voltage control in accordance with the phase state provided in the commutation table 76. In one embodiment, the phase state is different for each phase 1, 2, 3 for a given rotor state. For example and without limitation, and with reference to
In the illustrated embodiment, the method 78 begins with the step 82 of setting Phase 2 to positive (+) and Phases 1 and 3 to negative (−). This may be referred to as energization of Phase 2. With reference to
In the illustrated embodiment, the method 78 continues with the step 86 of determining whether there is movement of the motor 22 in response to the first magnetic field. Movement of the motor 22 may be determined by comparing the position of the motor 22 before and after step 82. If there was movement of the motor 22 upon energization of Phase 2 in step 82, the method 78 may continue with the step 88 of generating a Phase 2 column of a commutation table 90 in accordance with
If the motor 22 moves in response to the first magnetic field, then the motor 22 moves to a steady-state position in which the motor 22 has rotated due to the generated first magnetic field and reaches an electromagnetic equilibrium at that steady-state position based on the generated magnetic field. Upon movement of the magnetic field when the next phase is energized, the rotor moves to a different steady-state position corresponding with the next energized phase. Based on the first magnetic field and the energization of Phase 2, the steady-state position of the motor 22 may be determined. With brief reference to
In the illustrated embodiment, the method 78 continues with the step 92 of setting Phase 3 to positive (+) and Phases 1 and 2 to negative (−). This may be referred to as energization of Phase 3. With reference to
In the illustrated embodiment, the method 78 continues with the step 96 of determining whether the Phase 2 column was generated. If, at step 86, the motor 22 did not move in response to the first magnetic field generated in step 82, then the Phase 2 column was not generated. If, at step 86, the motor 22 did move in response to the first magnetic field generated in step 82, then the method 78 may continue with the step 98 of determining whether the motor 22 moved backward one position to a steady-state position associated with the prior rotor state (from the rotor state associated with the steady-state position upon energization of Phase 2 in step 82) upon energization of Phase 3 in step 92. If the motor 22 moved in response to the first magnetic field generated in step 82 (upon energization of Phase 2), then upon energization of Phase 3, the motor 22 will move either one position forward or one position backward from the steady-state position to which the motor 22 moved upon energization of Phase 2 in step 82. The Phase 3 column of the commutation table 90 may be generated by determining which direction the motor 22 moved upon energization of Phase 3 in step 92. In the illustrated embodiment, backward movement is movement in an upwards direction in the tables, and forward movement is movement in a downwards direction in the tables. “Forward” movement in the table can correspond to either clockwise or counterclockwise movement of the motor, with backward movement being opposite from the forward direction.
If, at step 96, the controller 38 determines that the motor 22 moved backward one position, then the method 78 may continue with the step 102 of generating a Phase 3 column of the commutation table 90 in accordance with
With reference to step 86 in
With respect to step 96, if the Phase 2 column was not generated (e.g., because the motor 22 did not move (step 86) upon energization of Phase 2), then the method 78 may continue with the step 110 of determining whether the motor 22 moved forward two rotor states or backward one rotor state. If the motor 22 moved forward two states (i.e., increasing in rotor state by two) or backward one state (i.e., decreasing in rotor state by one) upon energization of Phase 3 in step 92, then the method 78 may continue with the step 112 of generating the Phase 2 and Phase 3 columns of a commutation table 114b in accordance with
In some embodiments, determining the direction and amount of movement upon energization of Phase 3 in step 92 allows determination of the phase states in the Phase 2 and Phase 3 columns of the commutation table. In the illustrated embodiment, and with reference to
In one embodiment, the steady-state position 108 (
The remaining phase states in the Phase 3 column may also be determined. In one embodiment, the phase state for the rotor state associated with one of phase states of OFF in the Phase 2 column is negative (−), and the phase state for the rotor state associated with the other of the phase states of OFF in the Phase 2 column is positive (+). For example and without limitation, and with reference to
Referring back to
In the method 78 illustrated in
In the illustrated embodiment of
With reference to
In one embodiment, upon moving from an initial rotor state to an adjacent rotor state, which may be the rotor state immediately above or below the initial rotor state in the commutation table 122, one of the phase states for the phases remains the same, and the phase states for the other phases changes. For example and without limitation, and with reference to
In one embodiment, upon moving from an initial rotor state to an adjacent rotor state, which may be the rotor state immediately above or below the initial rotor state in the commutation table 122, two of the signals from the sensors 44, 46, 48 (A, B, C) remain the same, and the signal from the other sensor changes. For example and without limitation, and with reference to
In the illustrated embodiment, the method 120 continues with the step 126 of setting Phase 2 to positive (+) and Phases 1 and 3 to negative (−). This may be referred to as energization of Phase 2. Setting the Phases in accordance with step 126 results in the first magnetic field.
In the illustrated embodiment, the method 120 continues with the step 128 of receiving signals from the sensors 44, 46, 48 (A, B, C) upon energization of Phase 2 indicative of movement of the motor 22. As shown in
In the illustrated embodiment, the method 120 continues with the step 130 of identifying the one signal that is different from the others.
In the illustrated embodiment, the method 120 continues with the step 132 of setting the corresponding sensor 44, 46, 48 (that sent the one signal that is different from the other signals upon energization of Phase 2) in the commutation table 122. In the illustrated embodiment, such a sensor is set in the commutation table 122 as “Sensor B”. Upon energization of Phase 2, the motor 22 may rotate such that the signal sent from the sensor B to the controller 38 is “1” and the signals sent from the sensors A and C are “0”. As such, in the illustrated embodiment, the sensor Y is set as sensor B. In other wire-to-node configurations, either sensor X or Y may be set as sensor B. In one embodiment, the sensor disposed opposite the phase 1, 2, 3, (i.e., winding T, U, V) that is energized in step 126 is set as sensor B in step 132.
Upon energization of Phase 2, the motor may move to a steady-state position 106 in which the motor 22 has rotated due to the first generated magnetic field. Based on the first magnetic field and the energization of Phase 2, the steady-state position 106 of the motor 22 can be associated with the rotor state with the phase state of “OFF” in the Phase 2 column. In one embodiment, there are two rotor states at which the phase state is “OFF” for a given phase. In the illustrated embodiment, the steady-state position 106 of the motor 22 upon energization of Phase 2 can be associated with either of the rotor states denoted by the arrows 134 in
In the illustrated embodiment, the method 120 continues with the step 136 of setting Phase 3 to positive (+) and Phases 1 and 2 to negative (−). This may be referred to as energization of Phase 3. Setting the Phases in accordance with step 136 results in a second magnetic field different from the first magnetic field such that the rotor may move in a clockwise or counterclockwise direction.
In the illustrated embodiment, the method 120 continues with the step 138 of receiving signals from the sensors 44, 46, 48 (A, B, C) upon energization of Phase 3 indicative of movement of the motor 22. Whether the motor 22 moved in response to the first magnetic field generated upon energization of Phase 2, the motor 22 will move upon energization of Phase 3 in step 136 to a steady-state position 108 (
In the illustrated embodiment, the method 120 continues with the step 140 of identifying the one signal that is different from the others. As described hereinabove, the one signal different from the others is a “1” with the others being a “0”, or the one signal different from the others is a “0” with the others being a “1”.
In the illustrated embodiment, the method 120 continues with the step 142 of setting the corresponding sensor 44, 46, 48 (that sent the one signal that is different from the other signals upon energization of Phase 3) in the commutation table 122. In the illustrated embodiment, such a sensor is set in the commutation table 122 as “Sensor C”. Upon energization of Phase 3, the motor 22 will rotate such that the signal sent from the sensor C to the controller 38 is different from the other signals sent from the other sensors A and C. In the illustrated embodiment, the sensor 44 electrically coupled to the node 62 which the controller 38 may identify as “sensor Z” is set as “sensor C” in the commutation table 120. In other wire configurations, either sensor X or Y may be set as sensor C.
Upon energization of Phase 3, the motor 22 will move to a steady-state position 108 in which the motor 22 has rotated due to the second generated magnetic field. Based on the second magnetic field and the energization of Phase 3, the steady-state position 108 of the motor is associated with the rotor state corresponding to the phase state of “OFF” in the Phase 3 column. In one embodiment, there are two rotor states at which the phase state is “OFF” for a given phase. Whether the steady-state position 108 of the motor 22 upon energization of Phase 2 (in step 10) corresponded with either of the rotor states denoted by the arrows 134 in
In the illustrated embodiment, the method 120 continues with the step 148 of determining whether the one signal that is different from the others in step 140 (upon energization of Phase 3) is a “1”. Such a determination can indicate the polarity of the table 122.
If, at step 148, the one signal different from the others (corresponding to Sensor C in step 142) upon energization of Phase 3 is a “1”, then the method 120 may continue with the step 150 of keeping the polarity of the commutation table 122 as is. As such, the phase states within the table 122 remain the same. In one embodiment, the commutation table corresponds to the table 122a illustrated in
If, at step 148, the one signal different from the others upon energization of Phase 3 is not a “1” and is instead a “0”, then the method 120 may continue with the step 152 of inverting the polarity of the commutation table. As such, in one embodiment, the phase states of the commutation table 122 illustrated in
In the illustrated embodiment, the method 154 begins with the step 158 of setting Phase 2 to positive (+) and Phases 1 and 3 to negative (−). This may be referred to as energization of the Phase 2. Setting the Phases in accordance with step 158 results in generation of a first magnetic field. In the illustrated embodiment, and with reference to
In the illustrated embodiment, the method 154 continues with the step 160 of receiving signals from the sensors 44, 46, 48 (A, B, C), as shown in
In the illustrated embodiment, the method 154 continues with the step 162 of determining whether the motor 22 moved in response to the energization of Phase 2 in step 158. With reference to
In the illustrated embodiment, the method 154 continues with the step 164 of identifying the one signal that is different from the others. As described hereinabove, the one signal different from the others is a “1” with the others being a “0”, or the one signal different from the others is a “0” with the others being a “1”.
In the illustrated embodiment, the method 154 continues with the step 166 of setting the corresponding Phase in the commutation table 156. In the illustrated embodiment, such Phase is set in the commutation table 156 as “Phase 2”. Referring to
Upon energization of Phase 2, the motor 22 may move to a steady-state position 106 in which the motor 22 has rotated due to the first generated magnetic field. Based on the first magnetic field and the energization of Phase 2, the steady-state position 106 of the motor 22 is determined as the rotor state associated with the phase state of “OFF” in the Phase 2 column. In one embodiment, there are two rotor states at which the phase state is “OFF” for a given phase. In the illustrated embodiment, the steady-state position 106 of the motor 22 upon energization of Phase 2 is associated with either of the “OFF” phase states in the phase 2 column in
In the illustrated embodiment, the method 154 continues with the step 168 of setting Phase 3 to positive (+) and Phases 1 and 2 to negative (−). This may be referred to as energization of Phase 3. Setting the Phases in accordance with step 168 results in a second magnetic field different from the first magnetic field such that the motor moves in a clockwise or counterclockwise direction. In the illustrated embodiment, and with reference to
In the illustrated embodiment, the method 154 continues with the step 170 of receiving signals from the sensors 44, 46, 48 (A, B, C) upon energization of Phase 3. As shown in
In the illustrated embodiment, the method 154 continues with the step 172 of identifying the one signal that is different from the other signals. As described hereinabove, the one signal different from the others is a “1” with the others being a “0”, or the one signal different from the others is a “0” with the others being a “1”.
In the illustrated embodiment, the method 154 continues with the step 174 of setting the corresponding phase in the commutation table 156. In the illustrated embodiment, such phase is set in the commutation table 156 as “Phase 3”. Referring to
In the illustrated embodiment, the method 154 continues with the step 176 of determining whether the motor 22 moved in response to energization of Phase 2 (due to generation of the first magnetic field), which was determined in step 162 in the illustrated embodiment.
If, at step 176, the controller 38 determines that the motor 22 did not move in response to the energization of phase 2, then the method 154 may continue with the step 178 of determining whether the motor 22 moved forward two rotor states or backward one rotor state upon energization of Phase 3. Determining the amount of movement and/or the direction of movement allows determination of the polarity of the table 156 (i.e., determination of non-OFF phase states as negative or positive).
If, at step 178, the controller 38 determines that the motor 22 moved forward two rotor states or backward one rotor state (upon energization of Phase 3), then the method 154 may continue with the step 180 of inverting the phase states of the commutation table 156. In one embodiment, inverting the phase states includes changing the positive (+) phase states to negative (−) and the negative (−) phase states to positive (+). In one embodiment, the motor 22, instead, moves one rotor state backward or two rotor states forward upon energization of Phase 3.
If, at step 178, the controller 38 determines that the motor 22 did not move forward two rotor states or backward one rotor state, then the method 154 may continue with the step 182 of setting Phase 1 of the commutation table 156. Also, after step 180, the method 154 may continue with step 182. Furthermore, if, at step 176, the controller 38 determines that the motor 22 did move in response to the energization of Phase 2, the method 154 may continue with step 182.
By performing any of the methods 78 (
In one embodiment, the controller 38 is programmed to, in response to a user-selected configuration of the wire-to-node connections, generate a commutation table.
In one embodiment, the controller 38 is programmed to (i) in response to a first user-selected configuration of the wire-to-node connections, generate a first commutation table, and (ii) in response to a second user-selected configuration of the wire-to-node connections, generate a second commutation table different from the first commutation table, the motor 22 being operable in accordance with the first and second commutation tables.
In one embodiment, a method of configuring a brushless DC motor control system includes, by a controller 38, in response to a user-selected configuration of electrical communication paths between the motor 22 and the controller 38, generating a commutation table that provides logic for operating the motor 22, each electrical communication path corresponding to one phase of the motor 22. The controller 38 may be configured to generate a first portion of the table based on movement of the motor 22 upon energization of a first phase and to generate a second portion of the table based on movement of the motor upon energization of a second phase.
The words used in the specification are words of description rather than limitation, and it is understood that various changes may be made without departing from the spirit and scope of the disclosure. As previously described, the features of various embodiments that may not be explicitly described or illustrated. While various embodiments could have been described as providing advantages or being preferred over other embodiments or prior art implementations with respect to one or more desired characteristics, one or more features or characteristics may be compromised to achieve desired overall system attributes, which depend on the specific application and implementation. These attributes may include, but are not limited to cost, strength, durability, life cycle cost, marketability, appearance, packaging, size, serviceability, weight, manufacturability, ease of assembly, etc. As such, embodiments described as less desirable than other embodiments or prior art implementations with respect to one or more characteristics are not outside the scope of the disclosure and may be desirable for particular applications.
The subject patent application claims priority to and all the benefits of U.S. Provisional Patent Application No. 62/639,259 filed on Mar. 6, 2018, the disclosure of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
62639259 | Mar 2018 | US |