[go: up one dir, main page]

CN110324456B - Electronic device and control method of electronic device - Google Patents

Electronic device and control method of electronic device Download PDF

Info

Publication number
CN110324456B
CN110324456B CN201810285679.1A CN201810285679A CN110324456B CN 110324456 B CN110324456 B CN 110324456B CN 201810285679 A CN201810285679 A CN 201810285679A CN 110324456 B CN110324456 B CN 110324456B
Authority
CN
China
Prior art keywords
module
rotating
rotation
electronic device
angle
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.)
Expired - Fee Related
Application number
CN201810285679.1A
Other languages
Chinese (zh)
Other versions
CN110324456A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810285679.1A priority Critical patent/CN110324456B/en
Publication of CN110324456A publication Critical patent/CN110324456A/en
Application granted granted Critical
Publication of CN110324456B publication Critical patent/CN110324456B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses electronic device, including the device main part, the rotation module, actuating mechanism and angle detection subassembly, the holding tank has been seted up to the tip of the center of device main part, the first rotation portion and the second rotation portion of rotating the module rotate respectively and connect in first pivot hole and second pivot hole, angle detection subassembly includes first angle sensor and second angle sensor, the first rotation angle information of first angle sensor response drive pivot, the second rotation angle information of second rotation portion is responded to the second angle sensor. The application provides an electronic device sets up first angle sensor and second angle sensor respectively through locating at drive device and second rotation portion for can know the turned angle or the rotation state of rotating the module this moment according to second angle sensor, do benefit to the control of rotating the module, be favorable to improving electronic device's reliability. In addition, the application also provides a control method of the electronic device.

Description

