CN113050477B - Lifting system, control method and electronic equipment - Google Patents

Lifting system, control method and electronic equipment Download PDF

Info

Publication number
CN113050477B
CN113050477B CN202110221035.8A CN202110221035A CN113050477B CN 113050477 B CN113050477 B CN 113050477B CN 202110221035 A CN202110221035 A CN 202110221035A CN 113050477 B CN113050477 B CN 113050477B
Authority
CN
China
Prior art keywords
motor
lifting mechanism
driving
pulling
lifting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110221035.8A
Other languages
Chinese (zh)
Other versions
CN113050477A (en
Inventor
马雷
王朝
罗伟
赵楠
任晓龙
邓旭同
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202110221035.8A priority Critical patent/CN113050477B/en
Publication of CN113050477A publication Critical patent/CN113050477A/en
Application granted granted Critical
Publication of CN113050477B publication Critical patent/CN113050477B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Abstract

The embodiment of the application provides a lifting system, a control method and electronic equipment, relates to the technical field of motor driving, and is used for reducing the probability of the phenomenon that a front camera cannot continuously rise due to blockage in the lifting process. A processing unit in the lifting system responds to a first operation of a user and sends a first control signal to a motor driving chip. The motor driving chip responds to the first control signal to drive the motor to rotate positively with a first pulling-out torque, and drives the lifting mechanism to execute a first lifting action. The processing unit sends a reset signal to the motor driving chip when the lifting mechanism is blocked for the first time. The motor driving chip responds to the reset signal to drive the motor to rotate reversely to drive the lifting mechanism to reset. And the processing unit sends a second control signal to the motor driving chip when the lifting mechanism is blocked for the first time. The motor driving chip responds to the second control signal, and drives the motor to rotate positively with a second pulling torque to drive the lifting mechanism to perform a second lifting action.

Description

Lifting system, control method and electronic equipment
Technical Field
The application relates to the technical field of motor driving, in particular to a lifting system, a control method and electronic equipment.
Background
With the continuous development of electronic technology, the configuration requirements of users on electronic devices are higher and higher. For example, taking the electronic device as a mobile phone as an example, the mobile phone needs to be configured with a front-facing camera function and also needs to have a large screen occupation ratio. In order to reduce the display area of the display screen occupied by the front camera, the front camera can be arranged on the back of the display screen, and the front camera stretches out of the display screen when the user needs the front camera. However, during use, the front camera often suffers from jamming and cannot continue to rise when lifted.
Disclosure of Invention
The embodiment of the application provides a lifting system, a control method and electronic equipment, which are used for reducing the probability of the phenomenon that the front camera in the electronic equipment cannot continuously lift due to blockage in the lifting process.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect of embodiments of the present application, a lifting system is provided. This operating system includes: the device comprises a lifting mechanism, a motor connected with the lifting mechanism, a motor driving chip electrically connected with the motor and a processing unit electrically connected with the motor driving chip. The processing unit is used for responding to a first operation of a user and sending a first control signal to the motor driving chip. The first operation is an operation indicating that the lifting mechanism is lifted. The motor driving chip is used for responding to the first control signal and driving the motor to rotate positively with a first pulling-out torque. The motor is used for driving the lifting mechanism to execute a first lifting action when the motor rotates positively with a first pulling torque. The processing unit is also used for sending a reset signal to the motor driving chip when the lifting mechanism is blocked for the first time. The motor driving chip is also used for responding to a reset signal and driving the motor to rotate reversely. And the motor is also used for driving the lifting mechanism to reset when the lifting mechanism rotates reversely. The processing unit is also used for sending a second control signal to the motor driving chip when the lifting mechanism is blocked for the first time. And the motor driving chip is also used for responding to a second control signal and driving the motor to rotate positively with a second pulling-out torque after the lifting mechanism is reset. The motor is also used for driving the lifting mechanism to execute the second lifting action when the motor rotates positively with the second pulling moment. Wherein the second pull-out torque is greater than the first pull-out torque. In summary, when the user needs to use the camera to shoot, the lifting mechanism can perform the first lifting action from the initial position. In the process, a motor for driving the lifting mechanism is started at an initial position to generate a starting torque, namely, the maximum loading capacity during starting. And then the lifting mechanism is driven to reach a constant rotating speed in the process of executing the first lifting action, and the loading capacity at the rotating speed is the first pulling-out torque. At this time, the first pull-out torque is greater than the start torque. When the first lifting of the lifting mechanism is blocked, the lifting mechanism can be reset to the initial position, and then the second lifting action is executed from the initial position. In this case, the motor can be started again at the initial position to generate a starting torque, and then the lifting mechanism is driven to reach another constant rotation speed in the process of executing the second lifting action, and the loading capacity at the rotation speed is the second pulling-out torque. At this time, the second pulling-out torque is larger than the above-mentioned starting torque. In this way, the motor can achieve the torque corresponding to the constant rotating speed in the process of driving the lifting mechanism to perform two lifting actions, namely the first pulling-out torque and the second pulling-out torque. Both moments are greater than the starting moment. In addition, the second pulling-out moment is larger than the first pulling-out moment, so that the thrust of the lifting mechanism during the second lifting action is larger than the thrust of the lifting mechanism during the first lifting action, the resistance of the lifting mechanism is favorably improved, the blocked state is broken under the condition that the resistance is continuous, for example, the lifting mechanism is blocked by dust or foreign matters, and the purpose of pushing the camera out of the edge of the display module is fulfilled. Compared with the scheme that after the first lifting of the lifting mechanism is blocked, the motor is continuously started in situ to drive the lifting mechanism to execute the second lifting action with smaller starting torque, the electronic device and the control method of the electronic device provided by the embodiment of the application can enable the lifting mechanism to be reset to the initial position under the driving of the motor after the first lifting is blocked, so that when the lifting mechanism executes the second lifting action, the starting torque of the motor is increased to the second pulling torque which is larger than the first pulling torque, and the purpose of increasing the thrust of the lifting mechanism is achieved when the motor drives the lifting mechanism to execute the second lifting action.
Optionally, the processing unit includes a power management module electrically connected to the motor driving chip. The processing unit is used for sending a first control signal to the motor driving chip and comprises: the power management module is used for generating a first reference voltage and sending the first reference voltage to the motor driving chip. The motor driving chip is used for responding to the first control signal, and the driving motor positively rotates at a first pulling-out torque and comprises: the motor driving chip is used for inputting a first driving current to the motor according to the first reference voltage. When the motor is used for rotating positively with a first pulling-out torque, the motor drives the lifting mechanism to execute a first lifting action, and the first lifting action comprises the following steps: the motor is used for generating a first pulling-out torque according to the first driving current, and the motor rotates forwards to drive the lifting mechanism to execute a first lifting action. The processing unit is further used for sending a second control signal to the motor driving chip when the lifting mechanism is blocked for the first time, and the second control signal comprises: the power management module is further used for sending a second reference voltage to the motor driving chip when the lifting mechanism is blocked for the first time. The second reference voltage is greater than the first reference voltage. The motor driving chip is also used for responding to a second control signal, and the driving motor is driven to rotate positively with a second pulling-out torque after the lifting mechanism is reset, and the driving motor comprises: the motor driving chip is also used for inputting a second driving current to the motor after the lifting mechanism is reset according to a second reference voltage. The second driving current is larger than the first driving current. The motor is also used for driving the lifting mechanism to execute the second lifting action when the motor rotates positively with the second pulling torque, and comprises: the motor is also used for generating a second pulling-out torque according to a second driving current, and the motor rotates in the positive direction to drive the lifting mechanism to execute a second lifting action. In summary, when the electronic device responds to the first operation of the user to enable the lifting mechanism to perform the first lifting operation, the motor driver chip may obtain the first reference voltage from the low dropout regulator, and at this time, the motor driver chip may provide the first driving current to the motor according to the first reference voltage, so that the motor drives the lifting mechanism to perform the first lifting operation with the first pulling torque. When the first lifting action of the lifting mechanism is blocked, the motor driving chip can obtain a second reference voltage from the low dropout linear regulator. The second reference voltage is greater than the first reference voltage, so that the motor driving chip can provide a second driving current to the motor according to the second reference voltage. The second drive current is greater than the first drive current. In this case, the motor may drive the lifting mechanism to perform the second lifting motion with the second pulling torque. The second pulling-out torque is greater than the first pulling-out torque, so that greater thrust is exerted when the lifting mechanism performs the second lifting action.
Optionally, the processing unit further includes a central processing module electrically connected to the power management module. The processing unit is used for sending the first control signal to the motor driving chip and further comprises: the central processing module is used for sending a first power supply signal to the power management module. The power management module is further configured to generate a first reference voltage according to the first power supply signal. The processing unit is further used for sending a second control signal to the motor driving chip when the lifting mechanism is blocked for the first time, and the second control signal comprises: the central processing module is also used for sending a second power supply signal to the power management module when the lifting mechanism is blocked for the first time; the power management module is further configured to generate a second reference voltage according to the second power supply signal. In this case, the electronic device may further include a detection device electrically connected to the central processing module, the detection device being capable of detecting when the lifting mechanism is blocked, and when it is detected that the lifting mechanism is blocked, the detection device may send a blocking instruction to the central processing module. The central processing module can send a second power supply signal to the power management module according to the blocking instruction.
Optionally, the lifting system further includes a first voltage dividing resistor and a second voltage dividing resistor. The first end of the first voltage-dividing resistor is electrically connected with the power management module, and the second end of the first voltage-dividing resistor is electrically connected with the first end of the second voltage-dividing resistor and the motor driving chip. The second terminal of the second voltage-dividing resistor is electrically connected with the ground terminal. The resistance value of the first divider resistor is larger than that of the second divider resistor. Because the reference voltage of the motor driving chip has a small value, the voltage output by the power management module can be divided by setting the first voltage dividing resistor and the second voltage dividing resistor, so that the motor driving chip can obtain the reference voltage with a small value.
Optionally, the motor driving chip includes a first input interface and a second input interface; the processing unit is electrically connected with the first input interface and the second input interface. The processing unit is used for sending a first control signal to the motor driving chip and comprises: the processing unit is used for generating first proportioning data according to the first current limiting proportion and controlling the voltage of the first input interface and the second input interface according to the first proportioning data. The motor driving chip is used for responding to a first control signal, and the driving motor rotates positively with a first pulling-out torque and comprises: the motor driving chip is used for inputting a third driving current to the motor under the control of the voltage input to the first input interface and the second input interface according to the first proportioning data. The third driving current is the first current limiting ratio multiplied by the maximum current of the motor driving chip during single power-on. When the motor is used for rotating positively with a first pulling-out torque, the motor drives the lifting mechanism to execute a first lifting action, and the first lifting action comprises the following steps: the motor is used for generating a first pulling-out torque according to the third driving current, and the motor rotates in the positive direction to drive the lifting mechanism to execute a first lifting action. The processing unit is further used for sending a second control signal to the motor driving chip when the lifting mechanism is blocked for the first time, and the second control signal comprises: the processing unit is also used for generating second proportioning data according to a second current limiting proportion when the lifting mechanism is blocked for the first time, and controlling the voltage of the first input interface and the second input interface according to the second proportioning data; wherein the second current limit ratio is greater than the first current limit ratio. The motor driving chip is also used for responding to a second control signal, and the driving motor is driven to rotate positively with a second pulling-out torque after the lifting mechanism is reset, wherein the driving motor comprises: the motor driving chip is also used for inputting a fourth driving current to the motor under the control of the voltage input to the first input interface and the second input interface according to the second proportioning data after the lifting mechanism is reset; the fourth drive current is the second current limit ratio multiplied by the single power-up maximum current of the motor drive chip. The motor is also used for driving the lifting mechanism to execute the second lifting action when the motor rotates positively with the second pulling torque, and comprises: the motor is also used for generating a second pulling-out torque according to the fourth driving current, and the second pulling-out torque rotates in the positive direction to drive the lifting mechanism to execute a second lifting action. In summary, when the electronic device responds to the first operation of the user to enable the lifting mechanism to perform the first lifting action, the central processing module in the processing unit controls the motor driving chip to provide a smaller third driving current to the motor by using a smaller first current limiting ratio, so that the motor drives the lifting mechanism to perform the first lifting action with a smaller first pulling torque. So that the noise of the motor can be reduced. When the first lifting action of the lifting mechanism is blocked, the central processing module controls the motor driving chip to provide a larger fourth driving current for the motor by adopting a larger second current limiting ratio, so that the motor drives the lifting mechanism to execute the second lifting action by a larger second pulling-out torque, and the lifting mechanism has larger thrust when executing the second lifting action. In addition, the user can be reminded of the existence of an obstacle causing the obstruction of lifting through the large noise emitted by the motor.
Optionally, the first input interface is configured to be in a low level, a high level, or a high impedance state under the control of the processing unit. The second input interface is used for being in a low level, a high level or a high impedance state under the control of the processing unit. Different matching data can be obtained by carrying out different permutation and combination on the states of the voltages of the second input interface of the first input interface box. Each set of matching data corresponds to a current limit ratio.
Optionally, the maximum current of the motor driver chip during single power-on is directly proportional to the reference voltage received by the motor driver chip, and inversely proportional to the resistance of the peripheral circuit of the motor driver chip.
Optionally, the fourth drive current is less than the single term received maximum rated current received by the motor. The maximum rated current received by the motor is in direct proportion to the working voltage of the motor, and in inverse proportion to the sum of the resistance of the motor single coil, the resistance of the internal circuit of the motor driving chip and the resistance of the peripheral circuit of the motor driving chip. Thus, the noise generated when the motor drives the lifting mechanism to perform the second lifting operation can be reduced.
Optionally, the second current limit ratio is 75% to 100%. In this case, the fourth driving current supplied to the motor by the motor driving chip is larger than the maximum rated current received by the motor alone. Thus, when the value of the second current limiting ratio is in the range of 75% to 100%, the fourth drive current approaches or is a square wave. When the second current limiting ratio is 100%, the fourth driving current is a square wave. In this case, the electric power due to the motor is proportional to the area integral of the drive current waveform it receives. The area integral of the waveform close to the square wave is larger than that of the sine wave, and therefore, when the motor driving chip supplies a larger fourth driving current to the motor, which may be larger than the single term receiving maximum rated current received by the motor, the electric power of the motor increases. The electric power is the sum of mechanical power and heat loss of the motor, copper loss of the coil in the motor, and iron loss of the magnet. Therefore, the mechanical power of the motor can be increased by increasing the electric power of the motor, so that the motor drives the lifting mechanism to perform the second lifting action with a larger second pulling-out torque, and the lifting mechanism has larger thrust when performing the second lifting action.
Optionally, the driving motor is configured to, in response to the first control signal, drive the motor to rotate in the forward direction at the first pulling torque, and the driving motor includes: the motor driving chip is used for responding to the first control signal and inputting a fifth driving current to the motor; the fifth drive current is close to or sinusoidal. When the motor is used for rotating positively with a first pulling-out torque, the motor drives the lifting mechanism to execute a first lifting action, and the first lifting action comprises the following steps: the motor is specifically used for generating a first pulling-out torque by adopting a micro-stepping driving mode according to the fifth driving current, and driving the lifting mechanism to execute a first lifting action by rotating in the positive direction. The motor driving chip is also used for responding to a second control signal, and the driving motor is driven to rotate positively with a second pulling-out torque after the lifting mechanism is reset, and the driving motor comprises: the motor driving chip is also used for responding to the second control signal and inputting a sixth driving current to the motor after the lifting mechanism is reset; the sixth drive current is a square wave. The motor is also used for driving the lifting mechanism to execute the second lifting action when the motor rotates positively with the second pulling torque, and comprises: the motor is also used for generating a second pulling-out torque by adopting a full-stepping driving mode according to the sixth driving current, and the motor rotates forwards to drive the lifting mechanism to execute a second lifting action. In this case, the electric power due to the motor is proportional to the area integral of the drive current waveform it receives. The area integral of the waveform of the square wave is 1.5 times the area integral of the waveform of the sine wave. Therefore, when the lifting mechanism is driven to perform the second lifting action, the electric power of the motor is increased. The electric power is the sum of mechanical power and heat loss of the motor, copper loss of the coil in the motor, and iron loss of the magnet. Therefore, the mechanical power of the motor can be increased by increasing the electric power of the motor, so that the motor drives the lifting mechanism to perform the second lifting action with a larger second pulling-out torque, and the lifting mechanism has larger thrust when performing the second lifting action.
Optionally, the processing unit includes a pulse width modulator electrically connected to the motor driving chip. The processing unit is used for sending a first control signal to the motor driving chip and comprises: the pulse width modulator is used for sending a first pulse signal to the motor driving chip. The motor driving chip is used for responding to a first control signal, and the driving motor rotates positively with a first pulling-out torque and comprises: the motor driving chip is also used for driving the motor to rotate positively at a first rotating speed according to the first pulse signal. When the motor is used for rotating positively with a first pulling-out torque, the motor drives the lifting mechanism to execute a first lifting action, and the first lifting action comprises the following steps: the motor is used for generating a first pulling-out torque when rotating positively at a first rotating speed to drive the lifting mechanism to execute a first lifting action. The processing unit is further used for sending a second control signal to the motor driving chip when the lifting mechanism is blocked for the first time, and the second control signal comprises: the pulse width modulator is also used for sending a second pulse signal to the motor driving chip when the lifting mechanism is blocked for the first time. And the frequency of the second pulse signal is less than that of the first pulse signal. The motor driving chip is also used for responding to a second control signal, and driving the motor to rotate positively with a second pulling-out torque after the lifting mechanism is reset, and the motor driving chip comprises: the motor driving chip is also used for driving the motor to rotate positively at a second rotating speed according to the second pulse signal. Wherein the second rotation speed is less than the first rotation speed. The motor is also used for driving the lifting mechanism to execute the second lifting action when the motor rotates positively with the second pulling torque, and comprises: the motor is also used for generating a second pulling-out torque when rotating positively at a second rotating speed to drive the lifting mechanism to execute a second lifting action. In summary, when the electronic device responds to the first operation of the user to cause the lifting mechanism to perform the first lifting action, the pulse width modulator may be configured to send a first pulse signal with a higher frequency to the motor driving chip. The motor driving chip drives the motor to rotate positively at a first rotating speed which is higher according to the first pulse signal, and generates a smaller first pulling-out torque to drive the lifting mechanism to execute a first lifting action. When the first lifting action of the lifting mechanism is blocked, the pulse width modulator can be used for sending a second pulse signal with lower frequency to the motor driving chip. The motor driving chip drives the motor to rotate positively at a second rotating speed with a slower rotating speed according to the second pulse signal, and generates a larger second pulling-out torque to drive the lifting mechanism to execute a second lifting action, so that the thrust of the lifting mechanism is increased.
In a second aspect of the embodiments of the present application, there is provided a control method applied to an electronic device, the method including: first, the electronic device generates a first control signal in response to a first operation by a user. The first operation is an operation indicating that the lifting mechanism is lifted. Then, in response to the first control signal, the electronic device drives a motor of the electronic device to rotate positively with a first pulling torque, so as to drive a lifting mechanism of the electronic device to perform a first lifting action. When the lifting mechanism is blocked from lifting for the first time, the electronic equipment generates a reset signal and a second control signal. Next, in response to the reset signal, the electronic device drives the motor to rotate in reverse to drive the lifting mechanism to reset. And then, in response to a second control signal, after the lifting mechanism of the electronic equipment is reset, the driving motor positively rotates with a second pulling-out torque so as to drive the lifting mechanism to execute a second lifting action. Wherein the second pull-out torque is greater than the first pull-out torque. The above control method has the same technical effects as the lifting system provided in the foregoing embodiment, and details are not repeated herein.
Optionally, the generating, by the electronic device, the first control signal includes: the electronic device generates a first reference voltage and generates a first drive current input to the motor according to the first reference voltage. Responding to the first control signal, the electronic device drives a motor of the electronic device to rotate positively with a first pulling torque so as to drive a lifting mechanism of the electronic device to execute a first lifting action, and the first lifting action comprises the following steps: according to the first driving current, the electronic equipment driving motor generates a first pulling-out torque and rotates forwards to drive the lifting mechanism to perform a first lifting action. The electronic device generating the second control signal comprises: the electronic equipment generates a second reference voltage and generates a second driving current input to the motor according to the second reference voltage; the second driving current is larger than the first driving current. In response to the second control signal, after the lifting mechanism is reset, the driving motor rotates positively with a second pulling torque to drive the lifting mechanism to perform a second lifting action, including: according to the second driving current, after the lifting mechanism of the electronic equipment is reset, the driving motor generates a second pulling-out torque and rotates forwards to drive the lifting mechanism to execute a second lifting action. The beneficial effects of increasing the thrust of the lifting mechanism are achieved by changing the reference voltage of the motor driving chip, which are the same as the above, and are not repeated here.
Optionally, the generating, by the electronic device, the first control signal includes: the electronic device generates first proportioning data according to the first current limiting ratio, and generates a third driving current input to the motor according to the first proportioning data. The third drive current is the first current limit ratio multiplied by the single power-up maximum current received by the motor. Responding to the first control signal, the electronic device drives a motor of the electronic device to positively rotate at a first pulling-out torque so as to drive a lifting mechanism of the electronic device to execute a first lifting action, and the method comprises the following steps: according to the third driving current, the electronic equipment driving motor generates a first pulling-out torque and rotates forwards to drive the lifting mechanism to perform a first lifting action. The electronic device generating the second control signal comprises: the electronic equipment generates second proportioning data according to the second current limiting proportion; and generates a fourth drive current to be input to the motor based on the second matching data. The fourth drive current is the second current limit ratio multiplied by the single power-up maximum current received by the motor. Wherein the second current limit ratio is greater than the first current limit ratio. In response to the second control signal, after the lifting mechanism is reset, the driving motor rotates positively with a second pulling torque to drive the lifting mechanism to perform a second lifting action, including: according to the fourth driving current, after the lifting mechanism of the electronic equipment is reset, the driving motor generates a second pulling-out torque and rotates forwards to drive the lifting mechanism to execute a second lifting action. Through adjusting the current-limiting ratio, realize increasing the beneficial effect of elevating system thrust and the same with the aforesaid, no longer give consideration to here.
Optionally, the generating, by the electronic device, the first control signal includes: the electronic device generates a fifth driving current; the fifth drive current approximates a sine wave. Responding to the first control signal, the electronic device drives a motor of the electronic device to rotate positively with a first pulling torque so as to drive a lifting mechanism of the electronic device to execute a first lifting action, and the first lifting action comprises the following steps: according to the fifth driving current, the electronic equipment driving motor generates a first pulling-out torque in a micro-stepping driving mode, rotates forwards and drives the lifting mechanism to perform a first lifting action. The electronic device generating the second control signal comprises: the electronic device generates a sixth driving current; the sixth drive current is a square wave. In response to the second control signal, after the lifting mechanism is reset, the driving motor rotates positively with a second pulling torque to drive the lifting mechanism to perform a second lifting action, including: according to the sixth driving current, after the lifting mechanism of the electronic equipment is reset, the driving motor generates a second pulling-out torque in a full-stepping driving mode and rotates in the positive direction to drive the lifting mechanism to execute a second lifting action. Through the mode of switching motor drive chip driving motor, realize increasing the beneficial effect of elevating system thrust and the same said, no longer give unnecessary details here.
Optionally, the generating, by the electronic device, the first control signal includes: the electronic device generates a first pulse signal. Responding to the first control signal, the electronic device drives a motor of the electronic device to rotate positively with a first pulling torque so as to drive a lifting mechanism of the electronic device to execute a first lifting action, and the first lifting action comprises the following steps: according to the first pulse signal, the electronic equipment drives the motor to rotate positively at a first rotating speed and generate a first pulling torque to drive the lifting mechanism to perform a first lifting action. The electronic device generating the second control signal comprises: the electronic device generates a second pulse signal. In response to the second control signal, after the lifting mechanism is reset, the driving motor rotates positively with a second pulling torque to drive the lifting mechanism to perform a second lifting action, including: according to the second pulse signal, after the lifting mechanism is reset, the electronic equipment drives the motor to rotate positively at a second rotating speed and generate a second pulling-out torque to drive the lifting mechanism to execute a second lifting action. And the frequency of the second pulse signal is less than that of the first pulse signal. The second rotational speed is less than the first rotational speed. The beneficial effects of increasing the thrust of the lifting mechanism are achieved by changing the rotating speed of the motor, which are the same as the above, and are not repeated here.
In a third aspect of embodiments of the present application, an electronic device is provided, which includes a memory and a processor. The memory is for storing a computer program. The processor is adapted to execute the computer program to perform any of the methods described above. The electronic device has the same technical effect as the lifting system provided by the foregoing embodiment, and details are not described here.
Optionally, the electronic device includes any one of the above-described lifting systems, a display module, and a camera. The lifting system is arranged on the back of the display module. The camera is connected with the lifting system; the lifting system is used for driving the camera to extend out of the display module or driving the camera to retract into the display module.
In a fourth aspect of the embodiments of the present application, there is provided a computer-readable storage medium comprising a computer program which, when run on a processor, causes the processor to perform any one of the methods described above.
In a fifth aspect of embodiments of the present application, there is provided a computing device program product, which when executed by a processor, performs the method of any one of the above.
Drawings
Fig. 1a is a schematic structural diagram of an electronic device according to some embodiments of the present application;
FIG. 1b is a cross-sectional view taken along dashed line A1-A1 in FIG. 1 a;
fig. 2a is a partial cross-sectional block diagram of a back side of an electronic device according to some embodiments of the present application;
FIG. 2b is a partial cross-sectional block diagram of the back of another electronic device according to some embodiments of the present application;
FIG. 3a is a schematic diagram of a construction of the lift system of FIG. 2 a;
FIG. 3b is a schematic diagram of a structure of the lifting mechanism shown in FIG. 3 a;
fig. 4 is a flowchart of a method for controlling an electronic device according to some embodiments of the present disclosure;
FIG. 5 is a schematic illustration of a reference voltage versus output torque curve for a motor according to some embodiments of the present application;
fig. 6a is a schematic structural diagram of another electronic device provided in some embodiments of the present application;
FIG. 6b is a schematic diagram of another electronic device according to some embodiments of the present application;
fig. 6c is a schematic structural diagram of another electronic device provided in some embodiments of the present application;
FIG. 7 is a schematic structural diagram of another electronic device provided in some embodiments of the present application;
FIG. 8a is a waveform diagram of the driving current output from the motor driver IC according to some embodiments of the present application;
FIG. 8b is a waveform diagram of another driving current output from the motor driver IC according to some embodiments of the present application;
FIG. 9 is a schematic structural diagram of another electronic device provided in some embodiments of the present application;
FIG. 10a is a waveform diagram of the driving current output from the motor driver IC according to some embodiments of the present application;
FIG. 10b is a waveform diagram of another driving current output from the motor driver IC according to some embodiments of the present application;
FIG. 11 is a graph illustrating the relationship between the frequency of the pulse signal received by the motor driver IC and the output torque of the motor according to some embodiments of the present application;
fig. 12 is a schematic structural diagram of another electronic device according to some embodiments of the present application.
Reference numerals:
01-a display terminal; 10-a display module; 101-a display screen; 102-a backlight module; 20-a camera; 30-a lifting system; 31-a lifting mechanism; 310-a reduction gearbox; 311-a lead screw; 312-a slide table; 313-a support; 32-a motor; 33-motor drive chip; 34-a processing unit; 340-PMU; 3401-LDO; 341-CPU; 3411-PWM.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
In the following, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless otherwise specified.
Further, in the present application, directional terms such as "upper" and "lower" are defined with respect to a schematically-disposed orientation of components in the drawings, and it is to be understood that these directional terms are relative concepts that are used for descriptive and clarity purposes and that will vary accordingly with respect to the orientation in which the components are disposed in the drawings.
In the present application, unless expressly stated or limited otherwise, the term "coupled" is to be construed broadly, e.g., "coupled" may be a fixed connection, a removable connection, or an integral part; may be directly connected or indirectly connected through an intermediate.
The embodiment of the application provides electronic equipment. This electronic equipment can be for products that have display interface such as cell-phone, TV, display, panel computer, on-vehicle computer to and intelligent display such as intelligent wrist-watch, intelligent bracelet dress product. The embodiment of the present application does not specifically limit the specific form of the electronic device. For convenience of description, the following embodiments are exemplified by taking the electronic device 01 shown in fig. 1a as a mobile phone.
As shown in fig. 1a, the display terminal 01 mainly includes a display module 10. The display module 10 includes a display screen 101 shown in fig. 1 b.
In some embodiments of the present application, as shown in fig. 1b, the display 101 may be a Liquid Crystal Display (LCD). In this case, the display module 10 further includes a backlight unit (BLU) 102 for providing a light source to the liquid crystal display.
Alternatively, in other embodiments of the present application, the display screen 101 may be an Organic Light Emitting Diode (OLED) display screen, and the OLED display screen can realize self-luminescence, so that the BLU need not be disposed in the display module 10.
As shown in fig. 2a, the electronic device 01 further includes a camera 20 and a lifting system 30. The lifting system 30 is disposed on the back surface of the display module 10 (the surface opposite to the display surface of the display module 10).
In some embodiments of the present application, the camera 20 may be a front camera. Alternatively, in other embodiments of the present application, when the electronic device 01 has a small volume, for example, when the electronic device is a smart watch, the camera 20 may be a rear camera due to limited space of the cloth in the electronic device 01. The type and the shooting mode of the camera 20 are not limited in the present application.
In addition, the camera 20 is connected to a lift system 30. When a user needs the camera 20 to shoot, the lifting system 30 is used to drive the camera 20 to ascend in the direction indicated by the arrow as shown in fig. 2a, so as to extend out of the display module 10, i.e., to drive the portion of the camera 20 used for shooting to extend out of the edge of the display module 10.
Or, when the user does not need to use the camera 20 to take a picture, the lifting system 30 is configured to drive the camera to descend along the direction indicated by the arrow as shown in fig. 2b to retract into the display module 10, that is, the drive camera 20 is located within the area surrounded by the edge of the display module 10.
The structure of the lift system 30 will be described in detail below.
In some embodiments of the present application, the lifting system 30 includes a lifting mechanism 31, a motor 32 connected to the lifting mechanism 31, a motor driver chip (IC) 33 electrically connected to the motor 32, and a processing unit 34 electrically connected to the motor driver chip 33, as shown in fig. 3 a.
For example, the lifting mechanism 31 may be configured as shown in fig. 3b, and include a reduction box 310 connected to the motor 32, a lead screw 311 connected to the reduction box 310, a sliding table 312 connected to the lead screw 311, and a bracket 313 connected to the sliding table 312.
The motor 32 is used to output a certain torque. The reduction gearbox 310 increases the output torque in the process of reducing the output rotating speed, so as to drive the lead screw 311 to rotate with a larger torque. In this case, during the rotation of the screw 311, the sliding table 312 and the bracket 313 mounted on the sliding table 312 may be driven to ascend or descend in the direction of the arrow.
Based on this, the camera 20 can be fixed on the bracket 313, so that when the bracket 313 rises or falls along the lead screw 311 along with the sliding table 312, the process that the camera 20 extends out of the display module 10 and retracts into the display module 10 is realized.
In fig. 3B, the motor 32 is illustrated with two coils "a +, a-" and "B +, B-" as an example of the motor 32. In this case, the motor driving chip 33 may be electrically connected to the two coils of the motor 32, respectively, to supply the first coil "a +, a-". The second coil "B +, B-" provides the driving current, respectively. The motor 32 may be a stepper motor. The present application does not limit the structure of the motor 32 as long as the motor 32 can realize step driving.
The control method of the electronic device 01 having the lifting system 30 shown in fig. 3a may include S101 to S105 as shown in fig. 4.
S101, the electronic device 01 responds to a first operation of a user and generates a first control signal.
The first operation is an operation of raising the lifting mechanism 31 shown in fig. 3 a.
Illustratively, when the user needs to take a picture with the camera 20, the first operation can be performed by pressing a button on the electronic device 01. Alternatively, the first operation may be performed by touching a touch key on the display screen 101 of the electronic device 01. Alternatively, the first operation described above may also be performed by voice control. The embodiment of the present application does not limit this.
In order to execute the above S101, in the electronic device 01, the processing unit 34 electrically connected to the motor driving chip 33 may be configured to generate the above first control signal in response to a first operation by a user, and send the first control signal to the motor driving chip 33.
S102, in response to the first control signal, the electronic device 01 drives the motor 32 of the electronic device 01 to rotate in the forward direction with the first pulling torque M1, so as to drive the lifting mechanism 31 of the electronic device 01 to perform a first lifting operation.
For example, the motor driving chip 33 in the lifting system 30 shown in fig. 3a may be used to respond to the first control signal and drive the motor to rotate in the forward direction with the first pulling torque M1. In this case, the motor 32 electrically connected to the motor driver chip 33 is rotated in the forward direction by the motor driver chip 33, and the first pulling-out torque M1 is generated. At this time, the motor 32 may be used to drive the lifting mechanism 31 to perform the first lifting operation when the motor rotates in the forward direction with the first pulling torque M1.
In the present application, the type of the motor driving chip 33 is not limited as long as the motor 32 can be driven to rotate.
S103, when the lifting of the lifting mechanism 31 is blocked for the first time, the electronic device 01 generates a reset signal and a second control signal.
The first lift stop of the lifting mechanism 31 refers to that, after S102 is executed, when the lifting mechanism 31 is locked by external factors, such as dust, foreign matters, etc., when the lifting mechanism 31 executes the first lift action and a predetermined position where the first lift action cannot be reached is reached, the first lift stop of the lifting mechanism 31 is referred to.
In this case, the processing unit 34 as shown in fig. 3a may also be configured to generate a reset signal and a second control signal when the lifting mechanism 31 is blocked from lifting for the first time, and send the reset signal and the second control signal to the motor driving chip 33.
And S104, responding to the reset signal, the electronic device 01 drives the motor 32 to rotate reversely so as to drive the lifting mechanism 31 to reset.
In this case, the motor driving chip 33 in fig. 3a may also be used to drive the motor 32 to rotate in reverse in response to the reset signal described above. Based on this, under the control of the motor driving chip 33, the motor 32 can also be used to drive the lifting mechanism 31 to reset when rotating in the reverse direction.
The resetting of the lifting mechanism 31 means that the lifting mechanism 31 returns to the initial position, and the camera 20 connected to the lifting mechanism 31 is located in the area surrounded by the edge of the display module 10.
The forward rotation direction of the motor 32 is the rotation direction of the motor 32 when the lifting mechanism 31 is driven by the motor 32 to perform the first lifting operation. The direction of the reverse rotation of the motor 32 is the direction of rotation when the motor 32 drives the lifting structure 31 to perform the reset operation.
For example, when the motor 32 rotates in the forward direction, the output shaft of the motor 32 rotates clockwise, and when the motor 32 rotates in the reverse direction, the output shaft of the motor 32 rotates counterclockwise. Alternatively, when the motor 32 is rotated in the forward direction, the output shaft of the motor 32 is rotated counterclockwise, and when the motor 32 is rotated in the reverse direction, the output shaft of the motor is rotated clockwise.
S105, in response to the second control signal, after the lifting mechanism 31 is reset, the electronic device 01 drives the motor 32 to rotate in the forward direction with the second pulling torque M2, so as to drive the lifting mechanism 31 to perform the second lifting operation.
The second pulling-out moment M2 is greater than the first pulling-out moment M1.
In this case, the processing unit in fig. 3a may also be configured to send a second control signal to the motor driving chip 33 when the lifting of the lifting mechanism 31 is blocked for the first time.
The motor driving chip 33 may be further configured to drive the motor 32 to rotate in the forward direction with the second pulling torque M2 after the lifting mechanism 31 is reset in response to the second control signal. Based on this, the motor 32 can also be used to drive the lifting mechanism 31 to perform the second lifting operation when the motor rotates in the forward direction with the second pulling moment M2.
It should be noted that, in the embodiment of the present application, the execution sequence of S104 is located before S105. Based on this, in some embodiments of the present application, when the processing unit 34 sends the generated reset signal and the second control signal to the motor driving chip 33 at the same time in S103, the motor driving chip 33 may respond to the reset signal to perform S104 and then respond to the second control signal to perform S105.
Alternatively, in other embodiments of the present application, in S103, the processing unit 34 sends the generated reset signal to the motor driving chip 33 first, so that the motor driving chip 33 may respond to the reset signal first, and S104 is completed. Then, the processing unit 34 sends the generated second control signal to the motor driving chip 33 again, so that the motor driving chip 33 responds to the second control signal again, completing S105.
In summary, when the user needs to shoot with the camera 20, the lifting mechanism 31 can perform the first lifting operation from the initial position. In the process, the motor 32 for driving the lifting mechanism 31 is started at the initial position, and the starting torque M0, namely the maximum loading capacity at the starting time, is generated. Then, the lifting mechanism 31 is driven to reach a constant rotation speed during the first lifting operation, and the loading capacity at the rotation speed is the first pull-out (pull-out) moment M1. At this time, the first pulling-out torque M1 is greater than the above-described starting torque M0.
When the first lifting of the lifting mechanism 31 is blocked, the lifting mechanism 31 may be reset to the initial position, and then the second lifting operation may be performed from the initial position. In this case, the motor 32 may be started again at the initial position to generate the starting torque M0, and then the lifting mechanism 31 is driven to reach another constant rotation speed during the second lifting action, and the loading capacity at this rotation speed is the second pulling-out torque M2. At this time, the second pulling-out torque M2 is greater than the above-described starting torque M0.
In this way, the motor 32 can achieve the torque corresponding to the constant rotation speed, i.e., the first pulling-out torque M1 and the second pulling-out torque M2, in the process of driving the lifting mechanism 31 to perform the lifting operation twice. Both of these moments are greater than the starting moment M0. In addition, the second pulling-out moment M2 is greater than the first pulling-out moment M1, so that the thrust of the lifting mechanism 31 when performing the second lifting action is greater than the thrust of the lifting mechanism 31 when performing the first lifting action, which is beneficial to lifting the lifting mechanism 31 to break the blocked state and complete the purpose of pushing the camera 20 out of the edge of the display module 10 under the condition that the resistance is continuous, for example, under the condition that the lifting mechanism is stuck by dust or foreign matters.
Compared with the scheme that after the first lifting of the lifting mechanism 31 is hindered, the motor 32 is continuously started in situ to drive the lifting mechanism 31 to perform the second lifting action with a smaller starting torque, the electronic device 01 and the control method of the electronic device 01 provided by the embodiment of the application can enable the lifting mechanism 31 to be reset to the initial position under the driving of the motor 32 after the first lifting is hindered, so that when the lifting mechanism 31 performs the second lifting action, the starting torque of the motor 32 is increased to the second pulling torque M2 which is greater than the first pulling torque M1, and the purpose of increasing the thrust of the lifting mechanism 31 is achieved when the motor 32 drives the lifting mechanism 31 to perform the second lifting action.
The following description will be given in detail with respect to how the motor 32 obtains the second pulling-out moment M2 in the process of driving the lifting mechanism 31 to perform the second lifting operation.
Example 1
In this example, the driving current I supplied from the motor driving chip 33 to the motor 32 satisfies the following equation:
I=VREF/Rsense (1)
VREF is a reference voltage of the motor driver chip 33. Rsense is the resistance of the peripheral circuit of the motor driver chip 33. When the peripheral circuit of the motor driver chip 33 is set, Rsense is a constant value. The driving current I supplied from the motor driver chip 33 to the motor 32 is proportional to the reference voltage VREF of the motor driver chip 33.
In addition, the torque output by the motor 32 is proportional to the drive current I. Therefore, as shown in fig. 5, the larger the reference voltage VREF of the motor driver chip 33 is, the larger the torque output by the motor 32 is. For example, the reference voltage VREF of the motor driver chip 33 is a curve corresponding to 5V, and is located below a curve corresponding to 6V of the reference voltage VREF of the motor driver chip 33.
Based on this, in this example, the reference voltage VREF of the motor driving chip 33 may be adjusted so that the motor 32 obtains the second pulling-out moment M2 in the process of driving the lifting mechanism 31 to perform the second lifting action.
As shown in fig. 6a, in the present example, the processing unit 34 includes a Power Management Unit (PMU) 340 electrically connected to the motor driving chip 33.
Based on this, the above S101 includes: the electronic device 01 generates a first reference voltage VREF1, and generates a first driving current I1 input to the motor 32 according to the first reference voltage VREF 1.
In some embodiments of the present application, in order to perform the above steps, in the electronic device 01, the PMU340 shown in fig. 6a may be configured to generate the first reference voltage VREF1 and send the first reference voltage VREF1 to the motor driver chip 33. The motor driver chip 33 is used for inputting a first driving current I1 to the motor 32 according to the first reference voltage VREF 1.
Since the reference voltage VREF of the motor driver chip 33 has a small value, in order to enable the motor driver chip 33 to obtain the reference voltage VREF having a small value, as shown in fig. 6a, the elevator system 30 further includes a first voltage dividing resistor R1 and a second voltage dividing resistor R2.
In addition, in order to ensure that the motor driver chip 33 has a small leakage current, the resistances of the first voltage-dividing resistor R1 and the second voltage-dividing resistor R2 are typically on the order of hundreds of K ohms. The resistance of the first divider resistor R1 is greater than the resistance of the second divider resistor R2. For example, the first divider resistor R1 may have a value of 180K ohms; the second voltage dividing resistor R2 may have a resistance of 10K ohms.
The first terminal of the first voltage-dividing resistor R1 is electrically connected to the PMU340, and the second terminal is electrically connected to the first terminal of the second voltage-dividing resistor R2 and the motor driver chip 33. A second terminal of the second voltage-dividing resistor R2 is electrically connected to ground.
In other embodiments of the present application, as shown in fig. 6b, in the case that the PMU340 includes a low dropout regulator (LDO) 3401, the LDO3401 is electrically connected to the motor driver chip 33, so as to output a first reference voltage VREF1 to the motor driver chip 33 through the LDO 3401.
In other embodiments of the present application, as shown in fig. 6c, the processing unit 34 further includes a Central Processing Unit (CPU) 341 electrically connected to the PMU 340.
In this case, the step S101 further includes: when electronic device 01 is responsive to a first operation by a user, CPU341 is configured to send a first power supply signal to PMU 340. The PMU340 may also be configured to generate the first reference voltage VREF1 based on a first power supply signal.
Further, the above S102 includes: according to the first driving current I1, the electronic device 01 drives the motor 32 to generate a first pulling torque M1, and rotates forward to drive the lifting mechanism 31 to perform a first lifting operation.
In order to perform the above steps, in the electronic device 01, the motor 32 shown in fig. 6a may be configured to generate the first pulling moment M1 according to the first driving current I1, and rotate the first pulling moment M1 in a forward direction to drive the lifting mechanism 31 to perform the first lifting operation.
Further, the above S103 includes: the electronic device 01 generates a second reference voltage VREF2, and generates a second driving current I2 input to the motor 32 according to the second reference voltage VREF 2.
Wherein the second reference voltage VREF2 is greater than the first reference voltage VREF 1; the second driving current I2 is greater than the first driving current I1.
In order to perform the above steps, in the electronic device 01, the LDO3401 in the PMU340 shown in fig. 6b is further configured to generate the second reference voltage VREF2 and send the second reference voltage VREF2 to the motor driver chip 33 when the rising of the rising and falling mechanism 31 is blocked for the first time.
In case the processing unit 34 further comprises a CPU341 as shown in fig. 6c, the CPU341 is further adapted to send a second power supply signal to the PMU340 when the lifting of the lifting mechanism 31 is blocked for the first time. The power management module 340 is further configured to generate a second reference voltage VREF2 according to the second power supply signal.
For example, CPU341 may send the second power supply signal to PMU340 when lift mechanism 31 is blocked for the first time, where electronic device 01 further includes a detection device electrically connected to CPU341, and capable of detecting that lift mechanism 31 is blocked, and may send a blocking instruction to CPU341 when it detects that lift mechanism 31 is blocked. CPU341 may send a second power supply signal to PMU340 based on the blocked instruction.
Further, the above S105 includes: according to the second driving current I2, after the lifting mechanism 31 is reset, the driving motor 32 of the electronic device 01 generates the second pulling torque M2, and rotates in the forward direction to drive the lifting mechanism 31 to perform the second lifting operation.
In order to perform the above steps, in the electronic device 01, the motor driver chip 33 is further configured to input a second driving current I2 to the motor 32 after the lifting mechanism 31 is reset according to the second reference voltage VREF 2.
The motor 32 is further configured to generate a second pulling torque M2 according to the second driving current I2, and rotate in the forward direction to drive the lifting mechanism 31 to perform a second lifting operation.
In summary, when the electronic device 01 responds to the first operation of the user to enable the lifting mechanism 31 to perform the first lifting action, the motor driver chip 33 may obtain the first reference voltage VREF1 from the LDO3401, and the motor driver chip 33 may provide the first driving current I1 to the motor 32 according to the first reference voltage VREF1, so that the motor 32 drives the lifting mechanism 31 to perform the first lifting action with the first pulling torque M1.
When the first raising operation of the elevator mechanism 31 is blocked, the motor driver chip 33 can obtain the second reference voltage VREF2 from the LDO 3401. The second reference voltage VREF2 is greater than the first reference voltage VREF1, so that the motor driver chip 33 can provide the second driving current I2 to the motor 32 according to the second reference voltage VREF 2. The second driving current I2 is greater than the first driving current I1. In this case, the motor 32 can drive the lifting mechanism 31 to perform the second lifting operation with the second pulling torque M2. The second pulling torque M2 is greater than the first pulling torque M1, so that the lifting mechanism 31 has a greater pushing force when performing the second lifting operation.
For example, when the difference between the second driving current I2 and the first driving current I1 is 15mA, the pushing force of the elevator mechanism 31 performing the second lifting operation may be increased by 25 gf.
In addition, in the process that the motor 32 drives the lifting mechanism 31 to perform the first lifting action with the first pulling torque M1, the first driving current I1 received by the motor 32 is smaller than the second driving current I2, so that the noise of the motor 32 is smaller. So that the user can ensure that the equipment has less noise when the user normally uses the above-mentioned lifting system 30. After the first lifting action of the lifting mechanism 31 is blocked, the motor 32 receives a larger second driving current I2, and at this time, the motor 32 not only has a larger output torque, but also has a larger noise for reminding a user, and the lifting mechanism 31 is blocked. Thereby facilitating the user to clear the obstacle causing the obstruction of the lifting mechanism 31.
Illustratively, as shown in table 1, it can be seen that by adjusting the reference voltage VREF output by LDO3401, different driving currents I provided to motor 32 can be obtained. In table 1, the resistance of the first divider resistor R1 is 180K ohms; the resistance value of the second voltage-dividing resistor R2 is 10K ohms; the example is given by taking the resistance Rsense of the peripheral circuit of the motor driver chip 33 as 0.33 ohm.
TABLE 1
LDO(V) R1(K Europe) R2(K Europe) VREF(V) Rsense (Europe) I(A)
1.7 180 10 0.089474 0.333333 0.268421
1.8 180 10 0.094737 0.333333 0.284211
1.9 180 10 0.1 0.333333 0.3
As can be seen from table 1, when the first raising operation of the raising/lowering mechanism 31 is blocked, the second reference voltage VREF2 output by the LDO3401 may be adjusted within 0.1V in order to avoid a large noise. For example, when LDO3401 is equal to 1.8V, after voltage division is performed by first voltage dividing resistor R1 and second voltage dividing resistor R2, a second reference voltage VREF2, which is 10 × 1.8/(10+180) ═ 94.7mV, provided by LDO3401 to motor driver chip 33 is obtained.
In this case, using the above equation (1), it can be obtained that the motor driver chip 33 supplies the second driving current I2 ═ 284mA to the motor 32 according to the second reference voltage VREF 2.
Example two
In this example, the maximum current I on a single power-up of the motor driving chip 33FSThe following formula is satisfied:
Figure GDA0003433228850000121
from the equation (2), the maximum current I of the motor driving chip 33 after one power-onFSIs proportional to the reference voltage VREF received by the motor driver chip 33 and inversely proportional to the resistance Rsense of the peripheral circuits of the motor driver chip 33.
On this basis, the motor driving chip 33 in this example, as shown in fig. 7, has a first input interface I0 and a second input interface I1. In the case where the processing unit 34 includes the CPU341, the CPU341 is electrically connected to the first input interface I0 and the second input interface I1. In this case, CPU341 can obtain the driving current I required for a single power-on of motor driver chip 33 by controlling the voltages of first input interface I0 and second input interface I1, satisfying the following formula:
Figure GDA0003433228850000122
where a is the current limiting ratio of the motor driver chip 33.
To enable the CPU341 to control the voltages of the first input interface I0 and the second input interface I1 individually. As shown in fig. 7, CPU341 may include two independent general purpose input/output (GPIOs), such as G1 and G2. G1 is electrically connected to the first input interface I0, and G2 is electrically connected to the second input interface I1.
Based on this, in this example, the above-described flow restriction ratio a may be adjusted so that the motor 32 obtains the second pulling moment M2 during the second lifting action of the belt lifting mechanism 31.
Specifically, in the method for controlling the electronic device 01, the step S101 includes: the electronic device 01 generates first matching data according to the first current limit ratio a1, and generates a third driving current I3 input to the motor 32 according to the first matching data.
As can be seen from equation (2), the third driving current I3 satisfies the following equation:
Figure GDA0003433228850000123
in order to perform the above steps, in the above electronic device 01, the CPU341 shown in fig. 7 of the processing unit 34 may be configured to generate first proportioning data according to the first current limit ratio a1 (e.g., 12.5% in table 2), and the first proportioning data controls the voltages of the first input interface I0 and the second input interface I1.
In some embodiments of the present application, first input interface I0 is used to be at a low level (0), a high level (1), or a high impedance state (Z) under the control of CPU 341. The second input interface I1 is used to be in a low level (0), a high level (1) or a high impedance state (Z) under the control of the CPU 341.
In some embodiments of the present application, the above-mentioned matching data is a combination of voltages of the first input interface I0 and the second input interface I1, as shown in table 2.
TABLE 2
Figure GDA0003433228850000131
As can be seen from table 2, a set of proportioning data of the first input interface I0 and the second input interface I1 corresponds to a current limit ratio a.
Further, the above S102 includes: according to the third driving current I3, the electronic device 01 drives the motor 32 to generate a first pulling torque M1, and rotates in the forward direction to drive the lifting mechanism 31 to perform a first lifting operation.
In order to perform the above steps, in the electronic device 01, as shown in fig. 7, the motor driving chip 33 may be configured to control the voltages input to the first input interface I0 and the second input interface I1 according to the first proportioning data (1, Z), for example, the first input interface I0 is at a high level (1), and the second input interface I1 is at a high impedance state (Z).
In this case, the motor driving chip 33 may be used to input the third driving current I3 to the motor 32. The motor 32 is configured to generate the first pulling torque M1 according to the third driving current I3, and rotate in the forward direction to drive the lifting mechanism 31 to perform the first lifting operation.
Further, S103 includes: the electronic device 01 generates second matching data according to the second current limit ratio a2 (e.g., 75% in table 2), and generates a fourth driving current I4 input to the motor 32 according to the second matching data. Wherein the second current limit ratio (e.g., 75% in table 2) is greater than the first current limit ratio (e.g., 12.5% in table 2).
As can be seen from equation (2), the third driving current I3 satisfies the following equation:
Figure GDA0003433228850000132
in order to execute the above steps, in the electronic device 01, the CPU341 shown in fig. 7 of the processing unit 34 may be configured to generate second proportioning data according to the second current limiting ratio a2 when the lifting mechanism 31 is blocked for the first time, and control the voltages of the first input interface I0 and the second input interface I1 according to the second proportioning data. For example, the first input interface I0 is low (0) and the second input interface I1 is high (1). The motor driving chip 33 may be used to input a fourth driving current I4 to the motor 32.
As can be seen from equations (4) and (5), since the second current limit ratio (e.g., 75% in table 2) is greater than the first current limit ratio (e.g., 12.5% in table 2), the fourth driving current I4 is greater than the third driving current I3.
Further, S105 includes: according to the fourth driving current I4, after the lifting mechanism 31 is reset, the driving motor 32 of the electronic device 01 generates the second pulling torque M2 and rotates forward to drive the lifting mechanism 31 to perform the second lifting operation.
In order to perform the above steps, in the electronic device 01, the motor may be further configured to generate a second pulling moment M2 according to the fourth driving current I4, and rotate the second pulling moment M2 in a forward direction to drive the lifting mechanism 31 to perform a second lifting operation.
In summary, when the electronic device 01 responds to the first operation of the user to enable the lifting mechanism 31 to perform the first lifting operation, the CPU341 controls the motor driving chip 33 to provide the motor 32 with the smaller third driving current I3 by using the smaller first current limiting ratio a1, so that the motor 32 drives the lifting mechanism 31 to perform the first lifting operation with the smaller first pulling torque M1. So that the noise of the motor 32 can be reduced.
When the first lifting action of the lifting mechanism 31 is blocked, the CPU341 controls the motor driving chip 33 to provide a larger fourth driving current I4 to the motor 32 by using a larger second current limiting ratio a2, so that the motor 32 drives the lifting mechanism 31 to perform the second lifting action with a larger second pulling torque M2, thereby providing a larger thrust when the lifting mechanism 31 performs the second lifting action. In addition, the user can be reminded of the existence of an obstacle causing the obstruction of the lifting mechanism 31 by the loud noise emitted from the motor 32.
Further, the single term received maximum rated current Imax received by the motor 32 satisfies the following equation:
Figure GDA0003433228850000141
wherein VM in the formula (6) is the working voltage of the motor driving chip 33; RL is the resistance of the motor 32 solenoidal coil (e.g., A +, A-); rds is the resistance of the internal circuit of the motor driver chip 33.
In this case, as can be seen from the formula (6), the maximum rated current Imax received by the motor 32 is proportional to the operating voltage of the motor 32, and inversely proportional to the sum of the resistance RL of the one-phase coil of the motor 32, the resistance Rds of the internal circuit of the motor driver chip 33, and the resistance Rsense of the peripheral circuit of the motor driver chip 33.
For example, the motor 32 is a stepping motor with a diameter of 5mm, the resistance Rsense of the peripheral circuit of the motor driving chip 33 is within 1 ohm, the resistance RL of the single-phase coil of the motor 32 is 14 ohm, and the maximum rated current Imax received by the motor 32 is within 300 mA.
Based on this, in some embodiments of the present application, in order to reduce noise when the motor 32 drives the lifting mechanism 31 to perform the second lifting action, the fourth driving current I4 provided by the motor driving chip 33 to the motor 32 may be smaller than the single maximum receiving rated current Imax received by the motor 32.
In addition, as can be seen from equation (5), the fourth driving current I4 is not only proportional to the second current limit ratio a2, but also proportional to the reference voltage VREF of the motor driver chip 33. Therefore, on the basis that the fourth driving current I4 can be controlled to be smaller than the maximum rated current Imax received by the motor 32, in combination with the first embodiment, the reference voltage VREF of the motor driver chip 33 can be adjusted, so that the motor 32 drives the lifting mechanism 31 to perform the second lifting action with the larger second pulling torque M2 after the first lifting action of the lifting mechanism 31 is blocked.
TABLE 3
Figure GDA0003433228850000142
In table 3, the voltage Vmax is the product of the single maximum rated current Imax received by the motor 32 and the resistance Rsense of the peripheral circuit of the motor driver chip 33.
The actual scale is reduced, and the maximum rated current Imax is received by the motor 32 for a single item and the maximum current I is received by the motor driving chip 33 for a single power-onFSThe ratio of (a) to (b).
As can be seen from table 3, in the case where the fourth driving current I4 may be smaller than the single term received maximum rated current Imax received by the motor 32, the second current limit ratio a2 is smaller than the actual reduction ratio.
In addition, in other embodiments of the present application, in order to further improve the driving force of the motor 32 to drive the lifting mechanism 31 to perform the second lifting action, so that a greater thrust force is generated when the lifting mechanism 31 performs the second lifting action, the fourth driving current I4 provided by the motor driving chip 33 to the motor 32 may be greater than the single maximum rated receiving current Imax received by the motor 32.
Specifically, when electronic device 01 responds to the first operation of the user to cause elevator mechanism 31 to perform the first lifting action, CPU341 controls motor driver chip 33 to supply a smaller third driving current I3 to motor 32 using a smaller first current limiting ratio a 1.
In this case, the CPU341 may control a peak value of the third driving current I3 provided to the motor 32 by the motor driving chip 33 at a single time through a digital-to-analog converter (DAC) therein, so that the third driving current I3 is smaller than the maximum rated current Imax of single-term reception received by the motor 32.
The third driving current I3 is a sine wave as shown in fig. 8 a.
Further, when the first raising operation of the raising and lowering mechanism 31 is blocked, the CPU341 controls the motor driving chip 33 to supply a larger fourth driving current I4 to the motor 32 with a larger second current limiting ratio a 2. The fourth drive current I4 may be greater than the single term received maximum rated current Imax received by the motor 32.
In this case, when the second current limiting ratio a2 is larger, for example, in the range of 75% to 100%, the fourth drive current I4 approaches a square wave (the peak of the sine wave is truncated) as shown in fig. 8 b. When the second current limiting ratio a2 is 100%, the fourth driving current I4 is a square wave.
In this case, the electric power due to the motor 32 is proportional to the area integral of the drive current waveform it receives. As can be seen from fig. 8a and 8b, the area integral of the waveform close to the square wave in fig. 8b is larger than the area integral of the waveform of the sine wave in fig. 8a, so that when the motor driving chip 33 provides the larger fourth driving current I4 to the motor 32, and the fourth driving current I4 can be larger than the maximum rated current Imax received by the motor 32 for single-term reception, the electric power of the motor 32 increases.
The electric power is the sum of mechanical power and heat loss of the motor 32, copper loss of the coil in the motor 32, and iron loss of the magnet. Therefore, by increasing the electric power of the motor 32, the mechanical power of the motor 32 can be increased, so that the motor 32 drives the lifting mechanism 31 to perform the second lifting action with a larger second pulling-out torque M2, thereby providing a larger thrust when the lifting mechanism 31 performs the second lifting action.
Example three
In this example, the motor driving chip 33 may drive the motor 32 by a driving method combining micro step (micro step) and full step (fullstep). As shown in fig. 9, the processing unit 34 may include a CPU341, and the CPU341 is electrically connected to the motor driving chip 33.
In this case, the above S101 includes: the electronic device 01 generates a fifth driving current I5. As shown in fig. 10a, the fifth driving current I5 approaches a sine wave.
In order to perform the above steps, in the electronic device 01, as shown in fig. 9, the motor driving chip 33 may be configured to input a fifth driving current I5 to the motor 32 in response to the first control signal.
Further, S102 includes: according to the fifth driving current I5, the driving motor 32 of the electronic device 01 adopts a microstep driving method, for example, 1/32step generates the first pulling moment M1, and rotates forward to drive the lifting mechanism 31 to perform the first lifting operation.
In order to execute the above steps, as shown in fig. 9, in the electronic device 01, the motor 32 is specifically configured to generate a first pulling moment M1 by using a microstep driving method according to a fifth driving current I5, and rotate the motor in a forward direction to drive the lifting mechanism 31 to execute a first lifting operation.
Further, S103 includes: the electronic device 01 generates a sixth driving current I6. The sixth driving current I6 is a square wave as shown in fig. 10 b.
In order to execute the above steps, in the electronic device 01, as shown in fig. 9, the motor driving chip 33 is further configured to input a sixth driving current I6 to the motor 32 after the lifting mechanism 31 is reset in response to the second control signal.
Further, S105 includes: according to the sixth driving current I6, after the lifting mechanism 31 is reset, the driving motor generates the second pulling torque M2 by using a fullstep driving method, and rotates forward to drive the lifting mechanism 31 to perform the second lifting operation.
In order to execute the above steps, in the electronic device 01, as shown in fig. 9, the motor is further configured to generate a second pulling torque M2 by a fullstep driving method according to a sixth driving current I6, and rotate the second pulling torque M2 in a forward direction to drive the lifting mechanism 31 to execute a second lifting operation.
As can be seen from the above, in this case, the electric power due to the motor 32 is proportional to the area integral of the drive current waveform it receives. As can be seen from fig. 10a and 10b, the area integral of the square wave in fig. 10b is 1.5 times the area integral of the waveform close to the sine wave in fig. 10 a. Therefore, when the lifting mechanism 31 is brought to perform the second lifting operation, the electric power of the motor 32 is increased.
The electric power is the sum of mechanical power and heat loss of the motor 32, copper loss of the coil in the motor 32, and iron loss of the magnet. Therefore, by increasing the electric power of the motor 32, the mechanical power of the motor 32 can be increased, so that the motor 32 drives the lifting mechanism 31 to perform the second lifting action with a larger second pulling-out torque M2, thereby providing a larger thrust when the lifting mechanism 31 performs the second lifting action.
Example four
When the motor 32 is started, there is a pulling (pullin) torque until the rotational speed has not reached the rated rotational speed. As shown in fig. 11, the curve corresponding to the pull-in torque is a thin solid line. After the motor 32 is started, the rated speed is reached, which may be indicated by a pull-out torque (indicated by a thick solid line in fig. 11).
As can be seen from fig. 11, the curve corresponding to the pulling-out torque is located above the curve corresponding to the pulling-in torque. Thus, the pull-out torque is greater than the pull-in torque. In addition, when the motor 32 is started, the pulling-out torque of the motor 32 is proportional to the frequency of the pulse signal received by the motor driving chip 33 (proportional to the rotation speed of the motor 32).
Therefore, in this example, the rotation speed of the motor 32 can be changed by the motor driving chip 33, so that the motor 32 can drive the lifting mechanism 31 to perform the second lifting action with the added second pulling-out torque M2. As shown in fig. 12, the processing unit 34 may include a CPU341, and the CPU341 has a Pulse Width Modulator (PWM) 3411 electrically connected to the motor driving chip 33.
In this case, in the method for controlling the electronic device 01, S101 includes: the electronic device 01 generates a first pulse signal.
In order to perform the above steps, in the electronic device 01, as shown in fig. 12, the PWM3411 may be used to send a first pulse signal to the motor driving chip 33.
In addition, S102 includes that according to the first pulse signal, the electronic device 01 drives the motor to rotate forward at the first rotation speed and generates a first pulling torque to drive the lifting mechanism 31 to perform the first lifting operation.
In order to perform the above steps, in the electronic device 01, as shown in fig. 12, the motor driving chip 33 may be further configured to drive the motor 32 to rotate forward at a first rotation speed V1 according to the first pulse signal. The motor 32 is used for generating a first pulling torque M1 when rotating in the forward direction at a first rotation speed V1, so as to drive the lifting mechanism 31 to perform a first lifting operation.
Further, S103 includes: the electronic device 01 generates a second pulse signal.
In order to perform the above steps, in the electronic device 01, as shown in fig. 12, the PWM3411 may be used to send a second pulse signal to the motor driving chip 33 when the lifting mechanism 31 is blocked from lifting for the first time. And the frequency of the second pulse signal is less than that of the first pulse signal.
Further, S105 includes: according to the second pulse signal, after the lifting mechanism 31 is reset, the electronic device 01 drives the motor 32 to rotate in the forward direction at the second rotation speed V2, and generates a second pulling torque M2 to drive the lifting mechanism 31 to perform a second lifting operation.
Wherein the second rotating speed V2 is less than the first rotating speed V1.
In order to execute the above steps, in the electronic device 01, as shown in fig. 12, the motor driving chip 33 may also be used for the second pulse signal to drive the motor 32 to rotate in the forward direction at the second rotation speed V2. The motor 32 may also be configured to generate a second pulling torque M2 when rotating in the forward direction at the second rotation speed V2, so as to drive the lifting mechanism 31 to perform a second lifting operation.
For the hoist system 30, the torque of the reduction gearbox 310 equals the torque of the motor 32 x the efficiency of the reduction gearbox 310 x the gear ratio of the reduction gearbox 310. The thrust of the elevating mechanism 31, i.e., the torque of the lead screw 311 equals the torque of the reduction gear box 310 × 2 pi × lead screw efficiency/lead screw lead.
For example, the reduction gearbox 310 comprises two stages of planet wheels, and the efficiency of each stage of planet wheels is 70%; the transmission ratio of the reduction gearbox 310 is 1: 36; the lead of the lead screw is 2.4 mm; the screw efficiency is 70%; the torque 20gf × mm of the motor 32 is taken as an example, and the thrust of the elevating mechanism 31 is 20 × 36 × 70% × 70% × 2 × 3.14 × 70%/2.4 ═ 646.2 gf.
It follows that the thrust of the elevating mechanism 31 can be increased by 32.31gf for every 1gf × mm increase in the torque of the motor 32.
On the basis of this, it can be obtained by combining the relationship between the frequency of the pulse signal and the torque of the motor 32 in fig. 11, and the relationship between the frequency of the pulse signal and the thrust force of the elevating mechanism 31 is shown in table 4.
TABLE 4
Frequency of pulse signal (Hz) Thrust of lifting mechanism (g)
2400 620
2300 625
2200 630
2100 635
2000 640
In summary, when the electronic device 01 responds to the first operation of the user to make the lifting mechanism 31 perform the first lifting motion, the PWM3411 may be used to send a first pulse signal (e.g., 2400Hz in table 4) with a higher frequency to the motor driving chip 33. The motor driving chip 33 drives the motor 32 to rotate forward at a first rotating speed V1 with a faster rotating speed according to the first pulse signal, and generates a smaller first pulling torque M1 (e.g., 19gf × mm), so as to drive the lifting mechanism 31 to perform a first lifting operation.
After the first raising motion of the lifting mechanism 31 is blocked, the PWM3411 may be used to send a second pulse signal (e.g., 2000Hz in table 4) with a lower frequency to the motor driver chip 33. The motor driving chip 33 drives the motor 32 to rotate forward at a second rotation speed V2 with a slower rotation speed according to the second pulse signal, and generates a larger second pulling torque M1 (e.g., 20gf × mm), so as to drive the lifting mechanism 31 to perform the second lifting operation. In this case, as shown in table 4, the thrust of the elevating mechanism 31 can be increased by 20 g.
The electronic device provided by the embodiment of the application further comprises a memory for storing the computer program. The processor is adapted to execute the computer program to perform the method as described above. In this case, after the electronic device leaves the factory, the processor may execute the computer program through software upgrade according to the use requirement of the user, so as to have a larger thrust when the motor 32 drives the lifting mechanism 31 to perform the second lifting action in the process of executing the method described above.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The processes or functions described in accordance with the embodiments of the present application occur, in whole or in part, when computer-executable instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). Computer-readable storage media can be any available media that can be accessed by a computer or can comprise one or more data storage devices, such as servers, data centers, and the like, that can be integrated with the media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., SSD), among others.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

