Swinging drive control apparatus and method

10646786 ยท 2020-05-12

Assignee

Inventors

Cpc classification

International classification

Abstract

Disclosed is a swinging drive control apparatus, including a controller and a motor, where the controller detects a counter-electromotive force of the motor and drives the motor according to the detection result. Also disclosed is a corresponding method, including: measuring a counter-electromotive force of a motor in a previous cycle; and comparing a maximum counter-electromotive force value with a preset value, and calculating a PWM pulse duty factor in a next cycle. By directly detecting the counter-electromotive force of the motor without using a sensor, the present invention implements swinging frequency and phase tracking as well as swinging amplitude control, and simplifies a control system.

Claims

1. A swinging drive control apparatus, comprising a controller and a motor, wherein, the controller detects a counter-electromotive force of the motor and drives the motor according to the detected result, wherein, the controller calculates a PWM (Pulse Width Modulation) pulse duty factor in a next cycle by comparing a maximum counter-electromotive force value of the motor in a previous cycle with a preset value, so as to control the motor using a PWM method.

2. The swinging drive control apparatus according to claim 1, wherein, in a swinging cycle of a swinging object, the first half cycle is a time when the controller drives the motor to push the swinging object to swing, and the second half cycle is a time when the controller detects the counter-electromotive force of the motor.

3. The swinging drive control apparatus according to claim 1, wherein, the controller controls a time for driving the motor in a next cycle according to start time and end time of the counter-electromotive force of the motor in a previous cycle, so as to implement swinging frequency and phase tracking of a swinging object.

4. A swing, comprising a swinging drive control apparatus according to claim 1.

5. The swing according to claim 4, wherein, in a swinging cycle of a swinging object, the first half cycle is a time when the controller drives the motor to push the swinging object to swing, and the second half cycle is a time when the controller detects the counter-electromotive force of the motor.

6. The swing according to claim 4, wherein, the controller controls a time for driving the motor in a next cycle according to start time and end time of the counter-electromotive force of the motor in a previous cycle, so as to implement swinging frequency and phase tracking of a swinging object.

7. The swing according to claim 4, wherein, the controller controls a PWM pulse duty factor in a next cycle according to a maximum counter-electromotive force value of the motor in a previous cycle, so as to implement swinging amplitude control of a swinging object.

8. The swing according to claim 4, wherein, the swing is a rocking chair or a glider chair.

9. A swinging drive control method, comprising the following steps: detecting a counter-electromotive force of a motor in a previous cycle; and comparing a maximum counter-electromotive force value with a preset value, and calculating a PWM (Pulse Width Modulation) pulse duty factor in a next cycle, and controlling the motor using a PWM method.

10. The swinging drive control method according to claim 9, further comprising controlling a time for driving the motor in the next cycle according to start time and end time of the counter-electromotive force of the motor in the previous cycle.

11. The swinging drive control method according to claim 10, wherein, the step for calculating the time for driving the motor in the next cycle comprises: calculating an intermediate point of a duration of the counter-electromotive force in the previous cycle, t1=(t.sub.0+t.sub.j)/2, t.sub.0 and t.sub.j being the start time and the end time of the counter-electromotive force in the previous cycle respectively; calculating an intermediate point of a duration for driving the motor in the next cycle, t2=t1+T/2, T being an intrinsic swinging cycle of swinging of a swinging object; and calculating a start point of the time for driving the motor in the next cycle, t=t2T.sub.1/2, T.sub.1 being a preset duration for driving the motor.

12. The swinging drive control method according to claim 11, wherein, T.sub.1 is less than T/2, and in a process from a highest point to a lowest point, t is later than a time for arriving at the highest point and is earlier than a time for arriving at the lowest point.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is a structural block diagram of an apparatus of the present invention;

(2) FIG. 2 is a schematic structural diagram of the apparatus of the present invention;

(3) FIG. 3 is a circuit diagram for motor drive and counter-electromotive force detection;

(4) FIG. 4 illustrates an embodiment of the present invention in a baby swing;

(5) FIG. 5 illustrates an embodiment of the present invention in a baby rocking chair;

(6) FIG. 6 illustrates an embodiment of the present invention in an adult rocking chair;

(7) FIG. 7 illustrates an embodiment of the present invention in an adult rocking chair;

(8) FIG. 8 illustrates an embodiment of the present invention in an adult swing;

(9) FIG. 9 is a flow chart of a method of the present invention.

DETAILED DESCRIPTION

