CN112328082B - Slip terminal and correction method for displacement detection of slip terminal - Google Patents

Slip terminal and correction method for displacement detection of slip terminal Download PDF

Info

Publication number
CN112328082B
CN112328082B CN202011249580.XA CN202011249580A CN112328082B CN 112328082 B CN112328082 B CN 112328082B CN 202011249580 A CN202011249580 A CN 202011249580A CN 112328082 B CN112328082 B CN 112328082B
Authority
CN
China
Prior art keywords
detection
signal
screen
value
retractable screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011249580.XA
Other languages
Chinese (zh)
Other versions
CN112328082A (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.)
Kunshan Govisionox Optoelectronics Co Ltd
Original Assignee
Kunshan Govisionox Optoelectronics 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 Kunshan Govisionox Optoelectronics Co Ltd filed Critical Kunshan Govisionox Optoelectronics Co Ltd
Priority to CN202011249580.XA priority Critical patent/CN112328082B/en
Publication of CN112328082A publication Critical patent/CN112328082A/en
Application granted granted Critical
Publication of CN112328082B publication Critical patent/CN112328082B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1656Details related to functional adaptations of the enclosure, e.g. to provide protection against EMI, shock, water, or to host detachable peripherals like a mouse or removable expansions units like PCMCIA cards, or to provide access to internal components for maintenance or to removable storage supports like CDs or DVDs, or to mechanically mount accessories

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Set Structure (AREA)
  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)

Abstract

The present invention provides a slide terminal, comprising: a housing comprising an opening; a retractable screen configured to retract into or extend out of the opening of the housing; a detection mechanism electrically connected with the retractable screen and configured to detect a detection value for representing a moving position of the retractable screen relative to the housing; the detection and correction mechanism is configured to send a signal to the core processing module when the telescopic screen is located at a preset position; and the core processing module is electrically connected with the detection and correction mechanism and the detection mechanism and is configured to correct the detection value based on the signal. Through the proofreading to the detected value that predetermines the position and correspond, can realize the proofreading to the whole skew of flexible displacement detection value of telescopic screen, solve the unable accurate problem that detects the flexible length of telescopic screen of current sensor.

Description