1. The utility model provides a lifting system, its characterized in that, lifting system is applied to electronic equipment, electronic equipment includes the camera, lifting system with the camera links to each other for the drive the camera goes up and down, lifting system includes: the device comprises a lifting mechanism, a motor connected with the lifting mechanism, a motor driving chip electrically connected with the motor, and a processing unit electrically connected with the motor driving chip;
the processing unit is used for responding to a first operation that a user indicates the lifting mechanism to lift, and sending a first control signal to the motor driving chip; the motor driving chip is used for responding to the first control signal and sending a driving instruction for driving the motor to rotate in the positive direction with a first pulling-out torque; the motor is used for receiving the driving command and driving the lifting mechanism to perform lifting action when the motor rotates forwards by a first pulling-out torque;
the processing unit is also used for sending a reset signal to the motor driving chip when the lifting mechanism is blocked; the motor driving chip is also used for responding to the reset signal and driving the motor to rotate reversely; the motor is also used for driving the lifting mechanism to reset when the motor rotates reversely;
the processing unit is further used for sending a second control signal to the motor driving chip when the lifting mechanism is blocked; the motor driving chip is also used for responding to the second control signal and driving the motor to rotate positively with a second pulling-out torque after the lifting mechanism is reset; the motor is also used for driving the lifting mechanism to execute lifting action when the motor rotates in the positive direction by a second pulling-out torque, and the second pulling-out torque is larger than the first pulling-out torque.
2. The lift system of claim 1, wherein the processing unit includes a power management module electrically connected to the motor drive chip;
the processing unit is used for sending a first control signal to the motor driving chip and comprises: the power supply management module is used for generating a first reference voltage and sending the first reference voltage to the motor driving chip;
the motor driving chip is used for responding to the first control signal and driving the motor to rotate positively with a first pulling-out torque, and comprises: the motor driving chip is used for inputting a first driving current to the motor according to the first reference voltage;
the motor is used for driving the lifting mechanism to execute lifting action when the motor rotates positively with a first pulling-out torque, and comprises: the motor is used for generating the first pulling-out torque according to the first driving current, positively rotates and drives the lifting mechanism to perform lifting action;
the processing unit is further configured to send a second control signal to the motor driving chip when the lifting mechanism is blocked, and the second control signal includes: the power management module is further used for sending a second reference voltage to the motor driving chip when the lifting mechanism is blocked; wherein the second reference voltage is greater than the first reference voltage;
the motor driving chip is further configured to drive the motor to rotate in the forward direction with a second pulling torque after the lifting mechanism is reset in response to the second control signal, and the motor driving chip includes: the motor driving chip is also used for inputting a second driving current to the motor after the lifting mechanism is reset according to the second reference voltage; wherein the second drive current is greater than the first drive current;
the motor is further used for driving the lifting mechanism to execute lifting action when the motor rotates positively with a second pulling torque, and comprises: the motor is also used for generating the second pulling-out torque according to the second driving current, and the second pulling-out torque rotates in the positive direction to drive the lifting mechanism to execute lifting action.
3. The lift system of claim 2, wherein the processing unit further comprises a central processing module electrically connected to the power management module;
the processing unit is configured to send a first control signal to the motor driving chip, and further includes: the central processing module is used for sending a first power supply signal to the power management module; the power management module is further configured to generate the first reference voltage according to the first power supply signal;
the processing unit is further configured to send a second control signal to the motor driving chip when the lifting mechanism is blocked, and the second control signal includes: the central processing module is further used for sending a second power supply signal to the power management module when the lifting mechanism is blocked; the power management module is further configured to generate the second reference voltage according to the second power supply signal.
4. The lift system of claim 2, further comprising a first voltage divider resistor and a second voltage divider resistor;
the first end of the first voltage-dividing resistor is electrically connected with the power management module, and the second end of the first voltage-dividing resistor is electrically connected with the first end of the second voltage-dividing resistor and the motor driving chip;
the second end of the second voltage-dividing resistor is electrically connected with a grounding end;
wherein the resistance value of the first divider resistor is greater than the resistance value of the second divider resistor.
5. The lift system of any of claims 1-4, wherein the motor drive chip includes a first input interface and a second input interface; the processing unit is electrically connected with the first input interface and the second input interface;
the processing unit is used for sending a first control signal to the motor driving chip and comprises: the processing unit is used for generating first proportioning data according to a first current limiting proportion and controlling the voltage of the first input interface and the second input interface according to the first proportioning data;
the motor driving chip is used for responding to the first control signal and driving the motor to rotate positively with a first pulling-out torque, and comprises: the motor driving chip is used for inputting a third driving current to the motor under the control of the voltage input to the first input interface and the second input interface according to the first proportioning data; the third driving current is the first current limiting proportion multiplied by the maximum current of the motor driving chip during single power-on;
the motor is used for driving the lifting mechanism to execute lifting action when the motor rotates positively with a first pulling-out torque, and comprises: the motor is used for generating the first pulling-out torque according to the third driving current, and rotating in the positive direction to drive the lifting mechanism to perform lifting action;
the processing unit is further configured to send a second control signal to the motor driving chip when the lifting mechanism is blocked, and the second control signal includes: the processing unit is further used for generating second proportioning data according to a second current limiting proportion when the lifting mechanism is blocked, and controlling the voltage of the first input interface and the voltage of the second input interface according to the second proportioning data; wherein the second current limit ratio is greater than the first current limit ratio;
the motor driving chip is further configured to drive the motor to rotate in the forward direction with a second pulling torque after the lifting mechanism is reset in response to the second control signal, and the motor driving chip includes: the motor driving chip is also used for inputting a fourth driving current to the motor under the control of the voltage input to the first input interface and the second input interface according to the second proportioning data after the lifting mechanism is reset; the fourth driving current is the second current limiting ratio multiplied by the maximum current of the motor driving chip during single power-on;
the motor is further used for driving the lifting mechanism to execute lifting action when the motor rotates positively with a second pulling torque, and comprises: the motor is also used for generating the second pulling-out torque according to the fourth driving current, and the second pulling-out torque rotates in the positive direction to drive the lifting mechanism to execute lifting action.
6. The lift system of claim 5,
the first input interface is used for being in a low level, a high level or a high impedance state under the control of the processing unit;
the second input interface is used for being in a low level, a high level or a high impedance state under the control of the processing unit.
7. The lift system of claim 5, wherein the maximum current for a single power-up of the motor driver chip is proportional to a reference voltage received by the motor driver chip and inversely proportional to a resistance of a peripheral circuit of the motor driver chip.
8. The lift system of claim 5, wherein the fourth drive current is less than a single received maximum rated current received by the motor;
the maximum rated current received by the motor is in direct proportion to the working voltage of the motor, and is in inverse proportion to the sum of the resistance value of the single coil of the motor, the resistance value of the internal circuit of the motor driving chip and the resistance value of the peripheral circuit of the motor driving chip.
9. The lift system of claim 5, wherein the second current limit ratio is 75% to 100%.
10. The lift system of claim 1,
the motor driving chip is used for responding to the first control signal and driving the motor to rotate positively with a first pulling-out torque, and comprises: the motor driving chip is used for responding to the first control signal and inputting a fifth driving current to the motor; the fifth driving current is a sine wave;
the motor is used for driving the lifting mechanism to execute lifting action when the motor rotates positively with a first pulling-out torque, and comprises: the motor is specifically used for generating the first pulling-out torque by adopting a micro-stepping driving mode according to the fifth driving current, and rotating the first pulling-out torque in a positive direction to drive the lifting mechanism to execute lifting action;
the motor driving chip is further configured to drive the motor to rotate in the forward direction with a second pulling torque after the lifting mechanism is reset in response to the second control signal, and the motor driving chip includes: the motor driving chip is also used for responding to the second control signal and inputting a sixth driving current to the motor after the lifting mechanism is reset; the sixth driving current is a square wave;
the motor is further used for driving the lifting mechanism to execute lifting action when the motor rotates positively with a second pulling torque, and comprises: the motor is further used for generating the second pulling-out torque by adopting a full-step driving mode according to the sixth driving current and driving the lifting mechanism to perform lifting action by rotating in the positive direction.
11. The lift system of claim 1, wherein the processing unit includes a pulse width modulator electrically connected to the motor drive chip;
the processing unit is used for sending a first control signal to the motor driving chip and comprises: the pulse width modulator is used for sending a first pulse signal to the motor driving chip;
the motor driving chip is used for responding to the first control signal and driving the motor to rotate positively with a first pulling-out torque, and comprises: the motor driving chip is also used for driving the motor to rotate positively at a first rotating speed according to the first pulse signal;
the motor is used for driving the lifting mechanism to execute lifting action when the motor rotates positively with a first pulling-out torque, and comprises: the motor is used for generating the first pulling-out torque when the motor rotates forwards at the first rotating speed to drive the lifting mechanism to perform lifting action;
the processing unit is further configured to send a second control signal to the motor driving chip when the lifting mechanism is blocked, and the second control signal includes: the pulse width modulator is also used for sending a second pulse signal to the motor driving chip when the lifting mechanism is blocked; wherein the frequency of the second pulse signal is less than the frequency of the first pulse signal;
the motor driving chip is further configured to drive the motor to rotate in the forward direction with a second pulling torque after the lifting mechanism is reset in response to the second control signal, and the motor driving chip includes: the motor driving chip is also used for driving the motor to rotate positively at a second rotating speed according to the second pulse signal; wherein the second rotational speed is less than the first rotational speed;
the motor is further used for driving the lifting mechanism to execute lifting action when the motor rotates positively with a second pulling torque, and comprises: the motor is also used for generating the second pulling-out torque when rotating positively at the second rotating speed to drive the lifting mechanism to perform lifting action.
12. A control method is used for lifting a camera of an electronic device, and the method comprises the following steps:
the electronic equipment responds to a first operation of a user for indicating the lifting mechanism to lift, and generates a first control signal;
responding to the first control signal, the electronic equipment drives a motor of the electronic equipment to rotate positively with a first pulling torque so as to drive a lifting mechanism of the electronic equipment to execute a lifting action;
when the lifting mechanism is blocked from lifting, the electronic equipment generates a reset signal and a second control signal;
responding to the reset signal, the electronic equipment drives the motor to rotate reversely so as to drive the lifting mechanism to reset;
in response to the second control signal, the electronic device drives the motor to rotate in a forward direction with a second pulling-out torque after the lifting mechanism is reset so as to drive the lifting mechanism to perform a lifting action, wherein the second pulling-out torque is larger than the first pulling-out torque.
13. The control method according to claim 12,
the electronic device generating a first control signal comprises: the electronic equipment generates a first reference voltage and generates a first driving current input to the motor according to the first reference voltage;
in response to the first control signal, the electronic device driving a motor of the electronic device to rotate positively with a first pulling torque to drive a lifting mechanism of the electronic device to perform a lifting action includes: according to the first driving current, the electronic equipment drives the motor to generate the first pulling-out torque and rotates forwards to drive the lifting mechanism to perform lifting action;
the electronic device generating a second control signal comprises: the electronic equipment generates a second reference voltage and generates a second driving current input to the motor according to the second reference voltage; wherein the second drive current is greater than the first drive current;
in response to the second control signal, after the lifting mechanism is reset, the electronic device drives the motor to rotate positively with a second pulling torque to drive the lifting mechanism to perform a lifting action, including: and according to the second driving current, after the lifting mechanism is reset, the electronic equipment drives the motor to generate the second pulling-out torque and rotates forwards to drive the lifting mechanism to execute lifting action.
14. The control method according to claim 12 or 13,
the electronic device generating a first control signal comprises: the electronic equipment generates first proportioning data according to a first current limiting proportion and generates a third driving current input to the motor according to the first proportioning data; the third driving current is the first current limiting ratio multiplied by the single-time power-on maximum current received by the motor;
in response to the first control signal, the electronic device driving a motor of the electronic device to rotate positively with a first pulling torque to drive a lifting mechanism of the electronic device to perform a lifting action includes: according to the third driving current, the electronic equipment drives the motor to generate the first pulling-out torque and rotates forwards to drive the lifting mechanism to perform lifting action;
the electronic device generating a second control signal comprises: the electronic equipment generates second proportioning data according to a second current limiting proportion; generating a fourth driving current input to the motor according to the second proportioning data; the fourth drive current is the second current limit ratio multiplied by the single power-on maximum current received by the motor; wherein the second current limit ratio is greater than the first current limit ratio;
in response to the second control signal, after the lifting mechanism is reset, the electronic device drives the motor to rotate positively with a second pulling torque to drive the lifting mechanism to perform a lifting action, including: according to the fourth driving current, after the lifting mechanism is reset, the electronic equipment drives the motor to generate the second pulling-out torque and rotates forwards to drive the lifting mechanism to perform lifting action.
15. The control method according to claim 12,
the electronic device generating a first control signal comprises: the electronic device generates a fifth drive current; the fifth driving current is a sine wave;
in response to the first control signal, the electronic device driving a motor of the electronic device to rotate positively with a first pulling torque to drive a lifting mechanism of the electronic device to perform a lifting action includes: according to the fifth driving current, the electronic equipment drives the motor to generate the first pulling-out torque in a micro-stepping driving mode, and the first pulling-out torque rotates forwards to drive the lifting mechanism to perform lifting action;
the electronic device generating a second control signal comprises: the electronic device generates a sixth drive current; the sixth driving current is a square wave;
in response to the second control signal, after the lifting mechanism is reset, the electronic device drives the motor to rotate positively with a second pulling torque to drive the lifting mechanism to perform a lifting action, including: according to the sixth driving current, after the lifting mechanism resets, the electronic equipment drives the motor to generate the second pulling-out torque in a full-stepping driving mode, and the motor rotates forwards to drive the lifting mechanism to execute lifting action.
16. The control method according to claim 12,
the electronic device generating a first control signal comprises: the electronic device generates a first pulse signal;
in response to the first control signal, the electronic device driving a motor of the electronic device to rotate positively with a first pulling torque to drive a lifting mechanism of the electronic device to perform a lifting action includes: according to the first pulse signal, the electronic equipment drives the motor to rotate positively at a first rotating speed, and generates a first pulling-out torque to drive the lifting mechanism to perform lifting action;
the electronic device generating a second control signal comprises: the electronic device generates a second pulse signal;
in response to the second control signal, after the lifting mechanism is reset, the electronic device drives the motor to rotate positively with a second pulling torque to drive the lifting mechanism to perform a lifting action, including: according to the second pulse signal, after the lifting mechanism is reset, the electronic equipment drives the motor to rotate forward at a second rotating speed and generate a second pulling-out torque to drive the lifting mechanism to perform lifting action;
wherein the frequency of the second pulse signal is less than the frequency of the first pulse signal; the second rotational speed is less than the first rotational speed.
17. An electronic device comprising a memory and a processor; the memory is used for storing a computer program; the processor is configured to execute the computer program to perform the method of any of claims 12 to 16.
18. The electronic device of claim 17, wherein the electronic device comprises the lifting system of any one of claims 1-11, and a display module, a camera, wherein the camera is a front-facing camera;
the lifting system is arranged on the back of the display module;
the camera is connected with the lifting system; the lifting system is used for driving the camera to extend out of the display module, or driving the camera to retract into the display module.
19. A computer-readable storage medium, characterized in that it comprises a computer program which, when run on a processor, executes the method of any one of claims 12 to 16.
20. A computing device program product, characterized in that when the computing device program product is executed by a processor, the processor performs the method of any of claims 12 to 16.
CN202110221035.8A 2019-04-26 2019-04-26 Lifting system, control method and electronic equipment Active CN113050477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110221035.8A CN113050477B (en) 2019-04-26 2019-04-26 Lifting system, control method and electronic equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110221035.8A CN113050477B (en) 2019-04-26 2019-04-26 Lifting system, control method and electronic equipment
CN201910346580.2A CN110187654B (en) 2019-04-26 2019-04-26 Lifting system, control method and electronic equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201910346580.2A Division CN110187654B (en) 2019-04-26 2019-04-26 Lifting system, control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN113050477A CN113050477A (en) 2021-06-29
CN113050477B true CN113050477B (en) 2022-05-03