(10) The present invention is further descried below in combination with the accompanying drawings. The following embodiments are merely used for more clearly describing the technical solutions of the present invention, but are not intended to limit the scope of protection of the present invention.

(11) As shown in FIG. 1, a swinging drive control apparatus includes a controller 1 and a motor 2.

(12) The controller 1 is electrically connected to the motor 2, and the main functions of the controller 1 are as follows:

(13) 1. Outputting A PWM pulse to the motor 2.

(14) 2. Detecting a counter-electromotive force of the motor 2 in a previous cycle and driving the motor 2 according to the detection result.

(15) In a swinging cycle of a swinging object, the first half cycle is the time when the controller 1 drives the motor 2 to push the swinging object to swing, and the second half cycle is the time when the controller 1 detects the counter-electromotive force of the motor 2. The controller 1 controls a PWM pulse duty factor in a next cycle according to a maximum counter-electromotive force value of the motor 2 in the previous cycle, so as to implement swinging amplitude control of the swinging object; specifically, the maximum counter-electromotive force value is compared with a preset value, the PWM pulse duty factor in the next cycle is calculated using a Proportional-Derivative (PD) algorithm, and the controller 1 controls the motor 2 using a PWM method.

(16) 3. The controller 1 controls the time for driving the motor 2 in the next cycle according to start time and end time of the counter-electromotive force of the motor 2 in the previous cycle, so as to implement swinging frequency and phase tracking of the swinging object.

(17) The motor 2 is connected to the swinging object 4 by means of a deceleration system and outputs a swinging driving force according to the received PWM pulse.

(18) The structure of the swinging drive control apparatus may be as illustrated in FIG. 2. A circuit board of the controller 1 is fixed inside a box body 3; a set port of the controller 1 may be provided at a surface of the box body 3; the controller 1 is connected to a power supply; the rear end of the motor 2 is also fixed inside the box body 3; the front end (i.e., a rotary shaft end) of the motor 2 extends out of the box body 3; the front end of the motor 2 is connected to an end portion of the swinging object 4; and the swinging object 4 is driven to swing by rotation of the motor 2.

(19) Three switches in FIG. 3 are used for implementing PWM pulse control. When the three switches are closed, the motor 2 is connected to the power supply, entering a PWM pulse high level time; when the three switches are open, the motor 2 is disconnected from the power supply, entering a PWM pulse low level time. When the counter-electromotive force is measured, the three switches are also open, and the counter-electromotive force of the motor 2 is not affected by the power supply.

(20) Nowadays, common swinging objects are swings and rocking chairs or glider chairs, and the aforementioned swinging drive control apparatus may be directly applied to swings and rocking chairs or glider chairs. Please refer to FIGS. 5-8 for details.

(21) As shown in FIG. 9, a swinging drive control method is specifically as below:

(22) A) detecting a counter-electromotive force of a motor 2 in a previous cycle;

(23) B) comparing a maximum counter-electromotive force value with a preset value, and calculating a PWM pulse duty factor in a next cycle; and

(24) C) controlling the time for driving the motor 2 in the next cycle according to start time and end time of the counter-electromotive force of the motor 2 in the previous cycle.

(25) The process for calculating the time for driving the motor 2 in the next cycle is as follows:

(26) c1) presetting a measured intrinsic swinging cycle T of swinging of a swinging object;

(27) c2) calculating an intermediate point of a duration of the counter-electromotive force in the previous cycle, t1=(t.sub.0+t.sub.j)/2, t.sub.0 and t.sub.j respectively being the start time and the end time of the counter-electromotive force in the previous cycle;

(28) c3) calculating an intermediate point of a duration for driving the motor 2 in the next cycle, t2=t1+T/2;

(29) c4) calculating a start point of the time for driving the motor 2 in the next cycle, t=t2T.sub.1/2, T1 being a preset control signal duration, T.sub.1 being less than T/2, and in a process from a highest point to a lowest point, t being later than the time for arriving at the highest point and being earlier than the time for arriving at the lowest point.

(30) By directly detecting a counter-electromotive force of a motor 2 without using a sensor, the present invention implements swinging frequency and phase tracking as well as swinging amplitude control, and simplifies a control system, thereby enabling swinging of the swinging object to resonate with driving of the motor 2, so as to achieve comfort and labor saving in swinging.

(31) The above are only preferred embodiments of the present invention. It should be noted that many modifications and variations can be made thereto for a person skilled in the art without departing from the technical principle of the present invention, and those modifications and variations should also be regarded as falling within the scope of protection of the present invention.