Electronic device and control method of electronic device
Technical Field
The present disclosure relates to electronic devices, and particularly to an electronic device and a control method thereof.
Background
Along with the development of science and technology and the market demand, the functions that the cell-phone needs to possess are more and more, and correspondingly, integrated functional device is also more and more on the cell-phone, and the functional device of present cell-phone is fixed in the cell-phone body such as camera device and receiver, and the arrangement of functional device is comparatively limited, is unfavorable for the attenuate of cell-phone.
Disclosure of Invention
The application provides an electronic device and a control method of the electronic device.
On one hand, the application provides an electronic device, which comprises a device main body, a rotating module, a driving mechanism and an angle detection assembly, wherein the device main body comprises a display screen and a middle frame which is covered with the display screen, the end part of the middle frame is provided with a holding tank, two relatively arranged tank walls of the holding tank are respectively provided with a first rotating shaft hole and a second rotating shaft hole, a first rotating part and a second rotating part of the rotating module are respectively connected with the first rotating shaft hole and the second rotating shaft hole in a rotating way, the driving mechanism comprises a driving device and a driving rotating shaft, the driving device is fixed in the device main body, the rotating direction of the driving device is parallel to the rotating direction of the rotating module, one end of the driving rotating shaft is connected with the driving device in a transmission way, the other end of the driving rotating shaft is connected with the first rotating part through a clutch, the angle detection assembly comprises a first angle sensor and a second angle sensor, the first angle sensor senses first rotation angle information of the driving rotating shaft, and the second angle sensor senses second rotation angle information of the second rotating portion.
In another aspect, the present application further provides a method for controlling an electronic device, where the method is applied to the electronic device, and the method includes:
detecting first rotation angle information of the rotation module through a first angle sensor;
detecting second rotation angle information of the rotation module through a second angle sensor;
and if the first rotation angle information is different from the second rotation angle information, determining that the rotating module is in a manual state, and controlling the rotating module to rotate to be in a preset state.
The application provides an electronic device sets up first angle sensor and second angle sensor respectively through department and second rotation portion at drive pivot, make the turned angle of drive pivot and the turned angle of second rotation portion all can detect, so after being separated by the clutch when drive pivot and first rotation portion are because of emergency (suddenly receive the exogenic action), still can know the turned angle or the rotation state of rotation module this moment according to second angle sensor this moment, do benefit to the control to the rotation module, be favorable to improving electronic device's reliability.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an electronic device provided in an embodiment of the present application in a retracted state;
fig. 2 is a schematic view of an electronic device provided in an embodiment of the present application in an unfolded state;
fig. 3 is an exploded perspective view of an electronic device according to an embodiment of the present disclosure;
FIG. 4 is a schematic view of another angle of the electronic device of FIG. 3;
FIG. 5 is a schematic diagram of one position of a Hall sensor of the electronic device of FIG. 3;
FIG. 6 is a schematic view of the rotation module of FIG. 3;
fig. 7 is a flowchart illustrating a control method of an electronic device according to an embodiment of the present application.
Fig. 8 is a flowchart illustrating another control method for an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely 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. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present disclosure.
In the description of the embodiments of the present application, it should be understood that the terms "thickness" and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience in describing the present application and simplifying the description, and do not imply or indicate that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present application.
The present embodiment provides an electronic apparatus 100, and the electronic apparatus 100 may be any electronic device, for example: smart devices such as tablet computers, mobile phones, cameras, personal computers, notebook computers, vehicle-mounted devices, wearable devices, and the like. For convenience of description, referring to fig. 1, the electronic device 100 is defined with reference to the viewing angle, a width direction of the electronic device 100 is defined as an X direction, a length direction of the electronic device 100 is defined as a Y direction, and a thickness direction of the electronic device 100 is defined as a Z direction.
Referring to fig. 1 and fig. 2, an electronic device 100 provided in an embodiment of the present disclosure includes a device main body 1 and a rotation module 2, where the rotation module 2 can be turned over relative to the device main body 1, and when the rotation module 2 needs to be used, as shown in fig. 1, the rotation module 2 is rotated relative to the device main body 1, so that the rotation module 2 is unfolded relative to the device main body 1; when the rotation module 2 needs to be stored, as shown in fig. 2, the rotation module 2 is rotated relative to the apparatus body 1, so that the rotation module 2 is stored in the apparatus body 1.
Specifically, referring to fig. 3 and 4, an electronic device 100 provided in an embodiment of the present application includes a device main body 1, a rotation module 2, a driving mechanism 6 and an angle detection assembly 9, where the device main body 1 includes a display screen 11 and a middle frame 12 covering the display screen 11, an end of the middle frame 12 is provided with an accommodating groove 1211, two opposite groove walls 1211a of the accommodating groove 1211 are respectively provided with a first rotation shaft hole 1211b and a second rotation shaft hole 1211c, a first rotation part 211 and a second rotation part 212 of the rotation module 2 are respectively rotatably connected to the first rotation shaft hole 1211b and the second rotation shaft hole 1211c, the driving mechanism 6 includes a driving device and a driving rotation shaft, the driving device is fixed in the device main body 1, a rotation direction of the driving device is parallel to a rotation direction of the rotation module 2, one end of the driving rotation shaft is rotatably connected to the driving device, the other end of drive pivot pass through clutch 10 connect in first rotation portion 211, angle detection subassembly 9 includes first angle sensor 5 and second angle sensor 8, first angle sensor 5 responds the first rotation angle information of drive pivot, second angle sensor 8 responds the second rotation angle information of second rotation portion 212.
It can be understood that, referring to fig. 4, the electronic device 100 further includes a main board 4, the main board 4 is fixed in the middle frame 12, and the main board 4 is electrically connected to the first angle sensor 5, the second angle sensor 8 and the driving device, so that the main board 4 determines the state of the rotation module 2 according to the first rotation angle information detected by the first angle sensor 5 and the second rotation angle information detected by the second angle sensor 8.
The electronic device 100 may be in various application scenarios during the application process, for example, a user may rotate the rotation module 2 with a large force, and at this time, in order to protect the driving mechanism 6 from being broken, the clutch 10 may separate the driving mechanism 6 from the first rotation portion 211, so that the first angle sensor 5 cannot detect the rotation angle of the first rotation portion 211. In other words, the manual state is a state in which the electronic device 100 cannot determine the rotation state of the first rotating portion 211. The user is required to reset the device manually, and the operation is complex.
Through setting up first angle sensor 5 and second angle sensor 8 respectively in drive pivot department and second rotation portion 212, make the turned angle of drive pivot and the turned angle of second rotation portion 212 all can detect, so after being separated by clutch 10 when drive pivot and first rotation portion 211 because of emergency (suddenly receive the exogenic action), still can know the turned angle or the rotation state of rotation module 2 this moment according to second angle sensor 8 this moment, do benefit to the control of rotation module 2, be favorable to improving electron device 100's reliability.
In other words, after the electronic device 100 is in the manual state, the first angle sensor 5 and the second angle sensor 8 respectively detect the first angle of rotation information and the second angle of rotation information which are different, so that the motherboard 4 in the electronic device 100 can determine that the electronic device 100 is in the manual state, and the electronic device 100 can calculate how many degrees the rotation module 2 needs to rotate to be in the reset state according to the second angle of rotation information, and then the electronic device 100 can control the driving mechanism 6 to rotate the corresponding angle so that the rotation module 2 automatically resets.
The electronic device 100 that this application embodiment provided sets up first angle sensor 5 and second angle sensor 8 respectively through department and second rotation portion 212 at drive pivot for the turned angle of drive pivot and the turned angle of second rotation portion 212 all can detect, so after being separated by clutch 10 when drive pivot and first rotation portion 211 because of emergency (suddenly receive the exogenic action), still can know the turned angle or the rotation state of rotating module 2 this moment according to second angle sensor 8 this moment, do benefit to the control of rotating module 2, be favorable to improving electronic device 100's reliability.
Further, referring to fig. 4 and 5, the electronic device 100 further includes a hall sensor 3 and a magnet 22a disposed in the rotating module 2, the hall sensor 3 is disposed in the middle frame 12, the hall sensor 3 can generate a hall effect with the magnet 22a when the rotating module 2 rotates to a preset angle, and the hall sensor 3 is electrically connected to the main board 4, so that the main board 4 determines the rotating state of the rotating module 2 according to the position sensing information sensed by the hall sensor 3.
By further providing the hall sensor 3 in the electronic device 100 and providing the magnet 22a in the rotation module 2, whether the rotation module 2 is successfully reset can be confirmed, and the rotation reliability of the rotation module 2 can be further improved.
As can be understood from fig. 6, the electronic device 100 further includes a camera module 22, the camera module 22 is accommodated in the rotating module 2, and the magnet 22a is a magnet 22a of the camera module 22 for driving a voice coil motor 22 b.
The magnet 22a in the camera module 22 is used for being matched with the hall sensor 3 to judge the current rotating state of the rotating module 2, so that the magnet 22a in the camera module 22 can be used for driving the voice coil motor 22b in the camera module 22 and can also be used for being matched with the hall sensor 3, and the magnet 22a in the camera module 22 is prevented from being influenced by the extra magnet 22a, and the reliability of the electronic device 100 is further improved.
Hall sensor 3 sets up in center 12, and it rotates module 2 when predetermineeing the angle, and hall sensor 3 can take place hall reaction with magnet 22a, and wherein mainboard 4 can confirm to rotate module 2 according to the position response information that hall sensor 3 response was learnt and be in the reset state, and whether electron device 100 can confirm to rotate module 2 and reset successfully promptly, guarantees to rotate the pivoted reliability of module 2.
Specific positions of the hall sensor 3 in the middle frame 12 include, but are not limited to, the following embodiments:
in one embodiment, referring to fig. 4, the hall sensor 3 is attached to the main board 4.
In another embodiment, referring to fig. 5, the hall sensor 3 is disposed near the bottom of the receiving groove 1211. Therefore, the hall sensor 3 is as close as possible to the rotating module 2, that is, the induction of the hall sensor 3 is more sensitive, and the reliability of the electronic device 100 is further ensured.
The specific structures of the device body 1, the rotating module 2 and the driving mechanism 6 in the above embodiments include, but are not limited to, the following embodiments:
referring to fig. 3, the display screen 11 and the middle frame 12 are covered to form a complete housing of the electronic device 100. The middle frame 12 is composed of a middle plate 121 and a frame 122 surrounding the middle plate 121. The display screen 11 and the frame 122 are connected to form a complete surface of the electronic device 100, wherein the area of the display screen 11 occupies at least 90% of the surface, and the screen of the electronic device 100 occupies a larger area.
It can be understood that the end of the middle frame 12 is formed with an accommodating groove 1211, two opposite groove walls 1211a of the accommodating groove 1211 are formed with a first rotating shaft hole 1211b and a second rotating shaft hole 1211c, respectively, and the first rotating part 211 and the second rotating part 212 of the rotating base 21 are rotatably connected to the first rotating shaft hole 1211b and the second rotating shaft hole 1211c, respectively, so that the rotating base 21 is accommodated in the accommodating groove 1211 or unfolded relative to the display screen 11.
In other words, referring to fig. 3, the middle plate 121 is disposed on a surface of the middle plate 121 away from the display screen 11, and the position where the middle plate 121 is adjacent to the top end 122a of the frame 122 is provided with an accommodating groove 1211. The shape of the receiving groove 1211 matches with the shape of the rotating module 2, please refer to fig. 1, when the rotating module 2 is received in the middle frame 12, the rotating module 2 is completely received in the receiving groove 1211, i.e. the rotating module 2 does not affect the overall size of the electronic device 100. Of course, in other embodiments, the shape of the receiving groove 1211 may be slightly larger or smaller than the size of the rotation module 2.
Referring to fig. 3, the first rotating portion 211 and the second rotating portion 212 are detachably connected to the rotating module 2. One end of the first rotating part 211 is located in the first rotating shaft hole 1211b, the first rotating part 211 is fixed on the device body 1, and the other end of the first rotating part 211 passes through the rotating module 2, wherein the first rotating part 211 can be in transmission connection with the motor 611, that is, the first rotating part 211 rotates under the driving of the motor 611, and correspondingly drives the rotating module 2 to rotate. One end of the second rotating portion 212 is located in the second rotating shaft hole 1211c, the second rotating portion 212 is fixed to the device body 1, the other end of the second rotating portion 212 penetrates through the rotating module 2, and the second rotating portion 212 mainly supports the rotating module 2, so that the rotating module 2 can rotate smoothly under the rotation of the first rotating portion 211. Of course, in other embodiments, the first rotating portion 211 and the second rotating portion 212 may be connected by a transmission rod, that is, the rotation of the first rotating portion 211 drives the second rotating portion 212 to rotate, and further drives the rotating module 2 to rotate. Of course, in other embodiments, the first rotating portion 211 and the second rotating portion 212 may also be integrally connected to the rotating module 2, that is, two rotating shafts are protruded from the rotating module 2 and are oppositely disposed, and the two rotating shafts respectively extend into the first rotating shaft hole 1211b and the second rotating shaft hole 1211c, one of the rotating shafts is in transmission connection with the motor 611 in the device main body 1, and is in transmission connection with one of the rotating shafts through the motor 611 to drive the rotating module 2 to rotate relative to the middle frame 12.
Referring to fig. 1 and 3, the rotating module 2 includes a rotating base 21. The rotating base 21 is substantially rectangular. The rotating base 21 is detachably connected to the first rotating portion 211 and the second rotating portion 212, so that the rotating base 21 can rotate under the driving of the motor 6112.
The rotation module 2 is rotatably connected to the middle frame 12, so that the camera module 22 in the rotation module 2 can flexibly rotate, and the flexibility of arrangement of the camera module 22 in the rotation module 2 in the electronic device 100 is enhanced.
Wherein, the use of the camera module 22 can be realized by changing the rotation state of the rotation module 2, and a camera hole does not need to be further arranged on the display screen 11, which is beneficial to improving the screen occupation ratio of the electronic device 100.
Referring to fig. 2, if the camera module 22 needs to be used, the rotating module 2 is rotated to unfold the rotating module 2 relative to the display 11, and the state of the rotating module 2 at this time is defined as the unfolded state.
Referring to fig. 1, if the camera module 22 is not needed, the rotation module 2 is rotated to accommodate the rotation module 2 in the accommodating groove 1211, that is, the rotation module 2 is stacked relative to the middle frame 12, and the current state of the rotation module 2 is defined as a retracted state, also called a reset state, which is beneficial to accommodating the camera module 22 and improving the reliability of the electronic device 100.
As can be understood, referring to fig. 3 and 4, the first angle sensor 5 senses the rotation angle information of the driving shaft, and the driving shaft is staggered from the first rotating portion 211, so that the rotating module 2 is accommodated in the accommodating groove 1211 or is unfolded relative to the display screen 11.
The first angle sensor 5 is directly used for sensing the rotation angle information of the driving rotating shaft, so that the rotation angle information of the rotating module 2 can be obtained, namely, the first angle sensor 5 can obtain the rotation angle of the rotating module 2 as long as the driving rotating shaft rotates.
Specifically, the driving device includes a motor 611 and a gear box 612, and the driving shaft is connected to the gear box 612 in a transmission manner, that is, the motor 611 rotates to drive the gear box 612 to engage with each other, and further drive the driving shaft to rotate, and the driving shaft further drives the first rotating portion 211 to rotate, so that the rotating module 2 rotates to a preset angle.
As can be appreciated, referring to fig. 3 and 5, the second angle sensor 8 is located in the second rotation shaft hole 1211 c. Specifically, the second angle sensor 8 is aligned with the end surface of the second rotating portion 212, and can detect the second rotation angle information of the second rotating portion 212.
After electronic device 100 is in manual state, first angle sensor 5 and the first angle of rotation information and the second angle of rotation information that second angle sensor 8 detected respectively are inequality, so mainboard 4 when in electronic device 100 can judge that electronic device 100 is in manual state, can calculate according to the second angle of rotation information and rotate module 2 and need rotate to how many degrees just be in the reset state, then electronic device 100 can control actuating mechanism 6 and rotate corresponding angle and make and rotate module 2 automatic re-setting.
Simultaneously, hall sensor 3 rotates to taking place hall effect and obtaining position sensing information with magnet 22a in camera module 22 after presetting the angle at rotation module 2, and whether mainboard 4 of being connected with hall sensor 3 electricity can judge camera module 22 according to position sensing information and successfully reset to the accuracy that the assurance rotated module 2 and reset.
The application provides an electronic device 100 is through setting up first angle sensor 5 and second angle sensor 8 respectively in drive pivot department and second rotation portion 212, make the turned angle of drive pivot and the turned angle of second rotation portion 212 all can detect, so after being separated by clutch 10 when drive pivot and first rotation portion 211 are because of emergency (suddenly receive the exogenic action), still can know the turned angle or the rotation state of rotation module 2 this moment according to second angle sensor 8 this moment, do benefit to the control of rotating module 2, be favorable to improving electronic device 100's reliability.
Further, referring to fig. 3, the electronic device 100 further includes a conductive cable 7 fixed in the middle frame 12, one end of the conductive cable 7 is electrically connected to the camera module 22, and the other end of the conductive cable 7 passes through the second rotation shaft hole 1211c until being electrically connected to the main board 4.
Specifically, the conductive cables 7 for electrically connecting the camera module 22 and the motherboard 4 are arranged in the second rotation shaft hole 1211c, and the arrangement of the conductive cables 7 can be limited by the second rotation shaft hole 1211c, which is favorable for the arrangement of the components of the electronic device 100.
As can be understood, referring to fig. 6, the electronic device 100 further includes a functional device 23, the functional device 23 is disposed in the rotating module 2, and the functional device 23 is at least one of an iris recognition module, a face recognition module, a receiver, a photoreceptor, and a key.
Referring to fig. 7, a schematic flow chart of a control method of an electronic device according to an embodiment of the present application is provided, where the method is applied to, but not limited to, the electronic device in the above embodiment, and the method includes:
s101: detecting first rotation angle information of the rotation module through a first angle sensor;
s103: detecting second rotation angle information of the rotation module through a second angle sensor;
specifically, the first angle sensor aligned with the driving rotating shaft can detect first rotation angle information when the driving rotating shaft rotates.
The second angle sensor aligned with the second rotating portion can detect second rotation angle information when the rotating shaft is driven to rotate.
S105: determining the rotation state of the rotation module;
specifically, the method comprises the following steps: and if the first rotation angle information is different from the second rotation angle information, determining that the rotating module is in a manual state, and controlling the rotating module to rotate to be in a preset state.
The rotating module is rotated vigorously by a user, the driving mechanism is separated from the first rotating part by the clutch in order to protect the driving mechanism from being broken off, so that the rotating angle of the first rotating part cannot be detected by the first angle sensor, and the state is defined as a manual state for convenience of description. In other words, the manual state is a state in which the electronic device cannot determine the rotation of the first rotating portion. The user needs to manually reset or rotate the rotary table to a required angle, and the operation is tedious.
It is understood that the preset state may be a preset rotation angle parameter of the rotation module, such as 30 degrees, 45 degrees, 60 degrees, etc.
Specifically, a preset rotation angle parameter may be calculated according to the second rotation angle information, and the rotation module may be controlled to rotate according to the preset rotation angle parameter, so that the rotation module rotates to a state corresponding to the preset rotation angle parameter.
It will be appreciated that the preset state may also be directly the reset state. Namely, the reset state is a state that the rotating module is stacked relative to the middle frame.
At this time, the driving shaft and the first rotating part are in a separated state, so that the first rotating angle information and the second rotating angle are different.
And calculating a reset rotation angle parameter according to the second rotation angle information, and controlling the rotation module to rotate according to the reset rotation angle parameter so that the rotation module rotates to a reset state.
Therefore, when the main board in the electronic device can judge that the electronic device is in a manual state, the rotation module can be calculated to be in a reset state only when the rotation module rotates to a certain degree according to the second angle rotation information, then the electronic device can control the driving mechanism to rotate the corresponding angle, so that the rotation module automatically resets, and the automation degree of the electronic device is further improved.
Referring to fig. 8, a schematic flow chart of another method for controlling an electronic device according to an embodiment of the present application is shown, where the method is applied to, but not limited to, the electronic device in the above embodiment, and the method includes:
s201: detecting first rotation angle information of the rotation module through a first angle sensor;
s203: detecting second rotation angle information of the rotation module through a second angle sensor;
specifically, the first angle sensor aligned with the driving rotating shaft can detect first rotation angle information when the driving rotating shaft rotates.
The second angle sensor aligned with the second rotating portion can detect second rotation angle information when the rotating shaft is driven to rotate.
S205: determining the rotation state of the rotation module;
specifically, the method comprises the following steps: and if the first rotation angle information is different from the second rotation angle information, determining that the rotating module is in a manual state, and controlling the rotating module to rotate to be in a preset state.
The rotating module is rotated vigorously by a user, the driving mechanism is separated from the first rotating part by the clutch in order to protect the driving mechanism from being broken off, so that the rotating angle of the first rotating part cannot be detected by the first angle sensor, and the state is defined as a manual state for convenience of description. In other words, the manual state is a state in which the electronic device cannot determine the rotation of the first rotating portion. The user needs to manually reset or rotate the rotary table to a required angle, and the operation is tedious.
It is understood that the preset state may be a preset rotation angle parameter of the rotation module, such as 30 degrees, 45 degrees, 60 degrees, etc.
Specifically, a preset rotation angle parameter may be calculated according to the second rotation angle information, and the rotation module may be controlled to rotate according to the preset rotation angle parameter, so that the rotation module rotates to a state corresponding to the preset rotation angle parameter.
It will be appreciated that the preset state may also be directly the reset state. Namely, the reset state is a state that the rotating module is stacked relative to the middle frame.
At this time, the driving shaft and the first rotating part are in a separated state, so that the first rotating angle information and the second rotating angle are different.
And calculating a reset rotation angle parameter according to the second rotation angle information, and controlling the rotation module to rotate according to the reset rotation angle parameter so that the rotation module rotates to a reset state.
S207: acquiring position sensing information sensed by the Hall sensor through the Hall effect generated between the Hall sensor and the magnet;
s209: and if the position sensing information is detected to be within a preset position sensing information threshold value, determining that the rotating module is in a reset state.
Specifically, after electronic device is in manual state, first angle sensor and the first rotation angle information and the second angle rotation information that second angle sensor detected respectively are inequality, so mainboard when among the electronic device can judge that electronic device is in manual state, can calculate according to second angle rotation information and rotate the module and need rotate just to be in the reset state to how many degrees, then electronic device can control actuating mechanism and rotate corresponding angle and make and rotate module automatic re-setting.
Simultaneously, hall sensor rotates to taking place the hall effect with the magnet in the camera module after predetermineeing the angle and obtains position response information at the rotation module, and the mainboard of being connected with hall sensor electricity can judge whether the camera module resets successfully according to position response information to guarantee to rotate the accuracy that the module resets.
The foregoing is an implementation of the embodiments of the present application, and it should be noted that, for those skilled in the art, several modifications and decorations can be made without departing from the principle of the embodiments of the present application, and these modifications and decorations are also regarded as the protection scope of the present application.

Claims (13)

1. An electronic device is characterized by comprising a device main body, a rotating module, a driving mechanism and an angle detection assembly, wherein the device main body comprises a display screen and a middle frame which is covered with the display screen, a holding tank is arranged at the end part of the middle frame, a first rotating shaft hole and a second rotating shaft hole are respectively arranged on two opposite groove walls of the holding tank, a first rotating part and a second rotating part of the rotating module are respectively and rotatably connected with the first rotating shaft hole and the second rotating shaft hole,
the driving mechanism comprises a driving device and a driving rotating shaft, the driving device is fixed in the device main body, the rotating direction of the driving device is parallel to the rotating direction of the rotating module, one end of the driving rotating shaft is connected to the driving device in a transmission way, the other end of the driving rotating shaft is connected to the first rotating part through a clutch,
the angle detection assembly comprises a first angle sensor and a second angle sensor, the first angle sensor senses first rotation angle information of the driving rotating shaft, and the second angle sensor senses second rotation angle information of the second rotating part;
when the clutch of the electronic device is disconnected, the driving mechanism is used for determining that the rotating module is in a manual state and controlling the rotating module to rotate to be in a preset state if the first rotating angle information is different from the second rotating angle information.
2. The electronic device according to claim 1, further comprising a main board fixed in the middle frame, wherein the main board is electrically connected to the first angle sensor, the second angle sensor and the driving device, so that the main board determines the state of the rotation module according to first rotation angle information detected by the first angle sensor and second rotation angle information detected by the second angle sensor.
3. The electronic device according to claim 2, further comprising a hall sensor and a magnet disposed in the rotating module, wherein the hall sensor is disposed in the middle frame, and the hall sensor can generate a hall effect with the magnet when the rotating module rotates to a preset angle, and the hall sensor is electrically connected to the main board, so that the main board determines a rotating state of the rotating module according to position sensing information sensed by the hall sensor.
4. The electronic device of claim 3, further comprising a camera module received in the rotation module, wherein the magnet is a magnet in the camera module for driving a voice coil motor.
5. The electronic device of claim 4, wherein the Hall sensor is attached to the main board.
6. The electronic device of claim 4, wherein the Hall sensor is disposed proximate to a bottom of the receiving slot.
7. The electronic device according to any one of claims 1 to 6, wherein the driving shaft is offset from the first rotating part.
8. The electronic device according to any one of claims 1 to 6, wherein the second angle sensor is located in the second rotation hole.
9. The electronic device according to any one of claims 1 to 6, further comprising a functional device disposed in the rotation module, wherein the functional device is at least one of an iris recognition module, a face recognition module, a receiver, a photoreceptor, and a key.
10. A method for controlling an electronic device, applied to the electronic device of any one of claims 1 to 9, the method comprising:
detecting first rotation angle information of the driving rotating shaft through a first angle sensor;
detecting second rotation angle information of the second rotating portion by a second angle sensor;
and if the first rotation angle information is different from the second rotation angle information, determining that the rotating module is in a manual state, and controlling the rotating module to rotate to be in a preset state.
11. The method of claim 10, wherein the controlling the rotation module to rotate to a preset state comprises:
and controlling the rotating module to rotate to a reset state, wherein the reset state is a state that the rotating module is stacked relative to the middle frame.
12. The method of claim 11, wherein said controlling said rotation module to rotate to a reset comprises:
and calculating a reset rotation angle parameter according to the second rotation angle information, and controlling the rotation module to rotate according to the reset rotation angle parameter so that the rotation module rotates to a reset state.
13. The method of claim 12, wherein the electronic device comprises a hall sensor and a magnet disposed in the rotating module; after the method controls the rotation module to rotate to be in the reset state, the method further comprises the following steps:
acquiring position sensing information sensed by the Hall sensor through the Hall effect generated between the Hall sensor and the magnet;
and if the position sensing information is detected to be within a preset position sensing information threshold value, determining that the rotating module is in a reset state.
CN201810285679.1A 2018-03-31 2018-03-31 Electronic device and control method of electronic device Expired - Fee Related CN110324456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810285679.1A CN110324456B (en) 2018-03-31 2018-03-31 Electronic device and control method of electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810285679.1A CN110324456B (en) 2018-03-31 2018-03-31 Electronic device and control method of electronic device

Publications (2)

Publication Number Publication Date
CN110324456A CN110324456A (en) 2019-10-11
CN110324456B true CN110324456B (en) 2021-02-26

Family

ID=68112105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810285679.1A Expired - Fee Related CN110324456B (en) 2018-03-31 2018-03-31 Electronic device and control method of electronic device

Country Status (1)

Country Link
CN (1) CN110324456B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203193692U (en) * 2013-03-13 2013-09-11 深圳市有方科技有限公司 Communication terminal having camera
CN203274722U (en) * 2013-05-20 2013-11-06 武汉华中天经光电系统有限公司 Dual channel coarse and fine composite angle measurement system
CN103982649A (en) * 2014-06-04 2014-08-13 吉林大学 Vertical shaft transmission clutch device capable of achieving motion decomposition
CN104202481A (en) * 2014-09-16 2014-12-10 广东欧珀移动通信有限公司 Smart bar phone and method for receiving incoming calls on from sides
JP2016168650A (en) * 2015-03-13 2016-09-23 キヤノン株式会社 Robot device, robot control method, program, and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8901921B2 (en) * 2009-11-25 2014-12-02 Infineon Technologies Ag Angle measurement system for determining an angular position of a rotating shaft
CN104320508A (en) * 2014-10-27 2015-01-28 广东欧珀移动通信有限公司 A mobile terminal with a rotating camera and camera angle control method thereof
CN204726235U (en) * 2015-07-07 2015-10-28 王震宇 A kind of Anti-mis-stepping electronic accelerator pedal of automobile system
JP6194969B2 (en) * 2016-02-18 2017-09-13 日本精工株式会社 Electric vehicle drive device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203193692U (en) * 2013-03-13 2013-09-11 深圳市有方科技有限公司 Communication terminal having camera
CN203274722U (en) * 2013-05-20 2013-11-06 武汉华中天经光电系统有限公司 Dual channel coarse and fine composite angle measurement system
CN103982649A (en) * 2014-06-04 2014-08-13 吉林大学 Vertical shaft transmission clutch device capable of achieving motion decomposition
CN104202481A (en) * 2014-09-16 2014-12-10 广东欧珀移动通信有限公司 Smart bar phone and method for receiving incoming calls on from sides
JP2016168650A (en) * 2015-03-13 2016-09-23 キヤノン株式会社 Robot device, robot control method, program, and storage medium

Also Published As

Publication number Publication date
CN110324456A (en) 2019-10-11

Similar Documents

Publication Publication Date Title
EP4156705B1 (en) Electronic device including pop-up and rotational camera
EP3881162B1 (en) Electronic device including slidable body
US11737223B2 (en) Foldable electronic device including a sliding-type hinge structure beneath a flexible display
EP3878165B1 (en) Electronic device including rotatable camera
KR20200121151A (en) An foldable electronic device including a sliding module and control method
US12107979B2 (en) Electronic device capable of folding motion and sliding motion
CN110324455B (en) Electronic device and control method of electronic device
KR102780095B1 (en) Electronic device and method for controlling electronic device
KR102705238B1 (en) Foldable electronic device comprising multiple windows
EP4149092A1 (en) Electronic device comprising multiple displays and method for operating same
US11799996B2 (en) Electronic device including camera pop-up structure
US12192392B2 (en) Electronic device including slide body having rotary camera module
KR102666320B1 (en) I/o connector and electric device including the same
EP4152122A1 (en) Electronic device capable of folding and sliding operations
CN110324456B (en) Electronic device and control method of electronic device
KR102514401B1 (en) The electronic device including the connector for attaching the accessory device
CN108990330B (en) Shell assembly and electronic equipment
CN113783978B (en) Electronic equipment
CN113994651A (en) Method of moving parts of electronic device and electronic device supporting the same
EP4325327A1 (en) Flexible display and electronic device comprising same
KR20210155603A (en) Electronic device including flexible display module
CN114600068B (en) Electronic device and operation method of electronic device
EP3596541B1 (en) Imaging modules power on via rotations
US20220349517A1 (en) Electronic device comprising transparent display and structure for supporting transparent display
KR20210009691A (en) Electronic device and operating method thereof

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: No.18, Wusha Haibin Road, Chang'an Town, Dongguan City, Guangdong Province

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210226