Family

ID=67715336

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110221035.8A Active CN113050477B (en) 2019-04-26 2019-04-26 Lifting system, control method and electronic equipment
CN201910346580.2A Active CN110187654B (en) 2019-04-26 2019-04-26 Lifting system, control method and electronic equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201910346580.2A Active CN110187654B (en) 2019-04-26 2019-04-26 Lifting system, control method and electronic equipment

Country Status (1)

Country Link
CN (2) CN113050477B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111580566A (en) * 2020-05-25 2020-08-25 海信视像科技股份有限公司 Display device

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4085355A (en) * 1976-04-26 1978-04-18 Fradella Richard B Variable-speed regenerative brushless electric motor and controller system
JPH0949759A (en) * 1995-08-07 1997-02-18 Hitachi Electron Eng Co Ltd Objective-replacing mechanism for infrared camera
CN2905969Y (en) * 2006-01-13 2007-05-30 张大明 Remotely-controlled parking spot lock
CN101032378B (en) * 2006-03-08 2011-02-02 厦门灿坤实业股份有限公司 Food conditioning machine
KR101591954B1 (en) * 2009-12-21 2016-02-04 엘지이노텍 주식회사 Mobile phone
CN105846607A (en) * 2016-05-23 2016-08-10 武汉百络优物联科技有限公司 Curtain-opening/closing motor
EP3371048B1 (en) * 2016-07-14 2021-08-11 SZ DJI Technology Co., Ltd. Programmable motor controller using a motor
CN106193883B (en) * 2016-07-18 2018-08-07 希美克(广州)实业有限公司 A kind of intelligent switch door container and cabinet door method of switching
CN108124052A (en) * 2016-11-30 2018-06-05 北京小米移动软件有限公司 Mobile terminal and its method of control camera rotation
CN106506927A (en) * 2016-12-09 2017-03-15 努比亚技术有限公司 A kind of terminal and the method shot using terminal
CN108055426A (en) * 2017-11-07 2018-05-18 广东欧珀移动通信有限公司 Camera package assembly and mobile terminal
CN207835605U (en) * 2018-01-10 2018-09-07 深圳市凤岐科技有限公司 A kind of smart mobile phone camera
CN208190696U (en) * 2018-02-09 2018-12-04 Oppo广东移动通信有限公司 Mobile terminal
CN108833702A (en) * 2018-06-12 2018-11-16 Oppo广东移动通信有限公司 Control method, control assembly, mobile terminal and the storage medium of mobile terminal
CN108600597B (en) * 2018-07-17 2021-08-31 北京小米移动软件有限公司 Front camera assembly and front camera control method
CN109088964B (en) * 2018-09-27 2024-04-05 深圳市兆威机电股份有限公司 Linear motor, telescopic camera assembly and mobile phone

