COLLISION PREVENTION CONTROL SYSTEM BASED ON ELECTRIC LIFTING TABLE AND COLLISION PREVENTION METHOD THEREOF

20220087409 · 2022-03-24

Assignee

Inventors

Cpc classification

International classification

Abstract

The present invention provides a collision prevention control system based on an electric lifting table and a collision prevention method thereof. The collision prevention control system includes a lifting table, an electronic lifting table control box disposed on the lifting table, and a single-chip microcomputer disposed in the electric lifting table control box. The electric lifting table control box is internally provided with an acceleration and gyroscope chip, the acceleration and gyroscope chip performing synchronous motion with the lifting table, the acceleration and gyroscope chip being in information interaction with the single-chip microcomputer, and motion control on the lifting table being performed through the single-chip microcomputer. The present invention has the advantageous effects as follows: the system has higher sensitivity and more reliable operation, and senses a slight angular change or an acceleration change when the lifting table encounters resistance.

Claims

1. A collision prevention control system based on an electric lifting table, comprising a lifting table, an electronic lifting table control box disposed on the lifting table, and a single-chip microcomputer disposed in the electric lifting table control box, the electric lifting table control box being internally provided with an acceleration and gyroscope chip, the acceleration and gyroscope chip performing synchronous motion with the lifting table, the acceleration and gyroscope chip being in information interaction with the single-chip microcomputer, and motion control on the lifting table being performed through the single-chip microcomputer.

2. The collision prevention control system based on an electric lifting table according to claim 1, wherein the electric lifting table control box is carried on a panel bottom of the lifting table or a moving member of the lifting table.

3. A collision prevention method of the collision prevention control system based on an electric lifting table according to claim 1, comprising the following steps: 1) building a X.sub.2-Y.sub.2-Z.sub.2 coordinate system with reference to a ground plane, building a X.sub.1-Y.sub.1-Z.sub.1 coordinate system of the acceleration and gyroscope chip; and sensing accelerations and motion angular velocities for three axial directions of the X.sub.1-Y.sub.1-Z.sub.1 coordinate system through the acceleration and gyroscope chip; 2) when the lifting table stays still or moves at a constant speed, the acceleration and gyroscope chip being subjected to a gravity acceleration only, in which case the acceleration and gyroscope chip is parallel with ground, such that there is a gravity acceleration in direction Z.sub.1 only, and gravity acceleration components in axis X.sub.1 and axis Y.sub.1 are both 0; 3) when the lifting table is tilted with respect to ground, the gravity acceleration of the acceleration and gyroscope chip respectively generating components on the axes X.sub.1, Y.sub.1 and Z.sub.1, and obtaining a tilting angle of the acceleration and gyroscope chip at this moment according to a component value; 4) during a process for the lifting table to change from one angle to another angle, the acceleration and gyroscope chip generating a rotational motion on at least one axis of the axes X.sub.1, Y.sub.1 and Z.sub.1, using a method of calculating an angle with the gravity acceleration and a method of calculating an angle with a rotational angular velocity of a gyroscope to respectively obtain an angular variation at the moment and with an initial angle value, thus obtaining a current angle value; 5) using a Kalman Filter Algorithm with the angular variation of an angle calculated through the gravity acceleration in the step 4) as a measuring value of the Kalman Filter Algorithm and the angular variation of an angle calculated through the rotational angular velocity of the gyroscope as a process value, and fusing the two values through the Kalman Filter Algorithm, thus obtaining an angular estimation closest to a true value; 6) through the angular variation obtained by calculation in the step 5), judging whether resistance is encountered or not, thus enabling the single-chip microcomputer to make a corresponding control response.

4. The collision prevention method of the collision prevention control system based on an electric lifting table according to claim 3, wherein the using a method of calculating an angle with a gravity acceleration in the step 4) comprises: since the gravity acceleration is always perpendicular to ground plane, respectively generating components a.sub.x and a.sub.z on the axis X.sub.1 and the axis Z.sub.1 when the acceleration and gyroscope chip rotates at an angle of α around the axis Y.sub.1, wherein a.sub.x and a.sub.z are read from the acceleration and gyroscope chip through the single-chip microcomputer, thereby obtaining α=arctan g(a.sub.x/a.sub.z); and respectively generating components a.sub.y and a.sub.z on the axis Y.sub.1 and the axis Z.sub.1 when the acceleration and gyroscope chip rotates at an angle of β around the axis X.sub.1, wherein a.sub.y and a.sub.z are read from the acceleration and gyroscope chip through the single-chip microcomputer, thereby obtaining β=arctan g(a.sub.y/a.sub.z).

5. The collision prevention method of the collision prevention control system based on an electric lifting table according to claim 3, wherein the using a method of calculating an angle with a rotational angular velocity of a gyroscope in the step 4) comprises: sampling at an interval T time, reading angular velocities of W.sub.0 and W.sub.k of a corresponding time from the acceleration and gyroscope chip through the single-chip microcomputer from a time T.sub.0 to a final time T.sub.k, wherein an angle at the time T.sub.0 is 0, then an angle corresponding to the time T.sub.k is a=0+W0*T+W1*T+W2*T+ . . . +Wk−1*T.

6. The collision prevention method of the collision prevention control system based on an electric lifting table according to claim 3, wherein a method of judging whether resistance is encountered or not in the step 6) comprises comparing the angular variation obtained through the step 5) with a threshold value, wherein if the angular variation exceeds a set threshold value, it is deemed that resistance is encountered by a tabletop; otherwise, it is deemed that resistance is not encountered by the tabletop.

7. A collision prevention method of the collision prevention control system based on an electric lifting table according to claim 2, comprising the following steps: 1) building a X.sub.2-Y.sub.2-Z.sub.2 coordinate system with reference to a ground plane, building a X.sub.1-Y.sub.1-Z.sub.1 coordinate system of the acceleration and gyroscope chip; and sensing accelerations and motion angular velocities for three axial directions of the X.sub.1-Y.sub.1-Z.sub.1 coordinate system through the acceleration and gyroscope chip; 2) when the lifting table stays still or moves at a constant speed, the acceleration and gyroscope chip being subjected to a gravity acceleration only, in which case the acceleration and gyroscope chip is parallel with ground, such that there is a gravity acceleration in direction Z.sub.1 only, and gravity acceleration components in axis X.sub.1 and axis Y.sub.1 are both 0; 3) when the lifting table is tilted with respect to ground, the gravity acceleration of the acceleration and gyroscope chip respectively generating components on the axes X.sub.1, Y.sub.1 and Z.sub.1, and obtaining a tilting angle of the acceleration and gyroscope chip at this moment according to a component value; 4) during a process for the lifting table to change from one angle to another angle, the acceleration and gyroscope chip generating a rotational motion on at least one axis of the axes X.sub.1, Y.sub.1 and Z.sub.1, using a method of calculating an angle with the gravity acceleration and a method of calculating an angle with a rotational angular velocity of a gyroscope to respectively obtain an angular variation at the moment and with an initial angle value, thus obtaining a current angle value; 5) using a Kalman Filter Algorithm with the angular variation of an angle calculated through the gravity acceleration in the step 4) as a measuring value of the Kalman Filter Algorithm and the angular variation of an angle calculated through the rotational angular velocity of the gyroscope as a process value, and fusing the two values through the Kalman Filter Algorithm, thus obtaining an angular estimation closest to a true value; 6) through the angular variation obtained by calculation in the step 5), judging whether resistance is encountered or not, thus enabling the single-chip microcomputer to make a corresponding control response.

8. The collision prevention method of the collision prevention control system based on an electric lifting table according to claim 7, wherein the using a method of calculating an angle with a gravity acceleration in the step 4) comprises: since the gravity acceleration is always perpendicular to ground plane, respectively generating components a.sub.x and a.sub.z on the axis X.sub.1 and the axis Z.sub.1 when the acceleration and gyroscope chip rotates at an angle of α around the axis Y.sub.1, wherein a.sub.x and a.sub.z are read from the acceleration and gyroscope chip through the single-chip microcomputer, thereby obtaining α=arctan g(a.sub.x/a.sub.z); and respectively generating components a.sub.y and a.sub.z on the axis Y.sub.1 and the axis Z.sub.1 when the acceleration and gyroscope chip rotates at an angle of β around the axis X.sub.1, wherein a.sub.y and a.sub.z are read from the acceleration and gyroscope chip through the single-chip microcomputer, thereby obtaining β=arctan g(a.sub.y/a.sub.z).

9. The collision prevention method of the collision prevention control system based on an electric lifting table according to claim 7, wherein the using a method of calculating an angle with a rotational angular velocity of a gyroscope in the step 4) comprises: sampling at an interval T time, reading angular velocities of W.sub.0 and W.sub.k of a corresponding time from the acceleration and gyroscope chip through the single-chip microcomputer from a time T.sub.0 to a final time T.sub.k, wherein an angle at the time T.sub.0is 0, then an angle corresponding to the time T.sub.k is a=0+W0*T+W1*T+W2*T+ . . . +Wk−1*T.

10. The collision prevention method of the collision prevention control system based on an electric lifting table according to claim 7, wherein a method of judging whether resistance is encountered or not in the step 6) comprises comparing the angular variation obtained through the step 5) with a threshold value, wherein if the angular variation exceeds a set threshold value, it is deemed that resistance is encountered by a tabletop; otherwise, it is deemed that resistance is not encountered by the tabletop.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0019] FIG. 1 is a block diagram of a control process of the present invention;

[0020] FIG. 2 is a coordinate system diagram of an acceleration and gyroscope chip of the present invention;

[0021] FIG. 3 is a schematic diagram of an acceleration and gyroscope chip of the present invention that rotates at an angle of α around the axis Y.sub.1; and

[0022] FIG. 4 is a schematic diagram of an acceleration and gyroscope chip of the present invention that rotates at an angle of β around the axis X.sub.1;

[0023] Of the drawings, 1—lifting table, 2—electric lifting table control box, 3—single-chip microcomputer and 4—acceleration and gyroscope chip.