Sliding terminal and calibration method for displacement detection of sliding terminal
Technical Field
The invention relates to the technical field of display, in particular to a sliding terminal and a proofreading method for displacement detection of the sliding terminal.
Background
With the development of display technology, the retractable slide terminal is receiving much attention. The telescopic sliding terminal can stretch the telescopic screen or stretch out the shell according to different application scenes, and has the advantages of flexibility, convenience in carrying and the like. However, as the use time becomes longer, the detection value of the telescopic length of the telescopic screen by the sensor in the telescopic sliding terminal is deviated. Therefore, prime need a terminal of sliding can carry out proofreading to the detection origin value of sensor for the sensor can accurately detect out the flexible length of flexible screen.
Disclosure of Invention
In view of this, embodiments of the present invention provide a slide terminal to solve a problem that a sensor that is lengthened with use time in the prior art cannot accurately detect a telescopic length of a telescopic screen.
According to an aspect of the present invention, a slide terminal provided in an embodiment of the present invention includes: a housing comprising an opening; a retractable screen configured to retract into or extend out of the opening of the housing; a detection mechanism electrically connected with the telescopic screen and configured to detect a detection value for representing the moving position of the telescopic screen relative to the shell; the detection and correction mechanism is configured to send a signal to the core processing module when the telescopic screen is located at a preset position; and the core processing module is electrically connected with the detection and correction mechanism and the detection mechanism and is configured to correct the detection value based on the signal.
In one embodiment, the retractable screen includes a first end proximate the opening when fully retracted into the housing and a second end opposite the first end; the preset position comprises an initial position and a final position, the initial position is the position of the second end when the retractable screen is completely retracted back to the shell, and the final position is the position of the second end of the retractable screen when the retractable screen is completely extended out of the shell; wherein the detection mechanism is further configured to detect a displacement of the first end out of the opening; the detection and verification mechanism is further configured to send an initial signal to the core processing module when the second end of the retractable screen is located at the initial position, and send a termination signal to the core processing module when the second end of the retractable screen is located at the termination position; the core processing module is further configured to calibrate a displacement value detected by the detection mechanism when the initial signal is received to a first value, and to calibrate a displacement value detected by the detection mechanism when the termination signal is received to a second value.
In one embodiment, further comprising: the sliding chutes are positioned at two ends of the shell; the support frame slides in the sliding groove and is used for supporting the telescopic screen to slide along the sliding groove; wherein a connecting line of the initial position and the end position is parallel to the chute; the detection and correction mechanism further comprises: two Hall sensors arranged at the initial position and the termination position; and the magnet is positioned at the intersection position of the support frame and the second end of the telescopic screen, and the Hall sensor outputs magnetic induction voltage by sensing the magnet.
In one embodiment, the detection and calibration mechanism further comprises: the filter module is electrically connected with the Hall sensor, and the electric number conversion module is electrically connected with the filter module and the core processing module; the filtering module is configured to send a voltage signal to the electric-digital conversion module when the voltage value of the magnetic induction voltage output by the Hall sensor reaches a preset voltage value; the electrical-to-digital conversion module is configured to convert the voltage signal into a digital signal and send the digital signal to the core processing module. In one embodiment, the filtering module comprises: the first end of the comparator is electrically connected with the output end of the Hall sensor and is used for receiving the magnetic induction voltage sent by the Hall sensor, the second end of the comparator is electrically connected with the adjusting resistor and is used for receiving the reference voltage controlled by the adjusting resistor, and the third end of the comparator is electrically connected with the electric number conversion module; the comparator is configured to output the voltage signal to the electrical-to-digital conversion module from the third terminal when the magnetic induction voltage of the first terminal is greater than or equal to the reference voltage of the second terminal.
In one embodiment, the reference voltage has the same magnitude as the magnitude of the magnetic induction voltage emitted by the hall sensor when the magnet is located at the initial position and the magnitude of the magnetic induction voltage emitted by the hall sensor when the magnet is located at the terminal position.
In one embodiment, the housing further comprises: a main circuit board for bearing the core processing module; wherein, two hall sensor are integrated on the main line board.
In one embodiment, further comprising: and the two Hall sensors are integrated on the flexible circuit board.
According to another aspect of the present invention, an embodiment of the present invention provides a calibration method for displacement detection of a slide terminal, including: receiving an externally input signal when the retractable screen is located at a preset position; and correcting a detection value based on the signal, wherein the detection value is used for representing the moving position of the telescopic screen relative to the shell.
In one embodiment, the receiving the externally input signal when the retractable screen is located at the preset position includes: receiving an initial signal input from the outside when the second end of the retractable screen is located at an initial position, wherein the retractable screen comprises a first end close to the opening when the retractable screen is fully retracted back into the shell and the second end opposite to the first end; the initial position is the position of the second end when the telescopic screen is completely retracted back to the shell; receiving a termination signal input from the outside when the second end of the retractable screen is located at the termination position, wherein the termination position is the position of the second end of the retractable screen when the retractable screen extends out of the shell; wherein the correcting the detection value based on the signal comprises: calibrating a detected displacement value externally input when the initial signal is received to a first value; and correcting the externally input detected displacement value as the second value when the termination signal is received.
According to the sliding terminal provided by the embodiment of the invention, the telescopic screen retracts into or extends out of the opening of the shell, when the telescopic screen moves to the preset position, the detection and correction mechanism can send a signal to the core processing module, the core processing module corrects the detection value detected by the detection mechanism according to the received signal, and the judgment mode of the detection mechanism is continuously changed based on an absolute value, so that the correction of the integral offset of the telescopic displacement detection value of the telescopic screen can be realized by correcting the detection value corresponding to the preset position, and the problem that the telescopic length of the telescopic screen cannot be accurately detected by the conventional sensor is solved.
Drawings
Fig. 1 is a schematic structural diagram of a sliding terminal according to an embodiment of the present invention.
Fig. 2 is a schematic structural view illustrating the slip termination in a stretched state according to the embodiment shown in the figure.
Fig. 3 is a schematic structural diagram of a sliding terminal according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a filter module in a slide terminal according to an embodiment of the present invention.
Fig. 5 is a schematic flow chart of a calibration method for displacement detection of a sliding terminal according to an embodiment of the present invention.
Fig. 6 is a schematic flow chart of a calibration method for displacement detection of a sliding terminal according to an embodiment of the present invention.
Detailed Description
As described in the background art, the technical problem that the sensor cannot accurately detect the telescopic length of the telescopic screen along with the use time exists in the prior art. The inventors have found that the reason for this problem is as follows: the sliding terminal detects the telescopic length of the telescopic screen by using the sensor, the detection range is from the telescopic screen to extend out of the shell completely, the sensor can have accumulated errors along with the lengthening of the service time, the longer the service time is, the larger the errors are, especially, the corresponding detection value of the telescopic screen can not correspond to the correct detection value when the telescopic screen is completely contracted or completely stretched, and the deviation of the whole position detection value is caused because the judgment mode of the sensor is based on the continuous change of absolute values, so that the detection value of the sensor is inaccurate.
In order to solve the above problem, the inventors have studied and found that, since the determination mode of the detection means is continuously changed based on the absolute value, the calibration in the entire detection range can be realized by a linear relationship by calibrating at least two points in the entire detection range, particularly, the initial point and the end point. The opening that the flexible screen was received back or was stretched out the casing removes to preset position as the flexible screen, it can send the signal for core processing module to detect proofreading mechanism, core processing module proofreads the detection value that detection mechanism detected according to received signal, because detection mechanism's judgement mode is based on absolute value continuous variation, consequently, through the proofreading to the detection value that preset the position corresponds, can realize the proofreading to the whole skew of the flexible displacement detection value of flexible screen, the problem of the unable accurate flexible length that detects the flexible screen of current sensor has been solved.
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 only a part of the embodiments of the present invention, 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 making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic structural diagram of a sliding terminal according to an embodiment of the present invention. Fig. 2 is a schematic structural view illustrating the slip termination in a stretched state according to the embodiment shown in the figure. As shown in fig. 1 and fig. 2, the sliding terminal includes: a housing 1, the housing 1 comprising an opening 11; a retractable screen 3 configured to be retracted into or extended out of the opening 11 of the housing; a detection mechanism 4 electrically connected to the retractable screen 3 and configured to detect a detection value indicative of a moving position of the retractable screen 3 with respect to the housing; the detection and correction mechanism 5 is configured to send a signal to the core processing module 6 when the telescopic screen 3 is located at a preset position; and the core processing module 6 is electrically connected with the detection and correction mechanism 5 and the detection mechanism 4 and is configured to correct the detection value based on the signal.
In the embodiment of the invention, the telescopic screen is driven to contract or extend out of the opening 11 of the shell 1 by the driving device 3, when the telescopic screen 3 moves to the preset position, the detection and correction mechanism 5 sends a signal to the core processing module 6, the core processing module 6 corrects the detection value detected by the detection mechanism 4 according to the received signal, and the judgment mode of the detection mechanism 4 is continuously changed based on the absolute value, so that the correction of the integral offset of the telescopic displacement detection value of the telescopic screen 3 can be realized by correcting the detection value corresponding to the preset position, and the problem that the telescopic length of the telescopic screen 3 cannot be accurately detected by the conventional sensor is solved.
It will be appreciated that the preset positions are at least two points of the telescopic screen 3 throughout the process of fully retracting the housing 1 and fully extending the housing 1. For example, the starting point and the ending point of the whole process, or the middle point and the starting point of the whole process, as long as the preset position is located in the whole process, the embodiment of the present invention does not limit the specific selection condition of at least two points. When the retractable screen 3 moves to the preset position detection and proofreading mechanism 5, a signal is sent to the core processing module 6, the core processing module 6 proofreads the detection value corresponding to the preset position, and the whole detection value is proofread through continuous change. As long as the core processing module 6 can correct the overall detection value according to the detection value at the preset position, the specific correction mode is not limited in the embodiment of the present invention.
It should be understood that the detection value is used for representing the moving position of the retractable screen 3 relative to the housing, the detection mechanism 4 may be a linear sensor as long as the detection mechanism 4 can detect the detection value for representing the moving position of the retractable screen 3 relative to the housing, and the embodiment of the present invention does not limit the specific implementation manner of the detection mechanism 4.
It should be understood that the signal sent by the detection and calibration mechanism 5 is used to indicate that the retractable screen moves to the preset position, and the specific form of the signal is not limited in the embodiment of the present invention.
In one embodiment, the retractable screen 3 includes a first end 101 proximate the opening when fully retracted into the housing and a second end 102 opposite the first end 101; the preset position comprises an initial position and a final position, the initial position is the position where the second end 102 is located when the retractable screen 3 is fully retracted into the housing, and the final position is the position where the second end 102 of the retractable screen 3 is located when the retractable screen 3 is fully extended out of the housing. The detection mechanism 4 is further configured to detect a displacement of the first end 101 out of the opening; the detection and verification mechanism 5 is further configured to send an initial signal to the core processing module 6 when the second end 102 of the retractable screen 3 is located at the initial position, and send a termination signal to the core processing module 6 when the second end 102 of the retractable screen 3 is located at the termination position; the core processing module 6 is further configured to calibrate the displacement value detected by the detection mechanism 4 when the initial signal is received to a first value and to calibrate the displacement value detected by the detection mechanism 4 when the termination signal is received to a second value.
In the embodiment of the invention, when the second end 102 of the retractable screen 3 is located at the initial position, it indicates that the retractable screen is completely retracted into the shell 1 and belongs to the retractable starting point, at this time, the detection and calibration mechanism 5 sends an initial signal to the core processing module 6, and the core processing module 6 calibrates the displacement value detected by the detection mechanism 4 when receiving the initial signal into the first value, thereby completing the calibration of the detection starting point; similarly, when the second end 102 of the retractable screen 3 is located at the termination position, it indicates that the retractable screen is completely retracted and extended out of the housing 1 and belongs to the retraction termination point, at this time, the detection and calibration mechanism sends a termination signal to the core processing module 6, and the core processing module 6 calibrates the displacement value detected by the detection mechanism 4 when receiving the initial signal to a second value, thereby completing calibration of the detection termination point; considering that the determination method of the detection means 4 is continuously changed based on the absolute value, the calibration in the entire detection range can be realized based on the linear relationship by accurately calibrating the detection values of the initial position and the end position at both detection origins. Therefore, the preset position is set to be the initial position and the end position, and the calibration of the displacement detection of the telescopic screen 3 can be quickly and simply realized.
It should be understood that the first value may be set to a value of 0 and the second value may be set to a value equal to the width between the first end 101 and the second end 102 of the telescopic screen 3.
Fig. 3 is a schematic structural diagram of a sliding terminal according to an embodiment of the present invention. As shown in fig. 3, further includes: sliding grooves 21 at both ends of the housing 1; and a support frame 22 sliding inside the slide groove 21 for supporting the sliding of the retractable screen 3 along the slide groove 21; the connecting line of the initial position and the end position is parallel to the chute 21; the detection and collation mechanism 5 further includes: two hall sensors 52 provided at the initial position and the end position; the magnet 51 is positioned at the preset mounting position of the slide rail, and the magnet 51 is positioned at the intersection position of the support frame 22 and the second end 102 of the telescopic screen 3; the hall sensor 52 outputs a magnetically induced voltage through the induction magnet 51.
In the embodiment of the present invention, the magnet 51 is mounted on the support frame 22, and the two hall sensors 52 are disposed at the initial position and the end position, so that in the process that the support frame 22 drives the retractable screen 3 to extend and retract inside and outside the housing 1 along the chute 21, the magnet 51 and the retractable screen 3 are simultaneously driven to synchronously slide, when the magnet 51 passes through the hall sensors 52, a signal indicating that the retractable screen 3 reaches the preset position is transmitted to the core processing module 6 by using a magnetoelectric effect of the hall sensors 52, and the core processing module 6 performs calibration on a detection value corresponding to a detection origin based on the signal.
In one embodiment, the detection and collation mechanism 5 further includes: a filtering module 53 electrically connected to the hall sensor 52, and configured to send a voltage signal to the electrical number conversion module 54 when the voltage value of the magnetic induction voltage output by the hall sensor 52 reaches a preset voltage value; and an electrical number conversion module 54 electrically connected to the filtering module 53 and the core processing module 6, for converting the voltage signal into a digital signal and transmitting the digital signal to the core processing module 6.
In the embodiment of the present invention, in the moving process of the magnet 51, when the magnet 51 approaches the hall sensor 52, a magnetic induction voltage is generated by the hall sensor 52, which causes a phenomenon that the core processing module 6 receives a signal when the retractable screen 3 does not reach a preset position, and thus, the calibration of the reference point of the detection mechanism 4 is not accurate, and the whole calibration process is not accurate, therefore, the filtering module 53 is arranged between the hall sensor 52 and the core processing module 6, when the voltage value of the magnetic induction voltage output by the hall sensor 52 reaches the preset voltage value, that is, when the magnet 51 is aligned with the hall sensor 52 (indicating that the retractable screen 3 reaches the preset position), the core processing module 6 receives the signal, so that the calibration reference point of the detection mechanism 4 is more accurate, and the whole calibration process is accurate.
Fig. 4 is a schematic structural diagram of a filter module in a slide terminal according to an embodiment of the present invention. As shown in fig. 4, the filtering module 53 includes a comparator 531 and a regulating resistor 532. A first end of the comparator 531 is electrically connected to the output end of the hall sensor 52 and is configured to receive the magnetic induction voltage emitted by the hall sensor 52, a second end of the comparator 531 is electrically connected to the adjusting resistor 532 and is configured to receive the reference voltage controlled by the adjusting resistor 532, a third end of the comparator 531 is electrically connected to the electrical number conversion module 54, and the comparator 531 is configured to output a voltage signal to the electrical number conversion module 54 when the magnetic induction voltage at the first end is greater than or equal to the reference voltage at the second end.
In the embodiment of the present invention, the magnetic induction voltage emitted by the hall sensor 52 changes with the distance between the magnet 51 and the hall sensor 52, the smaller the distance between the magnet 51 and the hall sensor 52 is, the larger the magnetic induction voltage emitted by the hall sensor 52 is, and when the magnet 51 and the hall sensor 52 are in direct correspondence, the largest magnetic induction voltage emitted by the hall sensor 52 is. The reference voltage is controlled by adjusting the resistor 532, so that the value of the reference voltage is equal to the voltage corresponding to the magnet 51 and the hall sensor 52, and when the voltage value of the magnetic induction voltage output by the hall sensor 52 reaches a preset voltage value, a voltage signal is sent to the electric-digital conversion module 54. The electrical-to-digital conversion module 54 converts the voltage signal into a digital signal (e.g., binary value of 0, 1) that can be recognized by a computer. Specifically, the first end of the comparator 531 receives the magnetic induction voltage sent by the hall sensor 52, the second end of the comparator 531 receives the reference voltage, when the magnetic induction voltage sent by the hall sensor 52 is greater than or equal to the reference voltage, the third end of the comparator 531 outputs a voltage signal to the electrical-to-digital conversion module 54, the core processing module 6 can receive a digital signal indicating that the second end 102 of the retractable screen 3 reaches the preset position, when the magnetic induction voltage sent by the hall sensor 52 is less than the reference voltage, the third end of the comparator 531 does not send a voltage signal to the electrical-to-digital conversion module 54, the core processing module 6 cannot receive the signal, the core processing module 6 can only receive the signal when the magnetic induction voltage sent by the hall sensor 52 reaches the preset voltage (that is, the retractable screen 3 reaches the preset position), the time for receiving the signal is accurate, the reference point for calibrating the detection value of the detection mechanism 4 by the core processing module 6 is also accurate, and the whole calibration process is accurate.
In one embodiment, the reference voltage has the same magnitude as the magnetizing voltage generated by the hall sensor 52 when the magnet 51 is located at the initial position and the magnetizing voltage generated by the hall sensor 52 when the magnet 51 is located at the final position.
In the embodiment of the invention, through the setting of the reference voltage, the core processing module 6 receives the signal only when the magnet 51 is over against the Hall sensor 52 (indicating that the retractable screen 3 reaches the initial position and the end position), so that the reference point can be corrected more accurately by the detection mechanism 4, and the whole correction process is accurate.
In one embodiment, the housing 1 further comprises: a main circuit board carrying the core processing module 6; two hall sensors 52 are integrated on the main circuit board. The hall sensors 52 are arranged on the main line in a centralized manner, so that the hall sensors 52 can be located at preset positions, and firm support can be provided for the hall sensors 52.
It should be understood that the two hall sensors 52 are integrated on the main circuit board, and that the two hall sensors 52 are integrated at the position of the orthographic projection on the main circuit board at the preset position, for example: the preset positions are an initial position and an end position, and the two hall sensors 52 are integrated at positions of orthographic projections of the initial position and the end position on the main wiring board.
In one embodiment, the slip terminal further comprises: and the flexible circuit board is electrically connected with the telescopic screen 3, and the two Hall sensors 52 are integrated on the flexible circuit board. The hall sensor 52 is integrated on the flexible circuit board, so that the hall sensor 52 can be located at a preset position and the space can be saved.
Fig. 5 is a schematic flow chart of a calibration method for displacement detection of a sliding terminal according to an embodiment of the present invention. As shown in fig. 5, the calibration method includes the following steps:
step 501: and receiving an externally input signal when the telescopic screen is located at a preset position.
Specifically, an execution main body of the calibration method is a core processing module in the sliding terminal, and when the telescopic screen is located at the preset position, a signal which is input from the outside and used for indicating that the telescopic screen moves to the preset position is received.
Step 502: and correcting a detection value based on the signal, wherein the detection value is used for representing the moving position of the telescopic screen relative to the shell.
Specifically, when a signal indicating that the telescopic screen is moved to a preset position is received, which is input from the outside, a detection value representing the moving position of the telescopic screen relative to the housing is corrected.
In the embodiment of the invention, the detection value detected when the telescopic screen is at the preset position is corrected by receiving the signal sent when the telescopic screen moves to the preset position, and the judgment mode of detecting the telescopic displacement is continuously changed based on the absolute value, so that the correction of the integral deviation of the telescopic displacement detection value of the telescopic screen is realized, and the problem that the telescopic length of the telescopic screen cannot be accurately detected by the conventional sensor is solved.
Fig. 6 is a schematic flow chart of a calibration method for displacement detection of a sliding terminal according to an embodiment of the present invention. As shown in fig. 6, receiving an externally input signal when the retractable screen is located at the preset position specifically includes:
step 6011: receiving an initial signal input from the outside when the second end of the retractable screen is located at an initial position, wherein the retractable screen comprises a first end close to the opening when the retractable screen is fully retracted into the shell and a second end opposite to the first end; the initial position is the position that the second end was located when the retractable screen was all retracted back to the housing.
Step 6012: and receiving a termination signal input from the outside when the second end of the telescopic screen is located at the termination position, wherein the termination position is the position of the second end of the telescopic screen when the telescopic screen extends out of the shell.
The correcting the detection value based on the signal specifically comprises:
step 6021: a detected displacement value externally input when the initial signal is received is corrected to a first value.
Step 6022: the detected displacement value externally input when the terminated signal is received is corrected to a second value.
The external device for detecting the displacement value may be a detection mechanism, and the detection mechanism may be a displacement sensor electrically connected to the telescopic screen and the core processing module.
It should be understood that the first value may be set to a value of 0 and the second value may be set to a value equal to the width between the first end 101 and the second end 102 of the retractable screen.
In the embodiment of the invention, by receiving an initial signal sent when the second end of the telescopic screen is positioned at an initial position and a termination signal sent when the second end of the telescopic screen is positioned at a termination position, the displacement value input from the outside when the initial signal is received is corrected into a first value, and the correction of the detection starting point is completed; and calibrating the displacement value input from the outside when the initial signal is received into a second value, so that the detection values of the initial position and the termination position are accurately calibrated, and the calibration in the whole detection range can be realized according to the linear relation. The correction of the telescopic screen displacement detection is realized quickly and simply.
An embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executed by the processor, where the processor implements the steps of the calibration method for detecting the displacement of the retractable screen of the retractable terminal as described in any of the foregoing embodiments when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the calibration method for detecting the displacement of the retractable screen of the retractable slide terminal as described in any of the foregoing embodiments. The computer storage medium may be any tangible medium, such as a floppy disk, a CD-ROM, a DVD, a hard drive, even a network medium, and the like.
It should be understood that although one implementation of the embodiments of the present invention is described above as a computer program product, the method or apparatus of embodiments of the present invention may be implemented in software, hardware, or a combination of software and hardware. The hardware portions may be implemented using dedicated logic; the software portions may be stored in a memory and executed by a suitable instruction execution system, such as a microprocessor or specially designed hardware. It will be appreciated by those of ordinary skill in the art that the methods and apparatus described above may be implemented using computer executable instructions and/or embodied in processor control code, such code provided, for example, on a carrier medium such as a disk, CD or DVD-ROM, programmable memory such as read only memory (firmware), or a data carrier such as an optical or electronic signal carrier. The methods and apparatus of the present invention may be implemented in hardware circuitry, such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, or programmable hardware devices such as field programmable gate arrays, programmable logic devices, or in software for execution by various types of processors, or in a combination of hardware circuitry and software, such as firmware.
It should be understood that although several modules or units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, according to exemplary embodiments of the invention, the features and functions of two or more modules/units described above may be implemented in one module/unit, whereas the features and functions of one module/unit described above may be further divided into implementations by a plurality of modules/units. Furthermore, some of the modules/units described above may be omitted in some application scenarios.
It should be understood that the description only describes some key and not necessarily essential techniques and features, and may not describe features that could be implemented by those skilled in the art, in order not to obscure the embodiments of the invention. The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and the like that are within the spirit and principle of the present invention are included in the present invention.