Also Published As

Publication number Publication date
CN110187654A (en) 2019-08-30
CN113050477A (en) 2021-06-29
CN110187654B (en) 2021-03-19

Similar Documents

Publication Publication Date Title
JP5021954B2 (en) Low voltage malfunction prevention circuit and method, and power supply circuit and electronic device using the same
KR102216484B1 (en) Method and Apparatus for Controlling Battery Charging
EP3657487A1 (en) Display driving chip and liquid crystal display device
CN105556417A (en) Electronic device for controlling power and method therefor
EP2110936A1 (en) Autonomous control of multiple supply voltage generators for display drivers.
CN108983211B (en) Proximity sensor, method of controlling the same, electronic device, and computer-readable storage medium
CN113050477B (en) Lifting system, control method and electronic equipment
US20170269655A1 (en) Electronic device
CN105531642A (en) Power managing method and electronic system applying the power managing method
TWI559126B (en) Computer-implemented method, computing system and machine-readable medium
WO2023169160A1 (en) Picture adjusting method and apparatus, electronic device, and computer readable storage medium
US20180316272A1 (en) System and method for automatically and adaptively enhancing transient response for a plurality of output voltages
CN112688383B (en) Power supply control circuit, power supply control method and device and electronic equipment
CN108549575A (en) Exit processing method, device, storage medium and the electronic equipment of split screen
US10553177B2 (en) Techniques for robust reliability operation of a thin-film transistor (TFT) display
CN206020961U (en) Control circuit and electronic equipment
CN217904051U (en) Power supply system
CN113064574B (en) Electronic equipment and display parameter control method
US11422599B2 (en) System and method for soft-start scheme to control inrush current for VCONN in USB-C interface
CN109950982B (en) Intelligent card with wireless power taking function
CA2509026C (en) Universal serial bus current limit
US8378527B2 (en) Universal serial bus current limit
EP3553768A1 (en) Method and apparatus for controlling power source of display screen, and storage medium and electronic device
CN218940683U (en) Interface circuit and electronic device
CN116500689B (en) Wireless low-power-consumption material level detection device and method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant