Disclosure of Invention
The invention aims to solve the technical problems that in the prior art, the mode of manually rotating the camera module has the defects of inconvenient operation, easy damage to the module and the like, and aims to provide a control method and a system for automatically rotating the camera of intelligent equipment.
The invention solves the technical problems through the following technical scheme:
the invention provides a control system for automatically rotating a camera of intelligent equipment, which comprises a camera module, a driving mechanism, a pressure detection module and a control module, wherein the camera module is arranged on the driving mechanism;
the driving mechanism is connected with the camera module;
the pressure detection module is electrically connected with the control module;
the pressure detection module is arranged on the camera module and used for acquiring a pressure value acting on the pressure detection module;
the control module is used for acquiring the pressure value, judging whether the pressure value is larger than a first set threshold value or not, and controlling the driving mechanism to drive the camera module to start rotating if the pressure value is larger than the first set threshold value.
Optionally, two sides of the camera module perpendicular to the rotation direction are respectively provided with one pressure detection module;
the control module is used for acquiring the pressure values obtained by the two pressure detection modules, and controlling the driving mechanism to drive the camera module to start rotating when the pressure value detected by any one of the pressure detection modules is greater than the first set threshold value.
Optionally, when the camera module receives an external force in the rotation direction during the rotation process, the control module is configured to acquire an electrical signal in the driving mechanism, and determine whether the driving mechanism is overloaded according to the electrical signal, and if the driving mechanism is overloaded, control the camera module to stop rotating or return to the initial position through the driving mechanism.
Optionally, when the electrical signal includes a current value, the control module is configured to obtain the current value in the driving mechanism, and determine whether the current value exceeds a second set threshold, and if so, determine that the driving mechanism is overloaded; and/or the presence of a gas in the gas,
and when the electric signal comprises a voltage value, the control module is used for acquiring the voltage value in the driving mechanism, judging whether the voltage value exceeds a third set threshold value or not, and determining that the driving mechanism is overloaded if the voltage value exceeds the third set threshold value.
Optionally, the control system further comprises a speed control module and a fixing mechanism;
one end of the fixing mechanism is fixedly connected with the camera module, the other end of the fixing mechanism is fixedly connected with one end of the speed control module, and the other end of the speed control module is connected with the driving mechanism;
the fixing mechanism is used for fixing the camera module;
the driving mechanism controls the rotation speed of the camera module through the speed control module.
Optionally, the screen of the smart device is a full screen;
the fixing mechanism, the speed control module and the driving mechanism are all arranged in the intelligent equipment;
the camera module is fixedly arranged on the back of the intelligent device through the fixing mechanism.
Optionally, the camera module comprises a camera;
when the camera module is used for post shooting, the control module controls the camera to start to work, and the camera module is located on the back of the intelligent device;
when the camera module is adopted for front-end shooting, the control module controls the camera to start working and controls the driving mechanism to drive the camera module to rotate from the back of the intelligent device to the upper side of the intelligent device.
Optionally, the camera module further comprises a floodlight and a module main body;
the camera and the floodlight are fixedly arranged on the module main body;
the module main body is hinged and fixed on the back of the intelligent equipment through the fixing mechanism.
Optionally, the pressure detection module comprises a pressure sensor; and/or the presence of a gas in the gas,
the drive mechanism comprises a motor; and/or the presence of a gas in the gas,
the speed control module includes a speed reducer.
The present invention also provides a method for controlling automatic rotation of a camera of an intelligent device, the method being implemented by the system for controlling automatic rotation of a camera of an intelligent device according to claim 1, the method comprising:
acquiring a pressure value acting on the pressure detection module by using the pressure detection module;
and the control module is adopted to acquire the pressure value, judge whether the pressure value is greater than a first set threshold value or not, and control the driving mechanism to drive the camera module to start rotating if the pressure value is greater than the first set threshold value.
Optionally, two sides of the camera module perpendicular to the rotation direction are respectively provided with one pressure detection module;
the method comprises the following steps of adopting the control module to obtain the pressure value, judging whether the pressure value is greater than a first set threshold value or not, and if so, controlling the driving mechanism to drive the camera module to start rotating, wherein the steps comprise:
the control module is used for acquiring the pressure values obtained by the two pressure detection modules, and when the pressure value detected by any one of the pressure detection modules is larger than the first set threshold value, the driving mechanism is controlled to drive the camera module to start rotating.
Optionally, after the step of controlling the driving mechanism to drive the camera module to start rotating, the method further includes:
when the camera module is acted by an external force in the rotating direction in the rotating process, the control module is adopted to acquire the electric signal in the driving mechanism, whether the driving mechanism is overloaded or not is judged according to the electric signal, and if the driving mechanism is overloaded, the camera module is controlled to stop rotating or recover to the initial position through the driving mechanism.
Optionally, when the electrical signal includes a current value, the step of acquiring the electrical signal in the driving mechanism by using the control module, and determining whether the driving mechanism is overloaded according to the electrical signal includes:
acquiring the current value in the driving mechanism by adopting the control module, judging whether the current value exceeds a second set threshold value, and determining that the driving mechanism is overloaded if the current value exceeds the second set threshold value; and/or the presence of a gas in the gas,
when the electric signal comprises a voltage value, the step of adopting the control module to obtain the electric signal in the driving mechanism and judging whether the driving mechanism is overloaded according to the electric signal comprises the following steps:
and acquiring the voltage value in the driving mechanism by adopting the control module, judging whether the voltage value exceeds a third set threshold value, and determining that the driving mechanism is overloaded if the voltage value exceeds the third set threshold value.
The positive progress effects of the invention are as follows:
according to the automatic camera module, the pressure detection module is arranged on the rotatable camera module, and when the pressure applied to the pressure detection module exceeds a set threshold value, the driving mechanism is controlled to drive the camera module to start rotating, so that the aim of automatically rotating the camera module is fulfilled, the situation that the camera module is easy to damage is avoided, and the user experience is enhanced; and can meet the pursuit of high screen ratio.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
As shown in fig. 2, the control system for automatically rotating the camera of the smart device in this embodiment includes a camera module 1, a driving mechanism 2, a pressure detection module 3, and a control module 4.
Wherein, the driving mechanism 2 includes but is not limited to a motor, and the pressure detection module 3 includes but is not limited to a pressure sensor.
The driving mechanism 2 is connected with the camera module 1;
the pressure detection module 3 is electrically connected with the control module 4;
the pressure detection module 3 is arranged on the camera module 1 and used for acquiring a pressure value acting on the pressure detection module 3;
control module 4 is used for obtaining the pressure value to judge whether the pressure value is greater than first settlement threshold value, if be greater than, then control actuating mechanism 2 drive camera module 1 and begin the autogiration, thereby replace current manual rotatory camera module 1's mode, convenient operation.
In the embodiment, the pressure detection module is arranged on the rotatable camera module, and when the pressure applied to the pressure detection module exceeds a set threshold value, the driving mechanism is controlled to drive the camera module to start rotating, so that the aim of automatically rotating the camera module is fulfilled, the situation that the camera module is easy to damage is avoided, and the user experience is enhanced; and can meet the pursuit of high screen ratio.
Example 2
As shown in fig. 3, the control system for automatically rotating the camera of the smart device in this embodiment is a further improvement of embodiment 1, specifically:
two sides of the camera module 1 perpendicular to the rotation direction are respectively provided with a pressure detection module 3;
the control module 4 is used for acquiring pressure values obtained by the two pressure detection modules 3, and controlling the driving mechanism 2 to drive the camera module 1 to rotate when the pressure value detected by any one of the pressure detection modules 3 is greater than a first set threshold value.
When the camera module 1 receives the exogenic action on rotatory in-process direction of rotation, control module 4 is arranged in acquireing the signal of telecommunication among the actuating mechanism 2 to judge whether actuating mechanism 2 takes place the overload according to the signal of telecommunication, if take place the overload, then stop rotatory or resume to initial position through actuating mechanism 2 control camera module 1.
Specifically, when the electrical signal includes a current value, the control module 4 is configured to obtain the current value in the driving mechanism 2, and determine whether the current value exceeds a second set threshold, and if so, determine that the driving mechanism 2 is overloaded; and/or the presence of a gas in the gas,
when the electric signal comprises a voltage value, the control module 4 is configured to obtain the voltage value in the driving mechanism 2, and determine whether the voltage value exceeds a third set threshold, and if so, determine that the driving mechanism 2 is overloaded.
Realize promptly when overflowing or when excessive pressure among actuating mechanism 2, in time stop camera module 1's continuation rotation operation, avoid camera module 1 because of impaired such as maloperation.
As shown in fig. 4, the control system further comprises a speed control module 5 and a fixing mechanism 6.
One end of the fixing mechanism 6 is fixedly connected with the camera die 1, the other end of the fixing mechanism 6 is fixedly connected with one end of the speed control module 5, and the other end of the speed control module 5 is connected with the driving mechanism 2;
the fixing mechanism 6 is used for fixing the camera module 1;
the driving mechanism 2 controls the rotation speed of the camera module 1 through the speed control module 5.
The speed control module includes, but is not limited to, a speed reducer.
Specifically, the fixing mechanism 6, the speed control module 5 and the driving mechanism 2 are all arranged in the intelligent device; camera module 1 sets firmly in the back of smart machine through fixed establishment 6, and such connection structure makes the screen of smart machine can satisfy the demand of full face screen.
In addition, the camera module 1 comprises a camera 7, and the same camera 7 is shared by front and back shooting.
The camera module 1 also comprises a floodlight 8 and a module main body 9;
the camera 7 and the floodlight 8 are both fixedly arranged on the module main body 9;
the module main body 9 is hinged and fixed on the back of the intelligent device through the fixing mechanism 6.
When the camera module rotates to the top of smart machine from the back of smart machine, camera 7 and floodlight 8 all surpass the last border of smart machine to guarantee the field of vision and the definition of shooing.
Specifically, as shown in fig. 5, when the camera module is used for post shooting, the control module controls the camera to start working, and the camera module is located on the back of the intelligent device;
as shown in fig. 6, when the front-end shooting is performed by using the camera module, the control module controls the camera to start, and controls the driving mechanism to drive the camera module to rotate to the upper side of the intelligent device from the back side of the intelligent device.
The following structural embodiments are illustrated:
the camera module of smart machine is in initial condition under general condition, and fixed attached is at the back of smart machine promptly.
When a user needs to carry out front shooting, the user can press one side of the camera module by fingers or press two sides of the camera module simultaneously, and at the moment, the pressure sensor acquires a corresponding pressure value and transmits the pressure value to the control module for analysis; when the control module determines that the pressure value exceeds the set threshold (for example, 10N), the camera module is controlled to rotate from the back of the intelligent device until the camera module stops rotating 180 degrees (at this time, the camera module is located above the intelligent device), and then front-end shooting can be started.
When a user needs to carry out post shooting, the pressure sensor acquires a corresponding pressure value and transmits the pressure value to the control module for analysis; when the control module determines that the pressure value exceeds the set threshold (for example, 10N), the upper part of the camera module intelligent device is controlled to start rotating until the position is rotated by 180 degrees and then the camera module intelligent device is restored to the initial position (the back of the intelligent device), and then the post-shooting can be started. When the camera module receives the effect of external force on rotatory in-process direction of rotation, then whether overload through control module in time judgement motor, if take place to transship then control camera module stop rotatory or resume to initial position.
In the embodiment, the pressure detection module is arranged on the side edge of the camera module, and when the pressure acting on the pressure detection module exceeds a set threshold value, the camera module is controlled to start to automatically rotate; meanwhile, when the motor is overloaded due to external force applied to the camera module in the rotating direction in the rotating process, the camera module is controlled to stop rotating or recover to the initial position, so that the aim of automatically rotating the camera module is fulfilled, the situation that the camera module is easy to damage is avoided, and the user experience is enhanced; and can meet the pursuit of high screen ratio.
Example 3
The method for controlling the automatic rotation of the camera of the intelligent device in this embodiment is implemented by using the system for controlling the automatic rotation of the camera of the intelligent device in embodiment 1.
As shown in fig. 7, the method for controlling automatic rotation of a camera of an intelligent device in this embodiment includes:
s101, acquiring a pressure value acting on a pressure detection module by using the pressure detection module;
s102, acquiring a pressure value by using a control module, judging whether the pressure value is greater than a first set threshold value, and if so, controlling a driving mechanism to drive a camera module to start to automatically rotate.
In the embodiment, the pressure detection module is arranged on the rotatable camera module, and when the pressure applied to the pressure detection module exceeds a set threshold value, the driving mechanism is controlled to drive the camera module to start rotating, so that the aim of automatically rotating the camera module is fulfilled, the situation that the camera module is easy to damage is avoided, and the user experience is enhanced; and can meet the pursuit of high screen ratio.
Example 4
The method for controlling the automatic rotation of the camera of the intelligent device in this embodiment is implemented by using the system for controlling the automatic rotation of the camera of the intelligent device in embodiment 2.
As shown in fig. 8, the method for controlling automatic rotation of a camera of an intelligent device in this embodiment includes:
step S102 includes:
and S1021, acquiring pressure values obtained by the two pressure detection modules by adopting the control module, and controlling the driving mechanism to drive the camera module to start rotating when the pressure value detected by any one of the pressure detection modules is larger than a first set threshold value.
Step S1021 is followed by:
s103, when the camera module is acted by an external force in the rotating direction in the rotating process, acquiring an electric signal in the driving mechanism by adopting a control module;
and S104, judging whether the driving mechanism is overloaded or not according to the electric signal, and if so, controlling the camera module to stop rotating or recover to the initial position through the driving mechanism.
Specifically, when the electric signal includes a current value, step S104 includes:
and acquiring a current value in the driving mechanism by adopting a control module, judging whether the current value exceeds a second set threshold value, and determining that the driving mechanism is overloaded if the current value exceeds the second set threshold value.
When the electrical signal includes a voltage value, step S104 includes:
and acquiring a voltage value in the driving mechanism by adopting a control module, judging whether the voltage value exceeds a third set threshold value, and determining that the driving mechanism is overloaded if the voltage value exceeds the third set threshold value.
Realize promptly when overflowing or when excessive pressure among the actuating mechanism, in time stop the continuation rotation operation of camera module, avoid the camera module because of impaired such as maloperation.
The following structural embodiments are illustrated:
the camera module of smart machine is in initial condition under general condition, and fixed attached is at the back of smart machine promptly.
When a user needs to carry out front shooting, the user can press one side of the camera module by fingers or press two sides of the camera module simultaneously, and at the moment, the pressure sensor acquires a corresponding pressure value and transmits the pressure value to the control module for analysis; when the control module determines that the pressure value exceeds the set threshold (for example, 10N), the camera module is controlled to rotate from the back of the intelligent device until the camera module stops rotating 180 degrees (at this time, the camera module is located above the intelligent device), and then front-end shooting can be started.
When a user needs to carry out post shooting, the pressure sensor acquires a corresponding pressure value and transmits the pressure value to the control module for analysis; when the control module determines that the pressure value exceeds the set threshold (for example, 10N), the upper part of the camera module intelligent device is controlled to start rotating until the position is rotated by 180 degrees and then the camera module intelligent device is restored to the initial position (the back of the intelligent device), and then the post-shooting can be started. When the camera module receives the effect of external force on rotatory in-process direction of rotation, then whether overload through control module in time judgement motor, if take place to transship then control camera module stop rotatory or resume to initial position.
In the embodiment, the pressure detection module is arranged on the side edge of the camera module, and when the pressure acting on the pressure detection module exceeds a set threshold value, the camera module is controlled to start to automatically rotate; meanwhile, when the motor is overloaded due to external force applied to the camera module in the rotating direction in the rotating process, the camera module is controlled to stop rotating or recover to the initial position, so that the aim of automatically rotating the camera module is fulfilled, the situation that the camera module is easy to damage is avoided, and the user experience is enhanced; and can meet the pursuit of high screen ratio.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that these are by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.