Claims (8)

1. A slide terminal, comprising:
a housing comprising an opening;
a retractable screen configured to retract into or extend out of the opening of the housing;
a detection mechanism electrically connected with the telescopic screen and configured to detect a detection value for representing the moving position of the telescopic screen relative to the shell;
the detection and correction mechanism is configured to send a signal to the core processing module when the retractable screen is located at a preset position, wherein the preset position comprises an initial position and a termination position;
the core processing module is electrically connected with the detection and correction mechanism and the detection mechanism and is configured to correct the detection value based on the signal;
wherein, the detection and correction mechanism further comprises: two Hall sensors arranged at the initial position and the termination position;
the electric digital conversion module is electrically connected with the filtering module and the core processing module;
the filtering module is configured to send a voltage signal to the electric-digital conversion module when the voltage value of the magnetic induction voltage output by the Hall sensor reaches a preset voltage value;
the electrical-to-digital conversion module is configured to convert the voltage signal into a digital signal and send the digital signal to the core processing module.
2. The slide terminal of claim 1, wherein the retractable screen includes a first end proximate the opening when fully retracted into the housing and a second end opposite the first end; the initial position is the position of the second end when the retractable screen is completely retracted back to the shell, and the terminal position is the position of the second end of the retractable screen when the retractable screen is completely extended out of the shell;
wherein the detection mechanism is further configured to detect a displacement of the first end out of the opening;
the detection and verification mechanism is further configured to send an initial signal to the core processing module when the second end of the retractable screen is located at the initial position, and send a termination signal to the core processing module when the second end of the retractable screen is located at the termination position;
the core processing module is further configured to calibrate the displacement value detected by the detection mechanism when the initial signal is received to a first value and to calibrate the displacement value detected by the detection mechanism when the termination signal is received to a second value.
3. The slip termination of claim 2, further comprising:
the sliding chutes are positioned at two ends of the shell; and
the supporting frame slides in the sliding groove and is used for supporting the telescopic screen to slide along the sliding groove;
wherein a connecting line of the initial position and the end position is parallel to the chute;
the detection and correction mechanism further comprises: the magnet is positioned at the intersection position of the support frame and the second end of the telescopic screen, and the Hall sensor outputs magnetic induction voltage by sensing the magnet.
4. The terminal of claim 3, wherein the filter module comprises: a comparator and a regulating resistor, wherein the regulating resistor is connected with the comparator,
the first end of the comparator is electrically connected with the output end of the Hall sensor and is used for receiving the magnetic induction voltage sent by the Hall sensor, the second end of the comparator is electrically connected with the adjusting resistor and is used for receiving the reference voltage controlled by the adjusting resistor, and the third end of the comparator is electrically connected with the electric number conversion module;
the comparator is configured to output the voltage signal to the electric-digital conversion module from the third terminal when the magnetic induction voltage of the first terminal is greater than or equal to the reference voltage of the second terminal;
the reference voltage is equal to the magnetic induction voltage emitted by the Hall sensor when the magnet is located at the initial position and the magnetic induction voltage emitted by the Hall sensor when the magnet is located at the termination position.
5. The slip terminal of claim 3, wherein the housing further comprises: a main circuit board for bearing the core processing module;
wherein, two hall sensor are integrated on the main line board.
6. The slip terminal of claim 3, further comprising: and the two Hall sensors are integrated on the flexible circuit board.
7. A method for calibrating displacement detection of a slide terminal according to claim 1, comprising:
receiving an externally input signal when the telescopic screen is positioned at a preset position;
and correcting a detection value based on the signal, wherein the detection value is used for representing the moving position of the telescopic screen relative to the shell.
8. A proof-reading method of displacement detection according to claim 7,
the receiving of the externally input signal when the retractable screen is located at the preset position includes:
receiving an initial signal input from the outside when the second end of the retractable screen is located at an initial position, wherein the retractable screen comprises a first end close to the opening when the retractable screen is fully retracted back into the shell and the second end opposite to the first end; the initial position is the position of the second end when the telescopic screen is completely retracted back to the shell; and
receiving a termination signal input from the outside when the second end of the retractable screen is located at a termination position, wherein the termination position is a position where the second end of the retractable screen is located when the retractable screen extends out of the shell;
wherein the correcting the detection value based on the signal comprises:
calibrating a detected displacement value externally input when the initial signal is received to a first value; and
and correcting the detected displacement value input externally when the termination signal is received into a second value.
CN202011249580.XA 2020-11-10 2020-11-10 Slip terminal and correction method for displacement detection of slip terminal Active CN112328082B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011249580.XA CN112328082B (en) 2020-11-10 2020-11-10 Slip terminal and correction method for displacement detection of slip terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011249580.XA CN112328082B (en) 2020-11-10 2020-11-10 Slip terminal and correction method for displacement detection of slip terminal

