CN111561899A - Folding angle detection method and electronic equipment - Google Patents

Folding angle detection method and electronic equipment Download PDF

Info

Publication number
CN111561899A
CN111561899A CN202010354734.5A CN202010354734A CN111561899A CN 111561899 A CN111561899 A CN 111561899A CN 202010354734 A CN202010354734 A CN 202010354734A CN 111561899 A CN111561899 A CN 111561899A
Authority
CN
China
Prior art keywords
rotating shaft
distance
folding
sensor
electronic device
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.)
Pending
Application number
CN202010354734.5A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010354734.5A priority Critical patent/CN111561899A/en
Publication of CN111561899A publication Critical patent/CN111561899A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
    • G01B21/22Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring angles or tapers; for testing the alignment of axes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
    • G01B21/02Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring length, width, or thickness
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/02Measuring arrangements characterised by the use of electric or magnetic techniques for measuring length, width or thickness
    • G01B7/023Measuring arrangements characterised by the use of electric or magnetic techniques for measuring length, width or thickness for measuring distance between sensor and object

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a folding angle detection method and electronic equipment, wherein the electronic equipment comprises a first folding main body, a second folding main body, a first rotating shaft connected with the first folding main body and a second rotating shaft connected with the second folding main body, and the first rotating shaft and the second rotating shaft are coaxially arranged; the electronic device further includes: the spiral sheet is fixedly arranged around the axial surface of the first rotating shaft; the distance sensor is fixedly arranged on the end face of the second rotating shaft; the distance sensor is arranged opposite to the spiral piece, and in the process that the first folding main body rotates relative to the second folding main body, the projection of the distance sensor along the axial lead direction of the first rotating shaft and the second rotating shaft is located on the surface of the spiral piece. The scheme well solves the problems that in the prior art, the folding angle detection scheme of the electronic equipment is high in implementation cost and limited in angle capable of being identified.

Description

