[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113804237B - Detection distance testing method and device for electronic equipment - Google Patents

Detection distance testing method and device for electronic equipment Download PDF

Info

Publication number
CN113804237B
CN113804237B CN202111129889.XA CN202111129889A CN113804237B CN 113804237 B CN113804237 B CN 113804237B CN 202111129889 A CN202111129889 A CN 202111129889A CN 113804237 B CN113804237 B CN 113804237B
Authority
CN
China
Prior art keywords
hall element
magnetic flux
threshold value
distance
magnetic
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
CN202111129889.XA
Other languages
Chinese (zh)
Other versions
CN113804237A (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.)
Dongguan Huabei Electronic Technology Co Ltd
Original Assignee
Dongguan Huabei Electronic Technology 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 Dongguan Huabei Electronic Technology Co Ltd filed Critical Dongguan Huabei Electronic Technology Co Ltd
Priority to CN202111129889.XA priority Critical patent/CN113804237B/en
Publication of CN113804237A publication Critical patent/CN113804237A/en
Application granted granted Critical
Publication of CN113804237B publication Critical patent/CN113804237B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D18/00Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00
    • 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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/14Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage
    • G01D5/142Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage using Hall-effect devices

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Magnetic Variables (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)

Abstract

The invention discloses a detection distance testing method and device of electronic equipment, wherein the testing method comprises the following steps: in a magnetic field functional area formed by the magnetic element, the first rotating part and the second rotating part are made to relatively rotate until the magnetic flux acting on the Hall element changes to a switching trigger threshold value of the Hall element; when the magnetic flux acting on the Hall element changes to a switching trigger threshold value of the Hall element, acquiring the relative distance between the reference positions on the first rotating part and the second rotating part; judging whether the relative distance meets the preset standard distance condition or not, and obtaining a judging result. According to the invention, through the process of simulating the opening and closing of the screen, when the magnetic flux acting on the Hall element changes to the switching trigger threshold value of the Hall element, the detection distance of the electronic equipment when the electronic equipment is switched to the dormant or awakening state is obtained, so that the actual detection distance is consistent with the simulated detection distance, and the purpose of ensuring the quality of products is achieved.

Description

Detection distance testing method and device for electronic equipment
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a method and an apparatus for testing a detection distance of an electronic device.
Background
A distance detection component is arranged in some electronic equipment with a flip cover function, taking a notebook computer as an example, and when the notebook computer is opened until the distance detection component detects that the distance between a screen and a host reaches a wake-up distance, the notebook computer wakes up; closing the notebook computer until the distance between the screen and the host computer detected by the separation detection component reaches the dormancy distance; the wake-up distance and the sleep distance are collectively referred to as a detection distance of the notebook computer.
In the prior art, a component for realizing distance detection generally comprises a magnet and a Hall sensor which are respectively arranged on a screen and a host; although the detection distance can be simulated by a magnetic field analysis method to be applied to the electronic equipment with the flip function, the actual detection distance does not meet the requirement because of the tolerance of the magnet technology and the introduction of the theoretical simulation, and the actual detection distance is not consistent with the simulated detection distance.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a detection distance testing method and device for electronic equipment, which solve the problem that the actual detection distance does not meet the requirement because the actual detection distance does not accord with the simulated detection distance due to the fact that the tolerance exists in the prior art due to the fact that the magnet technology and the theoretical simulation are introduced.
In order to achieve the above object, the present invention provides the following technical solutions:
a detection distance test method of electronic equipment provides a screen opening and closing simulation mechanism, which comprises the following steps: a first rotating part provided with a magnetic element; a second rotating part provided with a Hall element; the first rotating part can be driven to rotate relative to the second rotating part;
the test method comprises the following steps:
in a magnetic field functional area formed by the magnetic element, the first rotating part and the second rotating part are made to rotate relatively until the magnetic flux acting on the Hall element changes to a switching trigger threshold value of the Hall element;
when the magnetic flux acting on the Hall element changes to a switching trigger threshold value of the Hall element, acquiring the relative distance between the reference positions on the first rotating part and the second rotating part;
And judging whether the relative distance meets a preset standard distance condition or not, and obtaining a judging result.
Optionally, the switching trigger threshold value of the hall element includes a wake-up threshold value and a sleep threshold value, and when the magnetic flux passing through the hall element reaches the wake-up threshold value or the sleep threshold value, the level state output by the hall element is switched;
The relative rotation between the first rotating part and the second rotating part is formed until the magnetic flux acting on the Hall element changes to a switching trigger threshold value of the Hall element, and the relative rotation comprises the following steps:
Opening the first rotating portion relative to the second rotating portion until a magnetic flux passing through the hall element changes to a wake-up threshold value; or (b)
The first rotating portion is closed relative to the second rotating portion until the magnetic flux through the hall element changes to a sleep threshold value.
Optionally, the determining whether the relative distance meets a preset standard distance condition includes:
When the magnetic flux passing through the Hall element reaches a wake-up threshold value, judging whether the relative distance meets a preset wake-up distance condition;
And when the magnetic flux passing through the Hall element reaches a sleep threshold value, judging whether the relative distance meets a preset sleep distance condition.
Optionally, the method for testing the detection distance of the electronic device further includes:
and adjusting the unit variation of the magnetic flux acting on the Hall element when the first rotating part and the second rotating part form relative rotation according to the judging result.
Optionally, the adjusting the unit variation amount of the magnetic flux acting on the hall element when the first rotating portion and the second rotating portion form relative rotation therebetween includes:
the distance between the mounting positions of the magnetic element and the hall element and the rotation axis is adjusted.
Optionally, the magnetic element is a magneto coil;
The test method further comprises the following steps:
Controlling the magnetic element to generate target magnetic flux to form a magnetic field functional area;
The adjusting the unit change amount of the magnetic flux acting on the hall element when the first rotating portion and the second rotating portion are rotated relatively to each other further includes:
the current through the magnetic element is adjusted to increase or decrease the target magnetic flux.
The invention also provides a detection distance testing device of the electronic equipment, which is used for realizing the detection distance testing method of the electronic equipment, and comprises the following steps:
the screen opening and closing simulation mechanism;
The control unit is connected with the screen opening and closing simulation mechanism and is used for enabling the first rotating part and the second rotating part to form relative rotation in a magnetic field functional area formed by the magnetic elements until the magnetic flux acting on the Hall element changes to a switching trigger threshold value of the Hall element;
An acquisition unit configured to acquire a relative distance between reference positions on the first rotating portion and the second rotating portion when a magnetic flux acting on the hall element changes to a switching trigger threshold value of the hall element;
And the judging unit is used for judging whether the relative distance meets the preset standard distance condition or not to obtain a judging result.
Optionally, the switching trigger threshold value of the hall element includes a wake-up threshold value and a sleep threshold value, and when the magnetic flux passing through the hall element reaches the wake-up threshold value or the sleep threshold value, the level state output by the hall element is switched;
The control unit is further configured to:
Opening the first rotating portion relative to the second rotating portion until a magnetic flux passing through the hall element changes to a wake-up threshold value; or (b)
Closing the first rotating portion relative to the second rotating portion until a magnetic flux passing through the hall element changes to a sleep threshold value;
the judging unit is used for:
when the magnetic flux passing through the Hall element changes to a wake-up threshold value, judging whether the relative distance meets a preset wake-up distance condition;
And when the magnetic flux passing through the Hall element changes to the sleep threshold value, judging whether the relative distance meets a preset sleep distance condition.
Optionally, the detection distance testing device of the electronic device further includes an adjusting unit, where the adjusting unit is configured to:
and adjusting the unit variation of the magnetic flux acting on the Hall element when the first rotating part and the second rotating part form relative rotation according to the judging result.
Optionally, the magnetic element is a magneto coil; the control unit is used for controlling the magnetic element to generate target magnetic flux so as to form a magnetic field functional area;
The magnetic element and the Hall element are respectively and slidably arranged on the sliding rails of the first rotating part and the second rotating part;
The adjusting unit is used for:
according to the judging result, the magnetic element and the Hall element slide on the sliding rail so as to adjust the distance between the installation positions of the magnetic element and the Hall element and the rotating shaft; and/or
The current through the magnetic element is adjusted to increase or decrease the target magnetic flux.
Compared with the prior art, the invention has the following beneficial effects:
The invention provides a detection distance testing method and a detection distance testing device for electronic equipment, wherein the detection distance when the electronic equipment is switched to a dormant or awakening state is acquired when the magnetic flux acting on a Hall element changes to a switching trigger threshold value of the Hall element through the process of simulating the opening and closing of a screen, so that the actual detection distance is consistent with the simulated detection distance, and the aim of ensuring the quality of products is fulfilled.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the invention, and that other drawings can be obtained from these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a screen opening and closing simulation mechanism provided by the invention;
FIG. 2 is a flowchart of a method for testing a detection distance of an electronic device according to the present invention;
FIG. 3 is a flow chart of a method for testing a detection distance of an electronic device according to the present invention;
FIG. 4 is a flowchart of step S4 in a method for testing a detection distance of an electronic device according to the present invention;
FIG. 5 is a flowchart of a method for testing a detection distance of an electronic device according to the present invention;
FIG. 6 is a flowchart illustrating a step S4 of a method for testing a detection distance of an electronic device according to the present invention;
fig. 7 is a schematic structural diagram of a detecting distance testing device for an electronic device according to the present invention.
In the above figures: 10. a screen opening and closing simulation mechanism; 11. a first rotating part; 111. a magnetic element; 12. a second rotating part; 121. a Hall element; 20. a control unit; 30. an acquisition unit; 40. an adjusting unit.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions of 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 apparent that the embodiments described below are only some embodiments of the present invention, not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the description of the present invention, it will be understood that when one component is referred to as being "connected" to another component, it can be directly connected to the other component or intervening components may also be present. When an element is referred to as being "disposed on" another element, it can be directly on the other element or intervening elements may also be present.
Furthermore, the terms "long," "short," "inner," "outer," and the like, as used herein, refer to an orientation or positional relationship based on that shown in the drawings, for convenience of description of the present invention, and are not intended to indicate or imply that the apparatus or elements referred to must have this particular orientation, operate in a particular orientation configuration, and thus should not be construed as limiting the invention.
The wake-up distance and the sleep distance are collectively referred to as a detection distance of the electronic device, and a distance detection component generally includes a magnet and a hall sensor separately disposed on the screen and the host. According to the association standard, the sleep distance of the electronic device is required to be larger than 20mm, and the wake-up distance is required to be smaller than 100mm. In the prior art, the magnetic flux of the magnet is reduced to meet the requirement that the awakening distance is smaller than 100mm, but the magnetic flux of the magnet is too small to ensure that the sleeping distance is larger than 20mm, and even the bad phenomenon that the cover is closed and the screen is not closed can occur, so that the detection distance of the electronic equipment needs to be simulated during production to determine whether the requirements are met.
Although the detection distance can be simulated by a magnetic field analysis method to be applied to the electronic equipment products, the actual detection distance is inconsistent with the simulated detection distance due to the fact that the tolerance exists in the magnet technology and the introduction of the theoretical simulation, so that the actual detection distance exceeds the standard, and the actual requirement is not met.
In order to solve the foregoing problems, the present invention provides a detection distance testing scheme for an electronic device, and the technical scheme of the present invention is further described below by taking a notebook computer as an example, and referring to the accompanying drawings and through specific embodiments.
Example 1
Referring to fig. 1 and fig. 2 in combination, an embodiment of the present invention provides a method for testing a detection distance of an electronic device, and provides a screen opening/closing simulation mechanism 10, where the screen opening/closing simulation mechanism 10 includes: a first rotating portion 11 provided with a magnetic element 111; a second rotating portion 12 provided with a hall element 121; the first rotating part 11 and the second rotating part 12 are connected by a rotating member such that the first rotating part 11 can be driven to rotate relative to the second rotating part 12.
In this embodiment, the test method includes:
S1, in the magnetic field functional region formed by the magnetic element 111, the first rotating portion 11 and the second rotating portion 12 are rotated relatively until the magnetic flux acting on the hall element 121 changes to the switching trigger threshold value of the hall element 121.
It can be understood that in the present embodiment, the first rotating portion 11 is regarded as a screen of the notebook computer, the second rotating portion 12 is regarded as a host of the notebook computer, the first rotating portion 11 is opened relative to the second rotating portion 12 to simulate a screen opening motion of the notebook computer, and the first rotating portion 11 is closed relative to the second rotating portion 12 to simulate a screen closing motion of the notebook computer.
Specifically, the switching trigger threshold of the hall element 121 includes a wake-up threshold and a sleep threshold, and when the magnetic flux passing through the hall element 121 reaches the wake-up threshold or the sleep threshold, the level state output from the hall element 121 is switched.
Based on this, in step S1, the first rotating portion 11 and the second rotating portion 12 are rotated relatively until the magnetic flux acting on the hall element 121 changes to the switching trigger threshold value of the hall element 121, and the method includes:
Opening the first rotary part 11 with respect to the second rotary part 12 until the magnetic flux passing through the hall element 121 changes to a wake-up threshold value; or, during the opening process, the magnetic flux passing through the hall element 121 gradually decays, and reaches the wake-up threshold value when decaying to the induction lower limit value of the hall element 121.
Closing the first rotating portion 11 with respect to the second rotating portion 12 until the magnetic flux passing through the hall element 121 changes to the sleep threshold value; during the closing process, the magnetic flux passing through the hall element 121 gradually increases, and when the induction upper limit value of the hall element 121 is increased, the sleep threshold value is reached.
When the magnetic flux passing through the hall element 121 reaches the wake-up threshold value, the hall element 121 is switched from low level to high level, so as to simulate the wake-up action of the notebook computer in the process of opening the screen; when the magnetic flux passing through the hall element 121 reaches the sleep threshold value, the hall element 121 is switched from high level to low level, so as to simulate the sleep action of the notebook computer in the process of closing the screen.
It can be understood that the rotating member is a rotating shaft, and the rotating shaft can rotate relative to the second rotating portion 12 and drives the first rotating portion 11 to rotate when rotating; the rotation of the shaft can be achieved by driving the motor.
S2, when the magnetic flux acting on the hall element 121 changes to the switching trigger threshold value of the hall element 121, the relative distance between the reference positions on the first rotating portion 11 and the second rotating portion 12 is acquired.
In the process of opening the first rotating part 11 relative to the second rotating part 12, when the magnetic flux acting on the hall element 121 changes to the switching trigger threshold value of the hall element 121, the acquired relative distance between the reference positions on the first rotating part 11 and the second rotating part 12 is the wake-up distance for triggering the notebook computer to wake up;
In the process of closing the first rotating part 11 relative to the second rotating part 12, when the magnetic flux acting on the hall element 121 changes to the switching trigger threshold value of the hall element 121, the obtained relative distance between the reference positions on the first rotating part 11 and the second rotating part 12 is the sleep distance for triggering the sleep of the notebook computer.
The reference positions on the first rotating part 11 and the second rotating part 12 can be determined according to the requirement, specifically, the positions corresponding to the simulated front edge of the notebook computer, so that the detection distance of the notebook computer can be simulated.
It will be appreciated that the reference positions may be located on the first rotating part 11 and the second rotating part 12, or may be located on an extension line of the first rotating part 11 and the second rotating part 12, and the specific positions may be determined according to the specific size of the notebook computer, and the reference positions on the first rotating part 11 and the second rotating part 12 are obtained based on similar triangles. In particular, a distance measuring element, which may be a laser distance measuring device, may be provided at the reference position for acquiring the relative distance between the reference positions on the first rotary part 11 and the second rotary part 12.
And S3, judging whether the relative distance meets the preset standard distance condition, and obtaining a judging result.
Specifically, in step S3:
When the magnetic flux passing through the hall element 121 reaches the wake-up threshold value, judging whether the relative distance satisfies a preset wake-up distance condition; and when the relative distance is smaller than or equal to a preset awakening distance threshold value, a preset awakening distance condition is met.
When the magnetic flux passing through the hall element 121 reaches the sleep threshold value, it is judged whether the relative distance satisfies a preset sleep distance condition; and when the relative distance is greater than or equal to a preset dormancy distance threshold value, a preset dormancy distance condition is met.
Further, when the relative distance satisfies a preset wake-up distance condition, and when the relative distance satisfies a preset sleep distance condition, the current relative distance, the magnetic flux passing through the hall element 121, and the operating voltage of the hall element 121 are recorded, respectively, so as to be applied to a notebook computer product.
Specifically, a distance measuring element, which may be a laser distance meter, is provided on the first rotating part 11 or the second rotating part 12, for acquiring a relative distance between reference positions on the first rotating part 11 and the second rotating part 12.
Meanwhile, a voltmeter and a gaussmeter are connected to the hall element 121 to achieve acquisition of the magnetic flux passing through the hall element 121 and the operating voltage of the hall element 121.
Referring to fig. 3, further, the method for testing a detection distance of an electronic device according to the present embodiment further includes:
S4, adjusting the unit change amount of the magnetic flux acting on the hall element 121 when the first rotating portion 11 and the second rotating portion 12 are rotated relative to each other according to the determination result.
As can be appreciated, the amount of change in magnetic flux acting on the hall element 121 is specifically: the amount of change in magnetic flux per unit displacement during rotation of the first rotating portion 11 relative to the second rotating portion 12.
Referring to fig. 4, specifically, the amount of change in the magnetic flux passing through the hall element 121 can be adjusted by:
S41, adjusting the distance between the mounting positions of the magnetic element 111 and the hall element 121 and the rotation axis to adjust the amount of change in magnetic flux acting on the hall element 121.
For example, when the first rotating portion 11 is opened with respect to the second rotating portion 12 and the magnetic flux passing through the hall element 121 reaches the wake-up threshold value, if the relative distance is greater than the preset wake-up distance threshold value, the mounting positions of the magnetic element 111 and the hall element 121 are adjusted in a direction away from the rotation axis, so as to increase the amount of change in the magnetic flux passing through the hall element 121 during the opening.
Similarly, the first rotating portion 11 is closed relative to the second rotating portion 12, and if the relative distance is smaller than the preset sleep distance threshold when the magnetic flux passing through the hall element 121 reaches the sleep threshold, the mounting positions of the magnetic element 111 and the hall element 121 are adjusted in a direction away from the rotation axis, so as to increase the amount of change in the magnetic flux passing through the hall element 121 during the opening process.
It is understood that the distances between the magnetic element 111 and the hall element 121 and the rotation axis may be equal or unequal; in this embodiment, a case where the distances between the magnetic element 111 and the hall element 121 and the rotation axis are equal will be described as an example.
Further, slide rails for mounting the magnetic element 111 and the hall element 121 may be provided on the first rotating portion 11 and the second rotating portion 12, respectively, so as to achieve positional adjustment of the magnetic element 111 and the hall element 121; meanwhile, graduations may be provided corresponding to the extending direction of the guide rail so as to obtain distances between the magnetic element 111 and the hall element 121, respectively, and the rotation shaft.
In one alternative embodiment, a set of magnetic elements 111 and hall elements 121 may be provided for the opening and closing actions of the first rotating portion 11 with respect to the second rotating portion 12, and magnetic fluxes of the magnetic elements 111 and induction parameters of the hall elements 121 may be provided, respectively, so as to acquire distance data between the two sets of magnetic elements 111 and hall elements 121 and the rotating shaft.
In another alternative embodiment, the opening and closing actions of the first rotating part 11 relative to the second rotating part 12 are implemented by using the same set of magnetic elements 111 and hall elements 121, and distance data between one magnetic element 111 and hall element 121 and the rotating shaft are obtained during the opening and closing test, and then a weighted average of the two distance data is taken as data finally applied to the notebook computer product.
Further, in the present embodiment, the magnetic element 111 is a magneto coil; the magnetic field intensity in the magnetic field functional area can be flexibly adjusted by using the magnetic generating coil so as to simulate different types of magnets. Generally, the magnet proofing period is 7-14 days, and the magnet is replaced by the magnet generating coil in the embodiment, so that the magnet proofing step can be omitted, the testing time period is shortened, and the production progress is ensured.
Referring to fig. 5, based on this, the test method provided in the present embodiment further includes:
s01, controlling the magnetic element 111 to generate target magnetic flux to form a magnetic field functional area.
In this step, the magnetic field functional region is formed by controlling the current through the magnetic element 111 so that the magnetic element 111 generates a target magnetic flux.
Further, in step S4, the amount of change in magnetic flux acting on the hall element 121 may be adjusted by:
Referring to fig. 6, S42, the current through the magnetic element 111 is adjusted to increase or decrease the target magnetic flux.
It will be appreciated that steps S41 and S42 may be used simultaneously to effect adjustment of the amount of change in magnetic flux through the hall element 121, or one implementation may be adopted.
For example, when the mounting positions of the magnetic element 111 and the hall element 121 are fixed, the current passing through the magnetic element 111 may be adjusted by step S42 until the relative distance satisfies a preset standard distance condition, thereby obtaining an optimal target magnetic flux, and customizing a magnet applied to a notebook computer based on the target magnetic flux;
When the magnet model applied to the notebook computer is fixed, the distance between the installation positions of the magnetic element 111 and the hall element 121 and the rotation axis can be adjusted through step S41 until the relative distance satisfies a preset standard distance condition, thereby obtaining the optimal installation positions of the magnetic element 111 and the hall element 121, and installing the magnet and the hall sensor in the notebook computer based on the installation positions.
Example two
Referring to fig. 1 and fig. 7 in combination, according to a first embodiment, the present invention further provides a detection distance testing apparatus for an electronic device, including:
A screen opening/closing simulation mechanism 10; the screen opening/closing simulation mechanism 10 includes: a first rotating portion 11 provided with a magnetic element 111; a second rotating portion 12 provided with a hall element 121; the first rotating part 11 and the second rotating part 12 are connected through a rotating member;
a control unit 20 for forming relative rotation between the first rotating portion 11 and the second rotating portion 12 within the magnetic field function region formed by the magnetic element 111 until the magnetic flux acting on the hall element 121 changes to a switching trigger threshold value of the hall element 121;
An acquisition unit 30 for acquiring a relative distance between reference positions on the first rotating portion 11 and the second rotating portion 12 when a magnetic flux acting on the hall element 121 changes to a switching trigger threshold value of the hall element 121;
And the judging unit is used for judging whether the relative distance meets the preset standard distance condition or not to obtain a judging result.
The rotating member is a rotating shaft, and the rotating shaft can rotate relative to the second rotating part 12 and drives the first rotating part 11 to rotate when rotating; the rotation of the shaft can be achieved by driving the motor. The control unit 20 is used for controlling the start and stop of the motor and the rotation direction so as to enable the first rotating part 11 and the second rotating part 12 to rotate relatively.
Specifically, the control unit 20 is further configured to:
Opening the first rotating part 11 with respect to the second rotating part 12 until the magnetic flux passing through the hall element 121 reaches the wake-up threshold value; the first rotating portion 11 is closed with respect to the second rotating portion 12 until the magnetic flux passing through the hall element 121 reaches the sleep threshold value.
It is understood that the control unit 20 may open or close the first rotating part 11 with respect to the second rotating part 12 by controlling the rotation direction of the motor.
It can be understood that in the present embodiment, the first rotating portion 11 is regarded as a screen of the notebook computer, the second rotating portion 12 is regarded as a host of the notebook computer, the first rotating portion 11 is opened relative to the second rotating portion 12 to simulate a screen opening motion of the notebook computer, and the first rotating portion 11 is closed relative to the second rotating portion 12 to simulate a screen closing motion of the notebook computer.
Based on this, the first rotating portion 11 is opened with respect to the second rotating portion 12 until the magnetic flux passing through the hall element 121 reaches the wake-up threshold value; during the opening process, the magnetic flux passing through the hall element 121 gradually decays, and reaches a wake-up threshold value when decaying to the induction lower limit value of the hall element 121;
closing the first rotating portion 11 with respect to the second rotating portion 12 until the magnetic flux passing through the hall element 121 reaches the sleep threshold value; during the closing process, the magnetic flux passing through the hall element 121 gradually increases, and when the induction upper limit value of the hall element 121 is increased, the sleep threshold value is reached.
When the magnetic flux passing through the hall element 121 reaches the wake-up threshold value, the hall element 121 is switched from low level to high level, so as to simulate the wake-up action of the notebook computer in the process of opening the screen; when the magnetic flux passing through the hall element 121 reaches the sleep threshold value, the hall element 121 is switched from high level to low level, so as to simulate the sleep action of the notebook computer in the process of closing the screen.
Specifically, the switching trigger threshold of the hall element 121 includes a wake-up threshold and a sleep threshold, and when the magnetic flux passing through the hall element 121 reaches the wake-up threshold or the sleep threshold, the level state output from the hall element 121 is switched.
Further, the judging unit is configured to:
When the magnetic flux passing through the hall element 121 changes to the wake-up threshold value, judging whether the relative distance satisfies a preset wake-up distance condition;
when the magnetic flux passing through the hall element 121 changes to the sleep threshold value, it is determined whether the relative distance satisfies a preset sleep distance condition.
Specifically, when the magnetic flux passing through the hall element 121 reaches the wake-up threshold value, the judging unit judges whether the relative distance satisfies a preset wake-up distance condition; and when the relative distance is smaller than or equal to the preset awakening distance threshold value, judging that the preset awakening distance condition is met.
When the magnetic flux passing through the hall element 121 reaches the sleep threshold value, the judging unit judges whether the relative distance satisfies a preset sleep distance condition; and when the relative distance is greater than or equal to a preset dormancy distance threshold value, judging that the preset dormancy distance condition is met.
The first rotating portion 11 or the second rotating portion 12 is provided with a distance measuring element, which may be a laser distance measuring device, for obtaining a relative distance between reference positions on the first rotating portion 11 and the second rotating portion 12. Meanwhile, a voltmeter and a gaussmeter are connected to the hall element 121 to achieve acquisition of the magnetic flux passing through the hall element 121 and the operating voltage of the hall element 121.
When the relative distance satisfies a preset wake-up distance condition, and when the relative distance satisfies a preset sleep distance condition, the current relative distance, the magnetic flux passing through the hall element 121, and the operating voltage of the hall element 121 are recorded, respectively, so as to be applied to a notebook computer product.
Further, the detecting distance testing device for an electronic apparatus provided in this embodiment further includes an adjusting unit 40, where the adjusting unit 40 is configured to:
when the relative rotation is formed between the first rotation portion 11 and the second rotation portion 12, the unit change amount of the magnetic flux acting on the hall element 121 is adjusted according to the determination result.
Specifically, the magnetic element 111 is a magneto coil; the control unit 20 is used for forming a magnetic field functional area by controlling the current passing through the magnetic element 111 so that the magnetic element 111 generates a target magnetic flux; the first rotating portion 11 and the second rotating portion 12 are provided with slide rails, and the magnetic element 111 and the hall element 121 are slidably mounted on the slide rails of the first rotating portion 11 and the second rotating portion 12, respectively. Graduations may also be provided corresponding to the extending direction of the guide rail so as to acquire distances between the magnetic element 111 and the hall element 121, respectively, and the rotation shaft.
Based on this, the adjustment unit 40 is configured to:
According to the judgment result, the magnetic element 111 and the hall element 121 are made to slide on the slide rail under the control of the control unit 20, so as to adjust the distance between the installation positions of the magnetic element 111 and the hall element 121 and the rotating member; and/or
The current through the magnetic element 111 is adjusted to increase or decrease the target magnetic flux.
It is understood that the adjustment unit 40 includes a cylinder.
Under the control of the control unit 20, the first rotating part 11 is opened relative to the second rotating part 12, and when the magnetic flux passing through the hall element 121 reaches the wake-up threshold value and the relative distance is greater than the preset wake-up distance threshold value, the mounting positions of the magnetic element 111 and the hall element 121 are adjusted in a direction away from the rotation axis under the pushing of the cylinder, so as to increase the variation amount of the magnetic flux passing through the hall element 121 during the opening process.
Similarly, under the control of the control unit 20, the first rotating part 11 is closed with respect to the second rotating part 12, and when the magnetic flux passing through the hall element 121 reaches the sleep threshold value and the relative distance is smaller than the preset sleep distance threshold value, the mounting positions of the magnetic element 111 and the hall element 121 are adjusted in a direction away from the rotation axis by the pushing of the cylinder, so as to increase the variation amount of the magnetic flux passing through the hall element 121 during the opening process.
In addition, elastic telescopic locators are provided in the guide rails of the first and second rotating parts 11 and 12, and are uniformly arranged at certain intervals, so that the magnetic element 111 and the hall element 121 can be positioned at predetermined positions by the elastic telescopic locators in the process that the magnetic element 111 and the hall element 121 are pushed by the cylinder.
It is understood that the distances between the magnetic element 111 and the hall element 121 and the rotation axis may be equal or unequal; in this embodiment, a case where the distances between the magnetic element 111 and the hall element 121 and the rotation axis are equal will be described as an example.
Further, slide rails for mounting the magnetic element 111 and the hall element 121 may be provided on the first rotating portion 11 and the second rotating portion 12, respectively, so as to achieve positional adjustment of the magnetic element 111 and the hall element 121; meanwhile, graduations may be provided corresponding to the extending direction of the guide rail so as to obtain distances between the magnetic element 111 and the hall element 121, respectively, and the rotation shaft.
In one of the alternative embodiments, a set of magnetic elements 111 and hall elements 121 may be provided for the opening and closing actions of the first rotating portion 11 with respect to the second rotating portion 12, respectively, so as to acquire distance data between the two sets of magnetic elements 111 and hall elements 121 and the rotation axis.
In another alternative embodiment, the opening and closing actions of the first rotating part 11 relative to the second rotating part 12 are implemented by using the same set of magnetic elements 111 and hall elements 121, and distance data between one magnetic element 111 and hall element 121 and the rotating shaft are obtained during the opening and closing test, and then a weighted average of the two distance data is taken as data finally applied to the notebook computer product.
Further, in the present embodiment, the magnetic element 111 is a magneto coil; the magnetic field intensity in the magnetic field functional area can be flexibly adjusted by using the magnetic generating coil so as to simulate different types of magnets. Generally, the magnet proofing period is 7-14 days, and the magnet is replaced by the magnet generating coil in the embodiment, so that the magnet proofing step can be omitted, the testing time period is shortened, and the production progress is ensured.
It will be appreciated that both of the foregoing adjustment schemes may be used simultaneously to effect adjustment of the amount of change in magnetic flux through the hall element 121, or one implementation may be adopted.
For example, when the mounting positions of the magnetic element 111 and the hall element 121 are fixed, it is possible to obtain an optimal target magnetic flux by adjusting the current passing through the magnetic element 111 until the relative distance satisfies a preset standard distance condition, and customize the magnet applied to the notebook computer based on the target magnetic flux;
When the type of the magnet applied to the notebook computer is fixed, the optimal installation positions of the magnet 111 and the hall element 121 can be obtained by adjusting the distance between the installation positions of the magnet 111 and the hall element 121 and the rotation axis until the relative distance satisfies the preset standard distance condition, and installing the magnet and the hall sensor in the notebook computer based on the installation positions.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (5)

1. A detection distance test method of electronic equipment is characterized in that a screen opening and closing simulation mechanism is provided, comprising: a first rotating part provided with a magnetic element, and a second rotating part provided with a hall element, the first rotating part being drivable to rotate relative to the second rotating part;
the test method comprises the following steps:
in a magnetic field functional area formed by the magnetic element, the first rotating part and the second rotating part are made to rotate relatively until the magnetic flux acting on the Hall element changes to a switching trigger threshold value of the Hall element;
when the magnetic flux acting on the Hall element changes to a switching trigger threshold value of the Hall element, acquiring the relative distance between the reference positions on the first rotating part and the second rotating part;
judging whether the relative distance meets a preset standard distance condition or not, and obtaining a judging result;
The switching trigger threshold value of the Hall element comprises a wake-up threshold value and a sleep threshold value, and when the magnetic flux passing through the Hall element reaches the wake-up threshold value or the sleep threshold value, the level state output by the Hall element is switched;
The relative rotation between the first rotating part and the second rotating part is formed until the magnetic flux acting on the Hall element changes to a switching trigger threshold value of the Hall element, and the relative rotation comprises the following steps:
Opening the first rotating portion relative to the second rotating portion until a magnetic flux passing through the hall element changes to a wake-up threshold value; or (b)
Closing the first rotating portion relative to the second rotating portion until a magnetic flux passing through the hall element changes to a sleep threshold value;
the judging whether the relative distance meets the preset standard distance condition comprises the following steps:
When the magnetic flux passing through the Hall element reaches a wake-up threshold value, judging whether the relative distance meets a preset wake-up distance condition;
when the magnetic flux passing through the Hall element reaches a sleep threshold value, judging whether the relative distance meets a preset sleep distance condition;
And adjusting the unit variation of the magnetic flux acting on the Hall element when the first rotating part and the second rotating part form relative rotation according to the judging result until the relative distance meets the preset standard distance condition.
2. The method according to claim 1, wherein adjusting the unit change amount of the magnetic flux acting on the hall element when the first rotating portion and the second rotating portion are rotated relative to each other comprises:
the distance between the mounting positions of the magnetic element and the hall element and the rotation axis is adjusted.
3. The method for testing the detection distance of the electronic device according to claim 1, wherein the magnetic element is a magneto coil;
The test method further comprises the following steps:
Controlling the magnetic element to generate target magnetic flux to form a magnetic field functional area;
The adjusting the unit change amount of the magnetic flux acting on the hall element when the first rotating portion and the second rotating portion are rotated relatively to each other further includes:
the current through the magnetic element is adjusted to increase or decrease the target magnetic flux.
4. A detection distance testing apparatus for an electronic device, configured to implement the detection distance testing method for an electronic device according to any one of claims 1 to 3, comprising:
the screen opening and closing simulation mechanism;
The control unit is connected with the screen opening and closing simulation mechanism and is used for enabling the first rotating part and the second rotating part to form relative rotation in a magnetic field functional area formed by the magnetic elements until the magnetic flux acting on the Hall element changes to a switching trigger threshold value of the Hall element;
An acquisition unit configured to acquire a relative distance between reference positions on the first rotating portion and the second rotating portion when a magnetic flux acting on the hall element changes to a switching trigger threshold value of the hall element;
the judging unit is used for judging whether the relative distance meets the preset standard distance condition or not and obtaining a judging result;
The switching trigger threshold value of the Hall element comprises a wake-up threshold value and a sleep threshold value, and when the magnetic flux passing through the Hall element reaches the wake-up threshold value or the sleep threshold value, the level state output by the Hall element is switched;
The control unit is further configured to:
Opening the first rotating portion relative to the second rotating portion until a magnetic flux passing through the hall element changes to a wake-up threshold value; or (b)
Closing the first rotating portion relative to the second rotating portion until a magnetic flux passing through the hall element changes to a sleep threshold value;
the judging unit is used for:
when the magnetic flux passing through the Hall element changes to a wake-up threshold value, judging whether the relative distance meets a preset wake-up distance condition;
when the magnetic flux passing through the Hall element changes to a sleep threshold value, judging whether the relative distance meets a preset sleep distance condition;
The detection distance testing device of the electronic equipment further comprises an adjusting unit, wherein the adjusting unit is used for:
And adjusting the unit variation of the magnetic flux acting on the Hall element when the first rotating part and the second rotating part form relative rotation according to the judging result until the relative distance meets the preset standard distance condition.
5. The detecting distance testing device for electronic equipment according to claim 4, wherein,
The magnetic element is a magneto coil; the control unit is used for controlling the magnetic element to generate target magnetic flux so as to form a magnetic field functional area;
The magnetic element and the Hall element are respectively and slidably arranged on the sliding rails of the first rotating part and the second rotating part;
The adjusting unit is used for:
according to the judging result, the magnetic element and the Hall element slide on the sliding rail so as to adjust the distance between the installation positions of the magnetic element and the Hall element and the rotating shaft; and/or
The current through the magnetic element is adjusted to increase or decrease the target magnetic flux.
CN202111129889.XA 2021-09-26 2021-09-26 Detection distance testing method and device for electronic equipment Active CN113804237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111129889.XA CN113804237B (en) 2021-09-26 2021-09-26 Detection distance testing method and device for electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111129889.XA CN113804237B (en) 2021-09-26 2021-09-26 Detection distance testing method and device for electronic equipment

Publications (2)

Publication Number Publication Date
CN113804237A CN113804237A (en) 2021-12-17
CN113804237B true CN113804237B (en) 2024-08-30

Family

ID=78938546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111129889.XA Active CN113804237B (en) 2021-09-26 2021-09-26 Detection distance testing method and device for electronic equipment

Country Status (1)

Country Link
CN (1) CN113804237B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339168A (en) * 2016-08-22 2017-01-18 北京小米移动软件有限公司 Screen control method and device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4394544B2 (en) * 2004-09-03 2010-01-06 シャープ株式会社 Portable information equipment
TWI260921B (en) * 2005-04-22 2006-08-21 Su-Ching Yiu Mobile communication apparatus with rotatable display screen
EP3240268B1 (en) * 2015-01-20 2019-06-26 Huawei Technologies Co. Ltd. Terminal control method and terminal
CN106292846A (en) * 2015-05-22 2017-01-04 中兴通讯股份有限公司 Electronic equipment, protection overlap and are applied to the method renovating detection of electronic equipment
EP3531229B1 (en) * 2016-11-03 2022-11-16 Huawei Technologies Co., Ltd. Prevention of protective case turning screen off by mistake in terminal using hall sensors
CN109313561B (en) * 2016-11-15 2021-06-22 华为技术有限公司 System loading method and device
CN109302508A (en) * 2017-07-25 2019-02-01 中兴通讯股份有限公司 A kind of method, the method for display control and the terminal of determining double screen relative position
CN112650406A (en) * 2019-10-10 2021-04-13 北京小米移动软件有限公司 Electronic device and electronic device protection system
KR102736799B1 (en) * 2020-02-10 2024-12-02 삼성전자 주식회사 Method and electronic device for activating fingerprint sensor
CN112286599B (en) * 2020-08-20 2024-09-10 北京小米移动软件有限公司 Control method of terminal equipment and terminal equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339168A (en) * 2016-08-22 2017-01-18 北京小米移动软件有限公司 Screen control method and device

Also Published As

Publication number Publication date
CN113804237A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
US6194862B1 (en) Control device for stepper motor, control method for the same, and timing device
CN107763284A (en) The control method of electric expansion valve, control system and control system
CN105423688B (en) A kind of refrigerator door opening angle detection means and refrigerator
CN103048051B (en) Infrared detector non-uniformity correction device
TW200801560A (en) Method and circuit for testing motor
CN107782421B (en) Calibration method for water meter metering threshold value based on nonmagnetic NB-IoT (NB-IoT) internet of things
CN113804237B (en) Detection distance testing method and device for electronic equipment
CN205448470U (en) Refrigerator door opening angle detection device and refrigerator
US11193978B2 (en) Power conversion device, rotating machine system using same, and diagnosis method for same
US11761254B2 (en) Method and device for detecting potential pinches
CN112639247A (en) Tracking position of motorized window treatments
CN107908095B (en) A kind of automatic time synchronization method of wrist-watch based on loop circuit
CN212645631U (en) Valve rotation angle detection device and related equipment
CN103267673B (en) Micro-displacement variation monitor and operation method thereof
CN215718082U (en) Swing door gate machine convenient for adjusting door opening and closing position
CN106443136A (en) Measurement method for in-place swing time of electro-magnetic selector needle selection cutting head of circular weft knitting machine
CN101839716B (en) Electronic compass test system and method
CN207659709U (en) Three Hoare logic locating and detecting devices and washing machine
CN204989445U (en) Output current potential calibrating device
CN110806604A (en) Device and method for calibrating transillumination center of X-ray machine
CN103335851B (en) Full-automatic monitoring meter for changes of micro displacement
CN216979595U (en) Electric spark dotting timer with high accuracy for first point positioning
CN114531068B (en) Method and device for determining opening degree of vehicle window and vehicle
CN105892575A (en) Electronic device and control method thereof
CN107790013A (en) Constant-speed stirring method and device

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