Publications (2)

Publication Number Publication Date
CN112328082A CN112328082A (en) 2021-02-05
CN112328082B true CN112328082B (en) 2022-12-20

Family

ID=74319074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011249580.XA Active CN112328082B (en) 2020-11-10 2020-11-10 Slip terminal and correction method for displacement detection of slip terminal

Country Status (1)

Country Link
CN (1) CN112328082B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113467033A (en) * 2021-06-24 2021-10-01 南昌欧菲光电技术有限公司 Camera module and lens positioning method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900666B (en) * 2018-06-12 2020-08-21 Oppo广东移动通信有限公司 Elastic frame prompting method and device and electronic equipment
CN109151106B (en) * 2018-08-01 2020-06-19 Oppo广东移动通信有限公司 Sliding control method and device for sliding assembly, electronic device and storage medium
CN109343576B (en) * 2018-11-13 2021-07-23 Oppo广东移动通信有限公司 Calibration system and calibration jig
CN109542174B (en) * 2018-11-30 2020-07-31 Oppo广东移动通信有限公司 Method and device for correcting sliding of sliding component

Also Published As

Publication number Publication date
CN112328082A (en) 2021-02-05

Similar Documents

Publication Publication Date Title
US11300425B2 (en) Turn count decoding for multi-turn sensors
US9255817B2 (en) Rotation-angle detection device, image processing apparatus, and rotation-angle detection method
US10268226B1 (en) Voltage generating device and calibrating method thereof
CN107036632B (en) Position detecting device
EP2075532B1 (en) Portable electronic device with electronic compass and method for calibrating compass
CN106949822B (en) Real-time displacement feedback system and feedback method of micro device
CN112328082B (en) Slip terminal and correction method for displacement detection of slip terminal
US9574910B2 (en) Position detecting apparatus, and lens apparatus and image pickup apparatus including the position detecting apparatus
US20110181229A1 (en) Apparatus, system and method for stepper motor stall detection
JP2007132706A (en) Moving amount calculation device, and lens tube
KR20190033039A (en) Method and apparatus for error correction in linear position sensing system using magnetic sensors
US20150130931A1 (en) Position detecting apparatus, and lens apparatus and image pickup apparatus including the position detecting apparatus
CN111561960B (en) Sensor device and method for operating a sensor device
JP6289192B2 (en) POSITION DETECTION DEVICE, LENS DEVICE HAVING SAME, AND OPTICAL OPERATING DEVICE
JP2005127762A (en) Sensor signal processing apparatus
JP5729254B2 (en) Hysteresis device
KR20150088603A (en) Pressure sensor module with calibration capable of converting output type
CN108627299B (en) Calibration method and calibration circuit of pressure sensing device
US10224909B1 (en) Error elimination amplifier and motor control circuit using the same
KR20210114643A (en) Touch sensing device and touch coordinates detection method thereof
JP2019074437A (en) Current sensor circuit
KR20120066708A (en) Hall ic with temperature compensation function
JP2006242709A (en) Position detection device and magnetometric sensor output signal detection method
US9817034B2 (en) Measuring device
KR100827399B1 (en) Robust signal correction device of analog input measured under changing temperature condition and 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
GR01 Patent grant
GR01 Patent grant