Folding angle detection method and electronic equipment
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a folding angle detection method and electronic equipment.
Background
Taking a flexible folding screen mobile phone as an example, if the requirements of human-computer interaction, function expansion and the like need to be realized through the rotation action of the terminal mobile phone, the folding angle of the folding screen mobile phone needs to be detected more accurately. In the related art, the hall sensor is used for sensing the change of the magnetic field intensity, so that the folding angle of the folding screen mobile phone can be detected in real time, but the defect is that when a user uses the folding screen mobile phone in a magnetic field environment, the magnetic field environment may cause interference or failure on the hall sensor to influence the user experience.
In addition, the existing folding angle detection scheme of the electronic equipment has the problems of high implementation cost, high implementation difficulty, limited recognizable angle, complex structure and the like.
Disclosure of Invention
The invention aims to provide a folding angle detection method and electronic equipment, and aims to solve the problems that in the prior art, the folding angle detection scheme of the electronic equipment has high implementation cost and limited recognizable angles.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an electronic device, including a first folding main body, a second folding main body, a first rotating shaft connected to the first folding main body, and a second rotating shaft connected to the second folding main body, where the first rotating shaft and the second rotating shaft are coaxially arranged; the electronic device further includes:
the spiral sheet is fixedly arranged around the axial surface of the first rotating shaft;
the distance sensor is fixedly arranged on the end face of the second rotating shaft;
the distance sensor is arranged opposite to the spiral piece, and in the process that the first folding main body rotates relative to the second folding main body, the projection of the distance sensor along the axial lead direction of the first rotating shaft and the second rotating shaft is located on the surface of the spiral piece.
In a second aspect, an embodiment of the present invention further provides a folding angle detection method, which is applied to the electronic device described above, where the folding angle detection method includes:
acquiring a detection signal of a distance sensor in the electronic equipment;
determining the distance from the distance sensor to the spiral sheet along a preset direction according to the detection signal;
determining a relative angle between the first folded body and the second folded body according to the distance;
the preset direction is the axial lead direction of a first rotating shaft and a second rotating shaft of the electronic equipment.
In a third aspect, an embodiment of the present invention further provides an electronic device, including the first folding main body, the second folding main body, the first rotating shaft, the second rotating shaft, the spiral sheet, and the distance sensor, where the electronic device further includes:
the first acquisition module is used for acquiring a detection signal of a distance sensor in the electronic equipment;
the first determining module is used for determining the distance from the distance sensor to the spiral piece along a preset direction according to the detection signal;
a second determining module, configured to determine a relative angle between the first folded body and the second folded body according to the distance;
the preset direction is the axial lead direction of a first rotating shaft and a second rotating shaft of the electronic equipment.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the folding angle detection method described above.
In a fifth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the folding angle detection method described above are implemented.
In the embodiment of the invention, by arranging the spiral sheet and the distance sensor, the detection signal related to the folding angle of the electronic equipment can be obtained, so that the current folding angle of the electronic equipment can be accurately determined, any folding angle can be determined, the implementation cost is low, the implementation difficulty is low, and the problems of high implementation cost and limited recognizable angle existing in the folding angle detection scheme of the electronic equipment in the prior art are well solved.
Drawings
FIG. 1 is a first schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a method for detecting a folding angle according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a foldable handset according to an embodiment of the invention;
FIG. 4 is a schematic structural diagram of a portion of an electronic device according to an embodiment of the invention;
FIG. 5 is a schematic diagram of a metal antenna plate according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a distance sensor circuit according to an embodiment of the present invention;
FIG. 7 is a second schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 8 is a third schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides an electronic device aiming at the problems of high implementation cost and limited recognizable angle of a folding angle detection scheme of the electronic device in the prior art, as shown in fig. 1, the electronic device comprises a first folding main body 1, a second folding main body 2, a first rotating shaft 3 connected with the first folding main body 1 and a second rotating shaft 4 connected with the second folding main body 2, wherein the first rotating shaft 3 and the second rotating shaft 4 are arranged coaxially; the electronic device further includes:
a spiral piece 5 fixedly arranged around the axial surface of the first rotating shaft 3;
a distance sensor 6 fixedly arranged on the end face of the second rotating shaft 4;
the distance sensor 6 is arranged opposite to the spiral piece 5, and in the process that the first folding main body 1 rotates relative to the second folding main body 2, the projection of the distance sensor 6 along the axial lead direction of the first rotating shaft 3 and the second rotating shaft 4 is located on the surface of the spiral piece 5.
According to the electronic equipment provided by the embodiment of the invention, the spiral sheet and the distance sensor are arranged, so that the detection signal related to the folding angle of the electronic equipment can be obtained, the current folding angle of the electronic equipment can be accurately determined, any folding angle can be determined, the implementation cost is low, the implementation difficulty is low, and the problems of high implementation cost and limited recognizable angle of the electronic equipment folding angle detection scheme in the prior art are well solved.
Specifically, the distance sensor 6 is arranged opposite to the spiral piece 5, and a spacing space is formed between the distance sensor and the spiral piece, so that the distance sensor and the spiral piece cannot collide with each other in the relative movement process between the first rotating shaft and the second rotating shaft; the "projection is located on the surface of the spiral slice 5" may be "the projection is continuously located on the surface of the spiral slice 5", so as to ensure that more accurate measurement data is obtained.
In the embodiment of the invention, the first rotating shaft and the second rotating shaft rotate relatively around the same axis; α in fig. 1 denotes a folding angle of the electronic apparatus; further, the electronic device in the embodiment of the present invention may further include a circular printed circuit board 7 to ensure normal implementation of the circuit function, but is not limited thereto.
As shown in fig. 1, specifically, the first rotating shaft 3 is sleeved in the second rotating shaft 4, that is, the first rotating shaft serves as an inner shaft, the second rotating shaft serves as an outer shaft, and the outer shaft is sleeved on the inner shaft.
In this embodiment, the second folding body may be connected to the first rotating shaft, and the first folding body may be connected to the second rotating shaft, that is, the first folding body may be connected to the inner shaft, and the second folding body may be connected to the outer shaft.
In the embodiment of the present invention, the distance sensor may be a first sensor for ranging by signal reflection, or the distance sensor may be a second sensor for ranging by capacitance.
The signal used for ranging may be an optical signal, a sound wave signal, or the like, and is not limited herein.
Specifically, under the condition that the distance sensor is the first sensor, a signal emitter and a signal receiver of the distance sensor are arranged on a preset end face of the second rotating shaft; the signal sent by the signal emitter is reflected by the spiral sheet; wherein the preset end face is an end face close to the spiral piece.
Therefore, accurate measurement data can be guaranteed.
In addition, the first sensor may be a laser ranging sensor, a radar ranging sensor, or an infrared ranging sensor, which is not limited herein.
Specifically, in the case that the distance sensor is the second sensor, the distance sensor includes a first pole plate for forming the second sensor, and the first pole plate is disposed on a preset end face of the second rotating shaft; the spiral sheet is used for forming a second polar plate of the second sensor; wherein the preset end face is an end face close to the spiral piece.
Therefore, accurate measurement data can be ensured to be obtained.
Further, the second sensor may be a capacitive proximity sensor; the projection is of the first polar plate; in order to ensure an accurate measurement result, in the embodiment of the present invention, the first pole plate may be a metal antenna pole plate, that is, the first pole plate is made of metal; correspondingly, the spiral sheet is made of metal, and the first rotating shaft is made of nonmetal; but not limited thereto.
In the embodiment of the present invention, the shape of the first plate may be a sector, but is not limited thereto.
An embodiment of the present invention further provides a folding angle detection method, which is applied to the electronic device described above, and as shown in fig. 2, the folding angle detection method includes:
step 21: and acquiring a detection signal of a distance sensor in the electronic equipment.
The detection signal can be a signal reflected back after the distance sensor transmits a signal to the spiral sheet; the signal may be a capacitance signal of a capacitance formed by the distance sensor and the spiral piece, and is not limited herein as long as the signal can be used to determine an axial projection distance between the distance sensor and the spiral piece.
Step 22: and determining the distance from the distance sensor to the spiral sheet along a preset direction according to the detection signal.
Wherein the distance may specifically be an axial projection distance.
Step 23: determining a relative angle between the first folded body and the second folded body according to the distance; the preset direction is the axial lead direction of a first rotating shaft and a second rotating shaft of the electronic equipment.
Wherein the relative angle is a current folding angle of the electronic device.
The folding angle detection method provided by the embodiment of the invention obtains the detection signal of the distance sensor in the electronic equipment; determining the distance from the distance sensor to the spiral sheet along a preset direction according to the detection signal; determining a relative angle between the first folded body and the second folded body according to the distance; the preset direction is the axial lead direction of a first rotating shaft and a second rotating shaft of the electronic equipment; the detection signal related to the folding angle of the electronic equipment can be obtained, the current folding angle of the electronic equipment can be accurately determined, any folding angle can be determined, the implementation cost is low, the implementation difficulty is low, and the problem that in the prior art, the angle limit which is high in implementation cost and can be identified exists in the electronic equipment folding angle detection scheme is well solved.
Specifically, the determining a relative angle between the first folded body and the second folded body according to the distance includes: determining a relative angle between the first folding main body and the second folding main body according to the distance and a preset corresponding relation; wherein the preset corresponding relationship is a corresponding relationship between the determined distance and the relative angle.
In an embodiment of the present invention, when the distance sensor is a capacitive proximity sensor, and a projection of a metal antenna plate (i.e., the first plate) of the capacitive proximity sensor along the axial line direction is located on the spiral sheet, determining a distance from the distance sensor to the spiral sheet along a preset direction according to the detection signal includes: determining the current capacitance of a capacitor formed by the spiral sheet and the metal antenna polar plate according to the detection signal; determining the distance based on the current capacitance.
This enables accurate acquisition of the distance for obtaining the folding angle.
In the following, the electronic device and the folding angle detection method provided by the embodiment of the invention are further described, in which the electronic device takes a folding mobile phone as an example, and the distance sensor takes a capacitive proximity sensor SAR sensor as an example.
In view of the above technical problems, an embodiment of the present invention provides an electronic device and a method for detecting a folding angle, which can be specifically implemented as follows: by adding a helical blade (namely the helical blade) on the rotating shaft and adopting a method of SAR sensor detecting the change of volume value, the accurate measurement of the folding angle is realized; this scheme can reach: the cost is reduced, the design difficulty is reduced, the design can be customized, the detection of any angle is realized, and the performance is improved.
As shown in fig. 3, the overall structure and connection mode of the folding mobile phone (1) mainly include three main portions, namely, a first folding main body 1, a second folding main body 2, and a central rotating shaft 8 (including a first rotating shaft 3 and a second rotating shaft 4), wherein the first folding main body 1 and the second folding main body 2 are rotatably connected through the central rotating shaft 8; fig. 3 is a schematic view of the overall connection structure of the flexible folding screen device, where α represents the folding angle of the electronic device.
(2) The realization mode of adding the helical blade and the capacitor plate on the rotating shaft can be specifically as follows:
as shown in fig. 4 and fig. 5, a metal helical blade S2 is added to a plastic rotating shaft S1 (which may be the first rotating shaft or the second rotating shaft), wherein the metal helical blade S2 is connected and fixed to the second folding main body through the rotating shaft S1, and is grounded (forming a capacitor plate); c1 is a metal antenna plate of the SAR sensor, fixed in position (fixed on a rotating shaft (which may be the second rotating shaft or the first rotating shaft, and is different from S1) connected and fixed with the first folding main body); in the figure, h represents the axial projection distance. Specifically, the shape of C1 may be a sector, which may be projected axially on S2, as shown in fig. 5; fig. 5 can also be understood as a cross-sectional view of the helical blade and the sector-shaped capacitor plate.
(3) Method for measuring folding angle (taking capacitance sensing as an example)
When the rotating shaft rotates, the axial projection distance h of the C1 on the S2 changes because
Figure BDA0002473086590000071
Wherein: c represents: capacitance between the plate (as described above C1) and ground (S2); k represents: a constant of electrostatic force; s represents: the area of the polar plate; represents: a dielectric constant; h represents: the distance between C1 and S2 (i.e., the axial projection distance described above);
the variation of h changes correspondingly to the equivalent capacitance values of C1 and S2, and the folding angle of the rotating shaft can be calculated through detection of the SAR sensor (specifically, h can be determined according to the capacitance value, the current folding angle of the electronic device can be obtained according to the corresponding relationship between h and the folding angle; the corresponding relationship can be pre-stored, but is not limited thereto; and the corresponding relationship can be a linear relationship).
Specifically, as shown in fig. 6, a circuit of the SAR sensor according to the embodiment of the present invention includes: the C1, the resistor R1, the inductor L1, the capacitor C2 and the SAR sensor functional module;
the first end of R1 is connected with C1, the second end of R1 is connected with the first end of L1, the second end of L1 is respectively connected with the first end of C2 and the detection channel 1 of the SAR sensor functional module, and the second end of C2 is grounded GND.
The SAR sensor function may be used to process data, such as calculating h as described above.
Fig. 7 is a schematic circuit diagram of the SAR sensor detecting the value of the capacitor C in the embodiment of the present invention.
Therefore, the scheme provided by the embodiment of the invention has the advantages of simple realization principle and low cost; the space can be saved, and the design difficulty is reduced; the system can also be designed in a user-defined mode, detection of any angle is achieved, and performance is improved.
An embodiment of the present invention further provides an electronic device, including the first folding main body, the second folding main body, the first rotating shaft, the second rotating shaft, the spiral sheet, and the distance sensor, which are included in the electronic device, as shown in fig. 7, the electronic device further includes:
a first obtaining module 71, configured to obtain a detection signal of a distance sensor in the electronic device;
a first determining module 72, configured to determine, according to the detection signal, a distance from the distance sensor to the spiral piece along a preset direction;
a second determining module 73, configured to determine a relative angle between the first folded body and the second folded body according to the distance;
the preset direction is the axial lead direction of a first rotating shaft and a second rotating shaft of the electronic equipment.
The electronic equipment provided by the embodiment of the invention acquires the detection signal of the distance sensor in the electronic equipment; determining the distance from the distance sensor to the spiral sheet along a preset direction according to the detection signal; determining a relative angle between the first folded body and the second folded body according to the distance; the preset direction is the axial lead direction of a first rotating shaft and a second rotating shaft of the electronic equipment; the detection signal related to the folding angle of the electronic equipment can be obtained, the current folding angle of the electronic equipment can be accurately determined, any folding angle can be determined, the implementation cost is low, the implementation difficulty is low, and the problem that in the prior art, the angle limit which is high in implementation cost and can be identified exists in the electronic equipment folding angle detection scheme is well solved.
Specifically, the second determining module includes: the first determining submodule is used for determining a relative angle between the first folding main body and the second folding main body according to the distance and a preset corresponding relation; wherein the preset corresponding relationship is a corresponding relationship between the determined distance and the relative angle.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the embodiments of fig. 1 to fig. 6, and is not described herein again to avoid repetition.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device 80 for implementing various embodiments of the present invention, where the electronic device 80 includes, but is not limited to: radio frequency unit 81, network module 82, audio output unit 83, input unit 84, sensor 85, display unit 86, user input unit 87, interface unit 88, memory 89, processor 810, and power supply 811. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The electronic device 80 includes a first folding body, a second folding body, a first rotating shaft, a second rotating shaft, a spiral piece and a distance sensor, which are included in the electronic device; a processor 810 for acquiring a detection signal of a distance sensor in the electronic device; determining the distance from the distance sensor to the spiral sheet along a preset direction according to the detection signal; determining a relative angle between the first folded body and the second folded body according to the distance; the preset direction is the axial lead direction of a first rotating shaft and a second rotating shaft of the electronic equipment.
In the embodiment of the invention, the detection signal of the distance sensor in the electronic equipment is acquired; determining the distance from the distance sensor to the spiral sheet along a preset direction according to the detection signal; determining a relative angle between the first folded body and the second folded body according to the distance; the preset direction is the axial lead direction of a first rotating shaft and a second rotating shaft of the electronic equipment; the detection signal related to the folding angle of the electronic equipment can be obtained, the current folding angle of the electronic equipment can be accurately determined, any folding angle can be determined, the implementation cost is low, the implementation difficulty is low, and the problem that in the prior art, the angle limit which is high in implementation cost and can be identified exists in the electronic equipment folding angle detection scheme is well solved.
Optionally, the processor 810 is specifically configured to determine a relative angle between the first folded main body and the second folded main body according to the distance and a preset corresponding relationship; wherein the preset corresponding relationship is a corresponding relationship between the determined distance and the relative angle.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 81 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, the radio frequency unit 81 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 81 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 82, such as to assist the user in sending and receiving e-mail, browsing web pages, and accessing streaming media.
The audio output unit 83 may convert audio data received by the radio frequency unit 81 or the network module 82 or stored in the memory 89 into an audio signal and output as sound. Also, the audio output unit 83 may also provide audio output related to a specific function performed by the electronic apparatus 80 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 83 includes a speaker, a buzzer, a receiver, and the like.
The input unit 84 is used to receive audio or video signals. The input Unit 84 may include a Graphics Processing Unit (GPU) 841 and a microphone 842, the Graphics processor 841 Processing image data of still pictures or videos obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 86. The image frames processed by the graphic processor 841 may be stored in the memory 89 (or other storage medium) or transmitted via the radio frequency unit 81 or the network module 82. The microphone 842 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 81 in case of the phone call mode.
The electronic device 80 also includes at least one sensor 85, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 861 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 861 and/or the backlight when the electronic device 80 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 85 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described in detail herein.
The display unit 86 is used to display information input by the user or information provided to the user. The Display unit 86 may include a Display panel 861, and the Display panel 861 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 87 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 87 includes a touch panel 871 and other input devices 872. The touch panel 871, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 871 (e.g., operations by a user on or near the touch panel 871 using a finger, a stylus, or any suitable object or accessory). The touch panel 871 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 871 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 87 may include other input devices 872 in addition to the touch panel 871. Specifically, the other input devices 872 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 871 can be overlaid on the display panel 861, and when the touch panel 871 detects a touch operation on or near the touch panel 871, the touch panel 871 is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 861 according to the type of the touch event. Although the touch panel 871 and the display panel 861 are illustrated in fig. 8 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 871 and the display panel 861 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 88 is an interface for connecting an external device to the electronic apparatus 80. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 88 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 80 or may be used to transmit data between the electronic apparatus 80 and the external device.
The memory 89 may be used to store software programs as well as various data. The memory 89 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 89 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 89 and calling data stored in the memory 89, thereby integrally monitoring the electronic device. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The electronic device 80 may further include a power supply 811 (e.g., a battery) for powering the various components, and preferably, the power supply 811 may be logically coupled to the processor 810 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the electronic device 80 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 810, a memory 89, and a computer program stored in the memory 89 and capable of running on the processor 810, where the computer program is executed by the processor 810 to implement each process of the folding angle detection method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned folding angle detection method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An electronic device is characterized by comprising a first folding main body, a second folding main body, a first rotating shaft connected with the first folding main body and a second rotating shaft connected with the second folding main body, wherein the first rotating shaft and the second rotating shaft are arranged coaxially; the electronic device further includes:
the spiral sheet is fixedly arranged around the axial surface of the first rotating shaft;
the distance sensor is fixedly arranged on the end face of the second rotating shaft;
the distance sensor is arranged opposite to the spiral piece, and in the process that the first folding main body rotates relative to the second folding main body, the projection of the distance sensor along the axial lead direction of the first rotating shaft and the second rotating shaft is located on the surface of the spiral piece.
2. The electronic device of claim 1, wherein the first shaft sleeve is disposed within the second shaft.
3. The electronic device of claim 1, wherein the distance sensor is a first sensor that measures distance by signal reflection or a second sensor that measures distance by capacitance.
4. The electronic device according to claim 3, wherein in the case where the distance sensor is the first sensor, the signal transmitter and the signal receiver of the distance sensor are provided on a predetermined end surface of the second rotating shaft; the signal sent by the signal emitter is reflected by the spiral sheet;
wherein the preset end face is an end face close to the spiral piece.
5. The electronic device according to claim 3, wherein in the case where the distance sensor is the second sensor, the distance sensor includes a first plate for forming the second sensor, the first plate being provided on a predetermined end surface of the second rotating shaft; the spiral sheet is used for forming a second polar plate of the second sensor;
wherein the preset end face is an end face close to the spiral piece.
6. A folding angle detection method applied to the electronic device according to any one of claims 1 to 5, the folding angle detection method comprising:
acquiring a detection signal of a distance sensor in the electronic equipment;
determining the distance from the distance sensor to the spiral sheet along a preset direction according to the detection signal;
determining a relative angle between the first folded body and the second folded body according to the distance;
the preset direction is the axial lead direction of a first rotating shaft and a second rotating shaft of the electronic equipment.
7. The folding angle detection method according to claim 6, wherein the determining a relative angle between the first folded body and the second folded body according to the distance includes:
determining a relative angle between the first folding main body and the second folding main body according to the distance and a preset corresponding relation;
wherein the preset corresponding relationship is a corresponding relationship between the determined distance and the relative angle.
8. An electronic device comprising the first folding body, the second folding body, the first rotating shaft, the second rotating shaft, the spiral sheet, and the distance sensor, wherein the electronic device further comprises:
the first acquisition module is used for acquiring a detection signal of a distance sensor in the electronic equipment;
the first determining module is used for determining the distance from the distance sensor to the spiral piece along a preset direction according to the detection signal;
a second determining module, configured to determine a relative angle between the first folded body and the second folded body according to the distance;
the preset direction is the axial lead direction of a first rotating shaft and a second rotating shaft of the electronic equipment.
9. The electronic device of claim 8, wherein the second determining module comprises:
the first determining submodule is used for determining a relative angle between the first folding main body and the second folding main body according to the distance and a preset corresponding relation;
wherein the preset corresponding relationship is a corresponding relationship between the determined distance and the relative angle.
10. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the fold angle detection method according to any one of claims 6 to 7.
CN202010354734.5A 2020-04-29 2020-04-29 Folding angle detection method and electronic equipment Pending CN111561899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010354734.5A CN111561899A (en) 2020-04-29 2020-04-29 Folding angle detection method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010354734.5A CN111561899A (en) 2020-04-29 2020-04-29 Folding angle detection method and electronic equipment

Publications (1)

Publication Number Publication Date
CN111561899A true CN111561899A (en) 2020-08-21

Family

ID=72070810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010354734.5A Pending CN111561899A (en) 2020-04-29 2020-04-29 Folding angle detection method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111561899A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112304252A (en) * 2020-10-30 2021-02-02 维沃移动通信有限公司 Folding angle determining method, folding equipment and electronic equipment
CN112829530A (en) * 2019-11-22 2021-05-25 陕西重型汽车有限公司 Device and method for measuring angle between automobile and trailer

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2937248A1 (en) * 1978-12-16 1980-06-19 Inst Geodezji I Kartografii Angle measurement device capacitive transducer - has dielectric discs carrying circle sector electrode layers rotating w.r.t. each other
JPS59164903A (en) * 1983-03-10 1984-09-18 Mitsubishi Heavy Ind Ltd Rotational angle detector
DE3617953A1 (en) * 1986-05-13 1989-06-15 Roman Koller Capacitive incremental length measurement system
JPH0743134A (en) * 1993-07-30 1995-02-10 Optec Dai Ichi Denko Co Ltd Rotation angle detector
JPH0791906A (en) * 1993-09-20 1995-04-07 S K S Kk Rotary encoder
EP0882943A1 (en) * 1997-06-05 1998-12-09 Aktiebolaget SKF "Device for determining a momentary angular position"
JP2002162252A (en) * 2000-09-18 2002-06-07 Mitsubishi Electric Corp Rotary position detector
JP2002310646A (en) * 2001-04-19 2002-10-23 Sony Corp Angular displacement detector for joint actuator
CN103545990A (en) * 2013-10-05 2014-01-29 郭惠君 Motor closed-loop feedback device
CN206891452U (en) * 2017-06-15 2018-01-16 广西三创科技有限公司 Screen rotation angle induction device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2937248A1 (en) * 1978-12-16 1980-06-19 Inst Geodezji I Kartografii Angle measurement device capacitive transducer - has dielectric discs carrying circle sector electrode layers rotating w.r.t. each other
JPS59164903A (en) * 1983-03-10 1984-09-18 Mitsubishi Heavy Ind Ltd Rotational angle detector
DE3617953A1 (en) * 1986-05-13 1989-06-15 Roman Koller Capacitive incremental length measurement system
JPH0743134A (en) * 1993-07-30 1995-02-10 Optec Dai Ichi Denko Co Ltd Rotation angle detector
JPH0791906A (en) * 1993-09-20 1995-04-07 S K S Kk Rotary encoder
EP0882943A1 (en) * 1997-06-05 1998-12-09 Aktiebolaget SKF "Device for determining a momentary angular position"
CN1221106A (en) * 1997-06-05 1999-06-30 Skf股份公司 Device for determining momentary angular position
JP2002162252A (en) * 2000-09-18 2002-06-07 Mitsubishi Electric Corp Rotary position detector
JP2002310646A (en) * 2001-04-19 2002-10-23 Sony Corp Angular displacement detector for joint actuator
CN103545990A (en) * 2013-10-05 2014-01-29 郭惠君 Motor closed-loop feedback device
CN206891452U (en) * 2017-06-15 2018-01-16 广西三创科技有限公司 Screen rotation angle induction device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112829530A (en) * 2019-11-22 2021-05-25 陕西重型汽车有限公司 Device and method for measuring angle between automobile and trailer
CN112829530B (en) * 2019-11-22 2022-09-27 陕西重型汽车有限公司 Device and method for measuring angle between automobile and trailer
CN112304252A (en) * 2020-10-30 2021-02-02 维沃移动通信有限公司 Folding angle determining method, folding equipment and electronic equipment

Similar Documents

Publication Publication Date Title
CN109040377B (en) Angle determination circuit and method and folding screen terminal
CN109189305B (en) Hinge, electronic equipment and electronic equipment control method
CN109542306B (en) Screen capturing method and terminal equipment
CN111045487B (en) Electronic equipment and folding angle detection method
CN109788137B (en) Falling protection method and terminal equipment
CN108108113B (en) Webpage switching method and device
CN111256580B (en) Electronic equipment and rotation angle detection method
CN111444874B (en) Fingerprint module control method and electronic equipment
CN110825168B (en) Electronic equipment and control element control method
EP4086712A1 (en) Electronic device and control method
CN110784575B (en) Electronic equipment and shooting method
CN110855839A (en) Message display method and electronic equipment
CN111049510A (en) Touch key, control method and electronic equipment
CN110888494B (en) Angle detection method and device and mobile terminal
CN111338489B (en) Parameter adjustment method and electronic equipment
CN111240567B (en) Display screen angle adjusting method and electronic equipment
CN110908750B (en) Screen capturing method and electronic equipment
CN109443261B (en) Method for acquiring folding angle of folding screen mobile terminal and mobile terminal
CN111561899A (en) Folding angle detection method and electronic equipment
CN111142618A (en) Method for detecting folding angle and electronic equipment
CN108898548B (en) Display method of panorama and mobile terminal
CN111443860B (en) Touch control method and electronic equipment
CN111131712B (en) Image processing method and device and electronic equipment
CN110719351B (en) Folding screen demarcation point determining method and electronic equipment
CN110456959B (en) Terminal control method and terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200821