DESCRIPTION OF THE EMBODIMENTS

[0024] The following further describes the present invention in corporation with the drawings accompanying the description.

[0025] As shown in FIGS. 1-4, a collision prevention control system based on an electric lifting table comprises a lifting table 1, an electric lifting table control box 2, a single-chip microcomputer 3 and an acceleration and gyroscope chip 4 (the acceleration and gyroscope chip 4 is a current electronic component of a mobile phone or a balance bike for measuring a motion trail of the mobile phone or an angle of the balance bike).

[0026] The electronic lifting table control box 2 is disposed on a panel bottom of the lifting table 1 or a moving member of the lifting table 1; the single-chip microcomputer 3 is disposed in the electric lifting table control box 2 for controlling a driving system of the lifting table; and the electric lifting table control box 2 is internally provided with an acceleration and gyroscope chip 4, the acceleration and gyroscope chip 4 performing synchronous motion with the lifting table 1, and the acceleration and gyroscope chip 4 being in information interaction with the single-chip microcomputer 3 and motion control on the lifting table 1 being performed through the single-chip microcomputer 3.

[0027] A collision prevention method of a collision prevention control system based on an electric lifting table comprises specific steps as follows:

[0028] 1) building a X.sub.2-Y.sub.2-Z.sub.2 coordinate system with reference to a ground plane, building a X.sub.1-Y.sub.1-Z.sub.1 coordinate system of the acceleration and gyroscope chip 4; and sensing accelerations and motion angular velocities for three axial directions of the X.sub.1-Y.sub.1-Z.sub.1 coordinate system through the acceleration and gyroscope chip;

[0029] 2) when the lifting table stays still or moves at a constant speed, the acceleration and gyroscope chip being subjected to a gravity acceleration only, in which case the acceleration and gyroscope chip is parallel with ground, such that there is a gravity acceleration in direction Z.sub.1 only, and gravity acceleration components in axis X.sub.1 and axis Y.sub.1 are both 0;

[0030] 3) when the lifting table is tilted with respect to ground, the gravity acceleration of the acceleration and gyroscope chip respectively generating components on the axes X.sub.1, Y.sub.1 and Z.sub.1, and obtaining a tilting angle of the acceleration and gyroscope chip at the moment according to a component value;

[0031] 4) during a process for the lifting table to change from one angle to another angle (a change occurs to an angle after collision occurs to a tabletop), the acceleration and gyroscope chip generating a rotational motion on at least one axis of the axes X.sub.1, Y.sub.1 and Z.sub.1, using a method of calculating an angle with the gravity acceleration and a method of calculating an angle with a rotational angular velocity of a gyroscope to respectively obtain an angular variation at the moment, and with an initial angle value, thus obtaining a current angle value;

[0032] wherein the using a method of calculating an angle with a gravity acceleration in the step 4) comprises: since the gravity acceleration is always perpendicular to ground plane, respectively generating components a.sub.x and a.sub.z on the axis X.sub.1 and the axis Z.sub.1 when the acceleration and gyroscope chip rotates at an angle of α around axis Y.sub.1, wherein a.sub.x and a.sub.z are read from the acceleration and gyroscope chip 4 through the single-chip microcomputer 3, thereby obtaining α=arctan g(a.sub.x/a.sub.z); and respectively generating components a.sub.y and a.sub.z on the axis Y.sub.1 and the axis Z.sub.1 when the acceleration and gyroscope chip rotates at an angle of β around the axis X.sub.1, wherein a.sub.y and a.sub.z are read from the acceleration and gyroscope chip 4 through the single-chip microcomputer 3, thereby obtaining β=arctan g(a.sub.y/a.sub.z). (It should be noted that an angle of the acceleration and gyroscope chip rotating about the direction of the axis Z.sub.1 is not considered in the application).

[0033] wherein the using a method of calculating an angle with a rotational angular velocity of a gyroscope in the step 4) comprises: sampling at an interval T time and reading angular velocities of W.sub.0 and W.sub.k of a corresponding time from the acceleration and gyroscope chip through the single-chip microcomputer from a time T.sub.0 to a final time T.sub.k, wherein an angle at time T.sub.0 is 0, then an angle corresponding to the time T.sub.k is a=0+W0*T+W1*T+W2*T+ . . . +Wk−1* T.

[0034] 5) using a Kalman Filter Algorithm with the angular variation of an angle calculated through the gravity acceleration in the step 4) as a measuring value of the Kalman Filter

[0035] Algorithm and the angular variation of an angle calculated through a rotational angular velocity of a gyroscope as a process, and obtaining an estimation closest to a true value through the Kalman Filter Algorithm;

[0036] 6) through the angular variation obtained by calculation in the step 5), judging whether resistance is encountered or not, thus enabling the single-chip microcomputer 3 to make a corresponding control response. The method of judging whether resistance is encountered or not comprises comparing the angular variation obtained through the step 5) with a threshold value, wherein if the angular variation exceeds a set threshold value, it is deemed that resistance is encountered by a tabletop; otherwise, it is deemed that resistance is not encountered by the tabletop.