Electronic equipment, electronic equipment accessory and display screen control method
By setting the first coil in the electronic device and setting the magnetic structure in the accessories, and detecting the inductance value of the first coil, the problem of low detection accuracy in the prior art is solved, and higher display control accuracy and lower power consumption are achieved.
Patent Information
- Application Number
- CN202411757919.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2044-12-03
AI Technical Summary
In the prior art, when the electronic device detects the relative state of the protective case and the electronic device, the detection accuracy is low, resulting in a lower accuracy of the control display screen.
A first coil is provided in the electronic device, and a magnetic structure is provided in the electronic device accessories. By detecting the inductance value of the first coil, the excitation signal attenuation period and the resonance frequency, the distance between the magnetic structure and the display screen is judged, and the display screen is controlled to turn on and off.
The accuracy of controlling the display screen based on the relative state of electronic equipment accessories such as protective covers and electronic equipment is improved, the structure of electronic equipment and accessories is simplified, the risk of error detection is reduced, and power consumption is reduced.
Smart Images

Figure CN119694201A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of display screen control, and specifically relates to an electronic device, an electronic device accessory, and a display screen control method. Background Art
[0002] With the continuous development of electronic technology, the screens of current electronic devices are getting bigger and bigger, such as tablets or folding screen mobile phones. Because the large screen will increase the probability of scratches or bumps, the original manufacturers of electronic devices or third-party merchants will specifically produce protective covers to match the electronic devices to protect the screen from bumps.
[0003] With the development of electronic technology, in addition to the basic function of protecting electronic devices, protective covers have also introduced some additional functions. For example, when the user puts the electronic device and the protective cover together, the electronic device will automatically turn off the screen to reduce accidental touches and power consumption. When the user opens the protective cover, the electronic device will automatically light up the screen, that is, the electronic device will automatically detect its relative state with the protective cover to automatically control the screen on and off; the user no longer needs to manually click the power button or other operations to turn the screen on and off, which is more intelligent and user-friendly.
[0004] In the related art, a Hall sensor is usually set in the electronic device, and a magnet is set at the corresponding position of the protective cover. In this way, when the user fastens the electronic device and the protective cover, the magnet approaches and faces the Hall sensor, so that the Hall sensor senses the approach of the magnet, and controls the electronic device to turn off the screen accordingly. However, the Hall sensor is sensitive to soft and hard magnetism. In order to improve the reliability of the detection results, it is necessary to add a magnetic isolation design in the electronic device and the protective cover, which increases the structural complexity of the electronic device and the protective cover; in addition, when other accessories with magnets are close to the electronic device, it may still cause the Hall sensor to mistakenly detect that the protective cover is fastened.
[0005] It can be seen that the electronic device in the related art has a low detection accuracy of the relative state of the protective cover and the electronic device, resulting in a defect of low accuracy in controlling the display screen according to the relative state of the protective cover and the electronic device. Summary of the invention
[0006] The purpose of the embodiments of the present application is to provide an electronic device, an electronic device accessory, and a display screen control method, which can improve the accuracy of controlling the display screen according to the relative state of the electronic device accessories such as a protective cover and the electronic device.
[0007] In a first aspect, an embodiment of the present application provides an electronic device, the electronic device comprising:
[0008] case;
[0009] A display screen, the display screen being mounted on the housing;
[0010] a first coil, the first coil being accommodated in the housing;
[0011] a detection module, the detection module being electrically connected to the first coil and used to detect a first parameter of the first coil, the first parameter comprising at least one of the following: an inductance value, an excitation signal attenuation period, and a resonant frequency; and,
[0012] A control module, the control module is electrically connected to the detection module and the display screen;
[0013] The detection module is used to send the detected first parameter to the control module, and the control module is used to control the display screen to turn on when it is detected that the first parameter satisfies a first condition, and to control the display screen to turn off when it is detected that the first parameter satisfies a second condition, wherein the first parameter satisfying the first condition indicates that the distance between the magnetic structure in the electronic device accessory and the display screen is greater than or equal to a first threshold; the first parameter satisfying the second condition indicates that the distance between the magnetic structure in the electronic device accessory and the display screen is less than or equal to a second threshold; the second threshold is less than the first threshold.
[0014] In a second aspect, an embodiment of the present application provides an electronic device accessory, which is used to be assembled in the electronic device as described in the first aspect, and the electronic device accessory is provided with a magnetic structure;
[0015] Wherein, the assembly mode of the electronic device accessory and the electronic device includes a first mode and a second mode;
[0016] In the first mode, the magnetic structure and the first coil are not arranged opposite to each other, and the distance between the magnetic structure and the first coil is greater than or equal to a first threshold;
[0017] In the second mode, the magnetic structure is arranged opposite to the first coil, and the distance between the magnetic structure and the first coil is less than or equal to a second threshold;
[0018] The second threshold is smaller than the first threshold.
[0019] In a third aspect, an embodiment of the present application provides a display screen control method, which is applied to the electronic device as described in the first aspect, and the method includes:
[0020] Acquire a first parameter of the first coil detected by the detection module, the first parameter including at least one of the following: an inductance value, an excitation signal attenuation period, and a resonant frequency;
[0021] When the first parameter satisfies a first condition, the display screen is controlled to light up by a control module; wherein the first parameter satisfying the first condition indicates that the distance between the magnetic structure in the electronic device accessory and the display screen is greater than or equal to a first threshold;
[0022] When it is detected that the first parameter satisfies the second condition, the control module controls the display screen to turn off; wherein, the first parameter satisfying the second condition indicates that the distance between the magnetic structure in the electronic device accessory and the display screen is less than or equal to a second threshold, and the second threshold is less than the first threshold.
[0023] In the embodiment of the present application, based on the principle that when the magnetic structure is close to the first coil, it will affect the equivalent inductance value of the first coil, a magnetic structure is set in the electronic device accessory, so that when the assembly mode of the electronic device and the electronic device accessory is the first mode, the magnetic structure and the first coil are not arranged directly opposite each other, and the distance between the magnetic structure and the first coil is greater than or equal to the first threshold value, at this time, the equivalent inductance of the first coil is not affected by the magnetic structure or is less affected, and at this time, the display screen is controlled to light up based on the assembly mode of the electronic device and the electronic device accessory being the first mode; when the assembly mode of the electronic device and the electronic device accessory is the second mode, the magnetic structure and the first coil are arranged directly opposite each other, and the distance between the magnetic structure and the first coil is less than or equal to the second threshold value, at this time, the equivalent inductance of the first coil is affected by the magnetic structure, and at this time, the display screen is controlled to turn off based on the assembly mode of the electronic device and the electronic device accessory being the second mode. In this way, based on detecting at least one of the inductance value of the first coil, the attenuation period of the excitation signal, and the resonant frequency, it can accurately reflect whether the equivalent inductance value of the first coil is affected by the magnetic structure in the electronic device accessory, and can improve the accuracy of controlling the display screen according to the relative state of the electronic device accessories such as the protective cover and the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is one of the structural schematic diagrams of an electronic device and a protective cover in the related art;
[0025] Figure 2 This is the second structural schematic diagram of an electronic device and a protective cover in the related art;
[0026] Figure 3a It is one of the schematic diagrams when the assembly mode of the electronic device and the electronic device accessories in the embodiment of the present application is the first mode;
[0027] Figure 3b This is a second schematic diagram of the electronic device and the electronic device accessories in the embodiment of the present application when the assembly mode is the first mode;
[0028] Figure 4is a schematic diagram of the circuit structure of the detection module and the control module in the electronic device in the embodiment of the present application;
[0029] Figure 5 It is one of the schematic diagrams of the natural decay of the oscillation waveform of the LC resonant circuit formed by the capacitor and the first coil;
[0030] Figure 6 This is the second schematic diagram of the natural decay of the oscillation waveform of the LC resonant circuit formed by the capacitor and the first coil;
[0031] Figure 7 is a schematic diagram of the calibration process of the first decay period and the second decay period;
[0032] Figure 8 It is a flow chart of a display screen control method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0034] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0035] like Figure 1As shown, in the related art, electronic devices such as mobile phones and tablet computers have matching protective covers. In order to realize the purpose of unfolding the protective cover to wake up the display screen of the electronic device, and closing the protective cover to close the display screen of the electronic device, a Hall sensor 101 is set inside the electronic device 100, and a magnet 201 is set inside the protective cover 200. When the protective cover 200 is fastened to the display screen of the electronic device 100, the magnet 201 is arranged opposite to the Hall sensor 101. At this time, the Hall sensor 101 is affected by the magnetic field of the magnet 201 and detects that the magnet 201 is approaching, based on which it can be judged that the protective cover 200 is fastened to the display screen of the electronic device 100; when the protective cover 200 is unfolded, the distance between the magnet 201 and the Hall sensor 101 increases. At this time, the Hall sensor 101 is not affected by the magnetic field of the magnet 201, that is, the magnet 201 is not detected to be approaching, based on which it can be judged that the protective cover 200 is not fastened to the electronic device 100.
[0036] However, the Hall sensor 101 in the related art is sensitive to soft and hard magnetism, so it is necessary to design a magnetic isolation between the Hall sensor 101 and the magnetic structure around it, which increases the difficulty of designing the whole machine. In addition, when the protective cover 200 is buckled onto the back cover of the electronic device in the opposite direction, the Hall sensor 101 can also be affected by the magnetic field of the magnet 201, thereby erroneously detecting that the protective cover 200 is buckled onto the display screen of the electronic device 100. At this time, the display screen will be abnormally turned off. Moreover, when an accessory with a magnet is close to the electronic device, it may still cause the Hall sensor 101 to mistakenly detect that the protective cover 200 is buckled onto the display screen of the electronic device 100.
[0037] In the related art, there is another way to detect the relative state between the protective cover and the electronic device, that is, to detect the mutual capacitance or self capacitance of the touch screen. Figure 2 As shown, the protective cover 200 is provided with a single or multiple specific trigger matrices 202. When the touch screen is detected to be triggered by a large area or a specific position or a specific matrix triggering the capacitive screen through the mutual capacitance or self-capacitance of the touch screen, it can be determined that the electronic device 100 and the protective cover 200 are buckled, otherwise it is determined that the electronic device 100 and the protective cover 200 are unfolded. When the display screen is a resistive screen, the trigger matrix 202 is a special concave-convex matrix; when the display screen is a capacitive screen, the trigger matrix 202 is a high-low dielectric material matrix.
[0038] However, the above-mentioned touch screen detection and triggering matrix 202 method in the related art needs to ensure that the touch screen is continuously powered on and detected, which causes power waste, affects the positive electrode endurance, and accelerates the aging of touch screen related components; when there is a gap between the touch screen and the protective cover 200 or high dielectric constant foreign matter such as metal or liquid, the detection method is inaccurate or even ineffective; when a protective film is applied to the touch screen, the accuracy of the detection method will be reduced or even fail.
[0039] In the embodiment of the present application, a first coil is provided in the electronic device, and a magnetic structure is provided in the electronic device accessory. When the magnetic structure on the electronic device accessory is close to the first coil, the inductance value, excitation signal attenuation period and resonant frequency of the first coil can be affected. By detecting the first parameter of the first coil by the detection module, the change in the distance between the first coil and the magnetic structure can be determined. In this way, when the distance between the magnetic structure in the electronic device accessory and the display screen is greater than or equal to a first threshold value, the display screen can be controlled to light up, such as when the protective cover is not fastened on the display screen, the display screen can be controlled to light up; when the distance between the magnetic structure in the electronic device accessory and the display screen is less than or equal to a second threshold value, the display screen can be controlled to turn off, such as when the protective cover is fastened on the display screen. Compared with the embodiment of the present application, Figure 1 For the scheme shown, there is no need to perform magnetic isolation design on the first coil and the magnetic structure on the electronic device accessory, so that the structural complexity of the electronic device and the electronic device accessory can be simplified, and the change of the first parameter is related to the relative position of the magnetic structure on the electronic device accessory and the first coil, the size and type of the magnetic structure, etc., which can greatly reduce the risk of false detection that the distance between the magnetic structure in the electronic device accessory and the display screen is less than or equal to the second threshold when other accessories with magnets are close to the electronic device. Therefore, based on detecting at least one of the inductance value of the first coil, the attenuation period of the excitation signal, and the resonant frequency, it can accurately reflect whether the equivalent inductance value of the first coil is affected by the magnetic structure in the electronic device accessory, and can improve the accuracy of controlling the display screen according to the relative state of the electronic device accessories such as protective covers and the electronic device.
[0040] Compared to Figure 2 As for the scheme shown, in the embodiment of the present application, there is no need to keep the display screen powered on and continuously tested at all times, which can reduce the power consumption of the electronic device and delay the aging of the display screen components.
[0041] The electronic device, electronic device accessories and display screen control method provided in the embodiments of the present application are described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0042] See also Figure 3a , the electronic device provided in the embodiment of the present application includes:
[0043] Shell 1;
[0044] A display screen 2, the display screen 2 is assembled on the housing 1;
[0045] A first coil 3, the first coil 3 is accommodated in the housing 1;
[0046] A detection module 4, which is electrically connected to the first coil 3 and is used to detect a first parameter of the first coil 3, wherein the first parameter includes at least one of the following: an inductance value, an excitation signal attenuation period, and a resonant frequency; and,
[0047] A control module 5, the control module 5 is electrically connected to the detection module 4 and the display screen 2;
[0048] Among them, the detection module 4 is used to send the detected first parameter to the control module 5, and the control module 5 is used to control the display screen 2 to light up when it is detected that the first parameter meets the first condition, and to control the display screen 2 to turn off when it is detected that the first parameter meets the second condition. Among them, the first parameter satisfying the first condition indicates that the distance between the magnetic structure 61 in the electronic device accessory 6 and the display screen 2 is greater than or equal to the first threshold; the first parameter satisfying the second condition indicates that the distance between the magnetic structure 61 in the electronic device accessory 6 and the display screen 2 is less than or equal to the second threshold; the second threshold is less than the first threshold.
[0049] In some embodiments, the electronic device accessory 6 may include electronic device accessories that are compatible with the electronic device, such as a protective cover, a detachable keyboard, etc., which are not exhaustive here. For the sake of ease of explanation, the electronic device accessory 6 is generally taken as a protective cover as an example in the embodiments of the present application, and no specific limitation is constituted here.
[0050] In some embodiments, taking the electronic device accessory 6 including a protective cover as an example, the distance between the magnetic structure 61 in the electronic device accessory 6 and the display screen 2 is greater than or equal to a first threshold value, and the protective cover may be changed from a state of being snapped with the display screen 2 to a state of being unfolded. At this time, the distance between the magnetic structure 61 on the protective cover and the display screen 2 increases until it is greater than or equal to the first threshold value.
[0051] In some embodiments, taking the electronic device accessory 6 including a protective cover as an example, the distance between the magnetic structure 61 in the electronic device accessory 6 and the display screen 2 is less than or equal to the second threshold value, and the protective cover may be transformed from an unfolded state to a state engaged with the display screen 2. At this time, the distance between the magnetic structure 61 on the protective cover and the display screen 2 decreases until it is less than or equal to the second threshold value.
[0052] In some embodiments, the magnetic structure 61 in the electronic device accessory 6 can be set in the second area of the electronic device accessory 6, and the second area is the area on the electronic device accessory 6 that is directly opposite to the first coil 3 when the electronic device accessory 6 is buckled with the display screen 2. In this way, the second threshold value can be approximately equal to 0 mm, such as 0.1 mm, 0.2 mm or 0.5 mm. The first threshold value can be a value greater than the second threshold value, such as 1 mm, 2 mm, etc., and the specific values of the first threshold value and the second threshold value are not specifically limited here.
[0053] In some embodiments, the detection module 4 may detect the first parameter of the first coil 3 once or at least twice.
[0054] When the detection module 4 detects the first parameter of the first coil 3 at least twice, the control module 5 can judge the distance change trend between the magnetic structure 61 and the first coil 3 based on the at least two first parameters continuously detected by the detection module 4, and control the display screen 2 to turn off when the distance between the magnetic structure 61 and the first coil 3 decreases until it is less than or equal to the second threshold; and control the display screen 2 to turn on when the distance between the magnetic structure 61 and the first coil 3 increases until it is greater than or equal to the first threshold.
[0055] Taking the electronic device accessory 6 as a protective cover as an example, this embodiment can improve the accuracy of controlling the display screen 2 to turn on or off based on the user's flipping operation of the protective cover.
[0056] In some embodiments, the magnetic structure 61 in the electronic device accessory 6 can be a magnet or a coil, which is not specifically limited here.
[0057] It is worth mentioning that different types of magnetic structures 61 have different effects on the first parameter of the first coil 3 when they are close to the first coil 3 .
[0058] For example: Figure 5 As shown, when the magnetic structure 61 is a magnet, the closer the magnet is to the first coil 3, the easier it is for the first coil 3 to saturate, that is, the equivalent inductance of the first coil 3 will be smaller, the oscillation frequency of the first coil 3 will be higher, and the attenuation period of the excitation signal of the first coil 3 will be shorter.
[0059] Another example: Figure 6 As shown, when the magnetic structure 61 is the second coil, the closer the second coil is to the first coil 3, because of the mutual inductance phenomenon, the greater the equivalent inductance of the first coil 3 will be, the lower the oscillation frequency of the first coil 3 will be, and the longer the attenuation period of the excitation signal of the first coil 3 will be.
[0060] It should be noted that the excitation signal attenuation period in the embodiment of the present application can be that after the excitation pulse signal is applied to the circuit where the first coil 3 is located, the power in the circuit where the first coil 3 is located oscillates and attenuates. The interval time from the beginning of oscillation of the circuit where the first coil 3 is located until the power decays to 0 is the excitation signal attenuation period.
[0061] In some embodiments, the first condition and the second condition are related to the type of the first parameter, and the size, type, etc. of the magnetic structure 61 in the electronic device accessory 6. In some embodiments, when the type of the first parameter and the size, type, etc. of the magnetic structure 61 are determined, the control module 5 can configure a threshold value related to the first parameter in the first condition and the second condition, so as to compare the first parameter actually detected by the detection module 4 with the corresponding threshold values in the first condition and the second condition, and determine whether the first parameter actually detected by the detection module 4 meets the first condition or the second condition according to the comparison result.
[0062] For example, when the magnetic structure 61 in the electronic device accessory 6 includes a magnet, the first parameter satisfies the first condition including at least one of the following:
[0063] The inductance value of the first coil is greater than or equal to a first inductance threshold;
[0064] The attenuation period of the excitation signal of the first coil is greater than or equal to the third attenuation period;
[0065] The resonant frequency of the first coil is less than or equal to a first frequency threshold;
[0066] And / or, the first parameter satisfies the second condition including at least one of the following:
[0067] The inductance value of the first coil is less than or equal to a second inductance threshold;
[0068] The attenuation period of the excitation signal of the first coil is less than or equal to the fourth attenuation period;
[0069] The resonant frequency of the first coil is greater than or equal to a second frequency threshold;
[0070] The first inductance threshold is greater than the second inductance threshold; the third attenuation period is greater than the fourth attenuation period, and the first frequency threshold is less than the second frequency threshold.
[0071] Among them, the first inductance threshold, the third attenuation period, and the first frequency threshold may be standard values detected in advance when the distance between the magnet in the electronic device accessory 6 and the display screen 2 is greater than or equal to the first threshold; the second inductance threshold, the fourth attenuation period, and the second frequency threshold may be standard values detected in advance when the distance between the magnet in the electronic device accessory 6 and the display screen 2 is less than or equal to the second threshold. For example: standard values detected in advance at the factory stage, or standard values detected in advance at the power-on initialization stage, or standard values detected based on the setting operation performed by the user in advance.
[0072] For another example, when the magnetic structure 61 in the electronic device accessory 6 includes a second coil, the first parameter satisfies the first condition including at least one of the following:
[0073] The inductance value of the first coil is less than or equal to a third inductance threshold;
[0074] The attenuation period of the excitation signal of the first coil is less than or equal to the fifth attenuation period;
[0075] The resonant frequency of the first coil is greater than or equal to a third frequency threshold;
[0076] And / or, the first parameter satisfies the second condition including at least one of the following:
[0077] The inductance value of the first coil is greater than or equal to a fourth inductance threshold;
[0078] The attenuation period of the excitation signal of the first coil is greater than or equal to the sixth attenuation period;
[0079] The resonant frequency of the first coil is less than or equal to a fourth frequency threshold;
[0080] Among them, the third inductance threshold is smaller than the fourth inductance threshold; the fifth attenuation period is smaller than the sixth attenuation period, and the third frequency threshold is larger than the fourth frequency threshold.
[0081] Among them, the third inductance threshold, the fifth attenuation period, and the third frequency threshold may be standard values detected in advance when the distance between the second coil in the electronic device accessory 6 and the display screen 2 is greater than or equal to the first threshold; the fourth inductance threshold, the sixth attenuation period, and the fourth frequency threshold may be standard values detected in advance when the distance between the second coil in the electronic device accessory 6 and the display screen 2 is less than or equal to the second threshold. For example: standard values detected in advance at the factory stage, or standard values detected in advance at the power-on initialization stage, or standard values detected based on the setting operation performed by the user in advance.
[0082] In some embodiments, in order to realize the function of detecting the inductance value, the excitation signal attenuation period, and the resonant frequency, the detection module 4 may include a detection circuit electrically connected to the first coil 3 .
[0083] For example: Figure 4 As shown, the detection module 4 includes: a parameter detection unit 41, a power circuit 42, a capacitor 43, a first resistor R1, and a second resistor R2;
[0084] A first end of the first coil 3 is electrically connected to a first end of the power circuit 42, a second end of the first coil 3 is electrically connected to a first end of the capacitor 43 and a first end of the first resistor R1, a second end of the first resistor R1 is grounded via a second resistor R2, and a second end of the capacitor 43 is electrically connected to a second end of the power circuit 42;
[0085] The third terminal of the power circuit 42 is electrically connected to the first terminal of the control module 5;
[0086] A first end of the parameter detection unit 41 is electrically connected to a second end of the control module 5 , and a second end of the parameter detection unit 41 is electrically connected to a second end of the first resistor R1 ;
[0087] Among them, the control module 5 is used to control the power circuit 42 to send an excitation signal to the first coil 3, the first coil 3 and the capacitor 43 constitute an LC resonant circuit, and the first resistor R1 and the second resistor R2 constitute the parasitic resistance of the LC resonant circuit; the parameter detection unit 41 is used to detect the first parameter and send the detected first parameter to the control module 5.
[0088] In some embodiments, the parameter detection unit 41 can detect at least one of the electrical signals such as power, current, and voltage at the second end of the first resistor R1, and determine and analyze the oscillation waveform, excitation signal attenuation period, etc. of the LC resonant circuit based on the electrical signal, and finally determine the first parameter based on the oscillation waveform and excitation signal attenuation period of the LC resonant circuit, and send the first parameter to the control module 5.
[0089] For example, the parameter detection unit 41 can detect the first time when the power at the second end of the first resistor R1 decays to 0, and use the interval time between the first time and the second time when the power circuit 42 sends the excitation signal to the first coil 3 as the excitation signal decay period in the first parameter.
[0090] For another example, the parameter detection unit 41 can detect the excitation signal attenuation period during which the power at the second end of the first resistor R1 decays from the peak value to 0, and calculate the resonant frequency of the LC resonant circuit according to the excitation signal attenuation period, and use the resonant frequency as the first parameter, or the inductance value of the first coil 3 can be calculated based on the following formula to use the inductance value as the first parameter:
[0091]
[0092] Wherein, f represents the resonant frequency of the LC resonant circuit; L represents the inductance value of the first coil 3; and C represents the capacitance value of the capacitor.
[0093] In other embodiments, the parameter detection unit 41 can detect at least one of the electrical signals such as power, current, and voltage at the second end of the first resistor R1, and send the detected electrical signal to the control module 5, and the control module 5 analyzes and calculates based on the electrical signal to obtain the first parameter.
[0094] For example: the parameter detection unit 41 can detect the first time when the power at the second end of the first resistor R1 decays to 0, and send the first time to the control module 5. The control module 5 can use the interval time between the first time and the second time when the power circuit 42 sends the excitation signal to the first coil 3 as the excitation signal decay period in the first parameter.
[0095] For another example, the parameter detection unit 41 can detect the excitation signal attenuation period during which the power at the second end of the first resistor R1 decays from the peak value to 0, and send the excitation signal attenuation period to the control module 5. The control module 5 can calculate the resonant frequency of the LC resonant circuit according to the excitation signal attenuation period, and use the resonant frequency as the first parameter. Alternatively, the inductance value of the first coil 3 can also be calculated based on the following formula:
[0096]
[0097] Wherein, f represents the resonant frequency of the LC resonant circuit; L represents the inductance value of the first coil 3; and C represents the capacitance value of the capacitor.
[0098] In this embodiment, the first coil 3 and the capacitor 43 constitute an LC resonant circuit, and the first resistor R1 and the second resistor R2 constitute the parasitic resistance of the LC resonant circuit. When the power circuit 42 provides an excitation pulse signal to the LC resonant circuit, power oscillation occurs in the LC resonant circuit, and based on the existence of the parasitic resistance, the power oscillation in the LC resonant circuit will gradually decay until the power decays to 0. The detection module 4 detects the power change law during the power oscillation attenuation process, and the first parameter can be analyzed based on the power change law during the power oscillation attenuation process.
[0099] In some embodiments, the detection module 4 further includes: a first switch SW1 and a second switch SW2;
[0100] The first switch SW1 is electrically connected between the first end of the first coil 3 and the first end of the power circuit 42;
[0101] The second switch SW2 is electrically connected between the second end of the capacitor 43 and the second end of the power circuit 42;
[0102] When the power circuit 42 sends the excitation signal to the first coil 3 , the first switch SW1 and the second switch SW2 are closed; and when the power circuit 42 completes sending the excitation signal to the first coil 3 , the first switch SW1 and the second switch SW2 are opened.
[0103] In some embodiments, the first switch SW1 may be a single-pole single-throw switch, in which case closing the first switch SW1 indicates that the first end of the first coil 3 is connected to the first end of the power circuit 42, and opening the first switch SW1 indicates that the first end of the first coil 3 is disconnected from the first end of the power circuit 42.
[0104] In some embodiments, the second switch SW2 may be a single-pole single-throw switch, in which case closing the second switch SW2 indicates that the second end of the capacitor 43 is connected to the second end of the power circuit 42, and opening the second switch SW2 indicates that the second end of the capacitor 43 is disconnected from the second end of the power circuit 42.
[0105] In this embodiment, by using the first switch SW1 and the second switch SW2, the electrical connection between the power circuit 42 and the LC resonant circuit can be disconnected when the power circuit 42 completes sending the excitation signal to the first coil 3, thereby reducing the influence of the power circuit 42 on the oscillation power in the LC resonant circuit naturally decaying to 0 through the first electron 44 and the second resistor R2, thereby improving the reliability of the detection result of the detection module 4.
[0106] In some embodiments, Figure 3b As shown, the electronic device is also equipped with a stylus pen 7, and the first coil 3 is a wireless charging coil for the stylus pen.
[0107] In this embodiment, the stylus wireless charging coil can be reused as the first coil 3. Compared with adding a new first coil 3 in the electronic device, the additional space occupied by the first coil 3 in the electronic device can be reduced, which is conducive to the lightweight design of the electronic device.
[0108] It is worth mentioning that in order to realize wireless charging of the stylus in the related technology, the wireless charging module in the electronic device is used as the power transmitting end (TX), and the stylus is used as the power receiving end (RX), wherein the wireless charging module includes a Q value detection unit, which is used to scan the Q value of the stylus charging coil to determine whether the stylus is matched according to the scanning Q value result.
[0109] For example: If both the TX and RX devices of the wireless charger meet the protocol requirements, the workflow is as follows:
[0110] 1. A selection phase for performing scanning Q value pairing using a Q value detection unit;
[0111] 2. Ping stage, used for communication and interaction between TX and RX devices after successful pairing of scanning Q value;
[0112] 3. Identification and configuration, used to identify and configure information such as stylus model and charging specifications based on the communication interaction between TX and RX devices;
[0113] 4. The power transmission receiver is used to transmit power to the stylus through the stylus charging coil according to the identified stylus model, charging specifications and other information.
[0114] For another example: if the TX and RX devices of the wireless charger do not match, the electronic device can periodically wake up the wireless charging module so that the wireless charging module is periodically in the selection stage to achieve periodic scanning of the Q value.
[0115] In some implementations, the Q value detection unit in the stylus wireless charging module may be reused to implement detection of the first parameter.
[0116] For example: the parameter detection unit 41 includes a Q value detection unit, which is used to collect a second parameter of the second end of the first resistor, and determine the decay period of the oscillation waveform of the LC resonant circuit according to the second parameter, wherein the excitation signal decay period includes the decay period of the oscillation waveform of the LC resonant circuit, and the second parameter includes at least one of power, voltage and current.
[0117] In some implementations, the Q value detection unit is a Q value detection unit in a stylus wireless charging module.
[0118] In some embodiments, the Q value detection unit can sample the voltage and current at the second end of the first resistor during the power self-oscillation of the LC oscillation circuit, convert the sampled voltage signal into a square wave signal, perform analog-to-digital conversion and synchronous sampling, calculate the decay period of the oscillation waveform of the LC resonant circuit according to the peak voltage of each peak and the corresponding period number, and determine the first parameter based on the decay period of the oscillation waveform of the LC resonant circuit. For example, when the first parameter includes the decay period of the excitation signal, the decay period of the oscillation waveform of the LC resonant circuit is directly used as the first parameter. Alternatively, when the first parameter includes the inductance value or the oscillation frequency, the first parameter can be obtained based on the decay period analysis of the oscillation waveform of the LC resonant circuit.
[0119] Of course, the Q value detection unit may also detect the first parameter in other ways, which are not specifically limited here.
[0120] In this implementation, the Q value detection unit in the stylus wireless charging module may be reused to implement the detection of the first parameter, which can simplify the structure of the electronic device compared to adding a parameter detection unit 41 in the electronic device.
[0121] Of course, in addition to the above-mentioned method of reusing the stylus wireless charging coil, the first coil 3 can also reuse other coils in the electronic device, such as the coil in the speaker.
[0122] Among them, when the first coil 3 reuses the speaker coil, it is necessary to add a detection module 4 electrically connected to the speaker coil. The detection module 4 can have the same structure and working principle as the detection module 4 in the aforementioned implementation of reusing the stylus wireless charging coil, which will not be repeated here.
[0123] In some embodiments, the control module 5 is used to determine that the first parameter satisfies the first condition when it is determined that the difference between the decay period of the oscillation waveform of the LC resonant circuit and the first decay period is less than or equal to a preset threshold, and the first decay period is the decay period of the first coil 3 when the electronic device accessory 6 is in an unfolded state relative to the display screen 2;
[0124] The control module 5 is used to determine that the first parameter satisfies the second condition when it is determined that the difference between the decay period of the oscillation waveform of the LC resonant circuit and the second decay period is less than or equal to a preset threshold value, and the second decay period is the decay period of the first coil 3 when the electronic device accessory 6 is in a buckled state relative to the display screen 2.
[0125] In some embodiments, the first decay period and the second decay period may be parameters pre-stored before the electronic device leaves the factory.
[0126] For example: at the factory stage, the attenuation periods of the electronic device and the electronic device accessory 6 in the first mode and the second mode can be detected and analyzed, and the first attenuation period is determined according to the analysis results of the attenuation period of the electronic device and the electronic device accessory 6 in the first mode, and the second attenuation period is determined according to the analysis results of the attenuation period of the electronic device and the electronic device accessory 6 in the second mode. In the first mode, the magnetic structure 61 is not directly opposite to the first coil 3, and the distance between the magnetic structure 51 and the first coil 3 is greater than or equal to the first threshold; in the second mode, the magnetic structure 61 is directly opposite to the first coil 3, and the distance between the magnetic structure 61 and the first coil 3 is less than or equal to the second threshold.
[0127] like Figure 7 As shown, the calibration process of the first decay period and the second decay period in the exit stage includes the following steps:
[0128] Step 701: Obtain a decay period in a first mode.
[0129] Step 702: Determine whether the attenuation period in the first mode satisfies a first preset interval.
[0130] If the judgment result of step 702 is "yes", step 704 is executed; otherwise, step 703 is executed.
[0131] It should be noted that the first preset interval is used to exclude the attenuation period that is detected in an abnormal situation and obviously does not meet the requirements from being stored as the first attenuation period.
[0132] For example: According to a large number of statistical results, it can be known that the attenuation period of the electronic device and the electronic device accessory 6 in the first mode is usually between A and B, where A and B are constants; at this time, if it is detected at the factory stage that the attenuation period of the electronic device and the electronic device accessory 6 in the first mode is C, and C is not included in the value range of A to B, it can be determined that the detection result is abnormal.
[0133] Step 703: Eliminate abnormalities.
[0134] In this step, the abnormality can be eliminated manually or automatically, and after the abnormality is eliminated, step 701 is continued to be executed to loop the process of abnormality judgment, abnormality elimination and re-detection of the attenuation period of the electronic device and the electronic device accessory 6 in the first mode when an abnormality is detected in the attenuation period of the electronic device and the electronic device accessory 6 in the first mode until an attenuation period without abnormality is detected.
[0135] Step 704: Store the attenuation period that meets the first preset interval as the first attenuation period.
[0136] Step 705: Use a magnetic structure to approach the first coil 3 to put the electronic device and the electronic device accessories in the second mode.
[0137] Step 706: Obtain the attenuation period in the second mode.
[0138] Step 707: Determine whether the attenuation period in the second mode satisfies a second preset interval.
[0139] If the judgment result of step 707 is "yes", step 709 is executed; otherwise, step 708 is executed.
[0140] It should be noted that the second preset interval is used to exclude the attenuation period that is detected in an abnormal situation and obviously does not meet the requirements from being stored as the second attenuation period.
[0141] For example: According to a large number of statistical results, it can be known that the attenuation period of the electronic device and the electronic device accessory 6 in the second mode is usually between D and E, where D and E are constants; at this time, if it is detected at the factory stage that the attenuation period of the electronic device and the electronic device accessory 6 in the second mode is F, and F is not included in the value range of D to E, it can be determined that the detection result is abnormal.
[0142] Step 708: Eliminate abnormalities.
[0143] In this step, the abnormality can be eliminated manually or automatically, and after the abnormality is eliminated, step 706 is continued to be executed to loop the process of abnormality judgment, abnormality elimination and re-detection of the attenuation period of the electronic device and the electronic device accessory 6 in the second mode when an abnormality is detected in the attenuation period of the electronic device and the electronic device accessory 6 in the second mode until an attenuation period without abnormality is detected.
[0144] Step 709: Store the attenuation period that meets the second preset interval as the second attenuation period.
[0145] Step 710: Calibration successful.
[0146] In this embodiment, based on the first attenuation period and the second attenuation period pre-configured before leaving the factory, it can be determined whether the detected first parameter meets the first condition or the second condition, and then the assembly state of the electronic device accessory relative to the display screen of the electronic device is determined to be an unfolded state or a closed state according to the satisfied conditions.
[0147] In other embodiments, the first decay period and the second decay period may be parameters detected according to user operations after the electronic device leaves the factory.
[0148] For example, taking the electronic device as a mobile phone and the electronic device as a flip-type protective cover, when the user assembles the flip-type protective cover on the mobile phone for the first time, the mobile phone outputs a prompt message "Please flip the protective cover to fit the mobile phone screen" to guide the user to correctly fit the flip-type protective cover on the display screen of the mobile phone, and then detect the first attenuation period of the first coil 3; then, the mobile phone can also output a prompt message "Please open the flip of the protective cover" to guide the user to unfold the flip-type protective cover from the display screen of the mobile phone, and then detect the second attenuation period of the first coil 3.
[0149] In this embodiment, the pre-stored first attenuation period and the second attenuation period can be used to assist in determining whether the attenuation period of the oscillation waveform of the currently detected LC resonant circuit meets the first condition or the second condition, thereby simplifying the complexity of information processing for determining whether the first parameter meets the first condition or the second condition.
[0150] As an optional implementation, Figure 3a As shown, the first coil 3 is disposed in a first area X of the electronic device, and the first area X is an area close to a first side edge 10 of the electronic device;
[0151] The electronic device accessory 6 comprises a flip cover portion 62, which is rotatably connected to the second side edge 20 of the electronic device, and the first side edge 10 and the second side edge 20 are two opposite sides of the electronic device;
[0152] The magnetic structure 61 of the electronic device accessory 6 is disposed on the flip cover 62 , and when the flip cover 62 rotates along the second side 20 to be buckled onto the display screen 2 , the magnetic structure 61 is disposed opposite to the first coil 3 .
[0153] Taking the electronic device accessory as a protective cover as an example, the protective cover has a flip cover portion 62, which can be flipped along the second side 20 of the electronic device so that the flip cover portion 62 can be buckled onto the display screen 2 of the electronic device or onto the back cover of the electronic device.
[0154] In this embodiment, by arranging the first coil 3 in the first area of the electronic device opposite to the second side 20, and arranging the magnetic structure 61 at the position of the flip cover portion 62 corresponding to the first coil 3, the range of change of the distance between the first coil 3 and the magnetic structure 61 can be increased during the process of flipping the flip cover portion 62 along the second side 20 of the electronic device, thereby increasing the sensitivity of the first parameter to reflecting the relative position of the flip cover portion 62 and the electronic device.
[0155] In the embodiment of the present application, based on the principle that the equivalent inductance value of the first coil 3 will be affected when the magnetic structure is close to the first coil 3, a magnetic structure 61 is set in the electronic device accessory 6, so that when the assembly mode of the electronic device and the electronic device accessory 6 is the first mode, the magnetic structure 61 and the first coil 3 are not arranged directly opposite each other, and the distance between the magnetic structure 61 and the first coil 3 is greater than or equal to the first threshold value. At this time, the equivalent inductance of the first coil 3 is not affected by the magnetic structure 61 or is less affected. At this time, the display screen 2 is controlled to be on based on the first mode of the assembly mode of the electronic device and the electronic device accessory 6; when the assembly mode of the electronic device and the electronic device accessory 6 is the second mode, the magnetic structure 61 and the first coil 3 are arranged directly opposite each other, and the distance between the magnetic structure 61 and the first coil 3 is less than or equal to the second threshold value. At this time, the equivalent inductance of the first coil 3 is affected by the magnetic structure. At this time, the display screen 2 is controlled to be off based on the second mode of the assembly mode of the electronic device and the electronic device accessory 6. In this way, based on detecting at least one of the inductance value, the excitation signal attenuation period and the resonant frequency of the first coil 3, it is possible to accurately reflect whether the equivalent inductance value of the first coil 3 is affected by the magnetic structure 61 in the electronic device accessory 6, and to improve the accuracy of controlling the display screen 2 according to the relative state of the electronic device accessories 6 such as the protective cover and the electronic device.
[0156] like Figure 3a or Figure 3b As shown, the embodiment of the present application further provides an electronic device accessory 6, which is used to be assembled in any electronic device provided in the foregoing embodiments of the present application, and a magnetic structure 61 is provided in the electronic device accessory 6;
[0157] The assembly mode of the electronic device accessory 6 and the electronic device includes a first mode and a second mode;
[0158] In the first mode, the magnetic structure 61 is not arranged opposite to the first coil 3, and the distance between the magnetic structure 61 and the first coil 3 is greater than or equal to the first threshold;
[0159] In the second mode, the magnetic structure 61 is arranged opposite to the first coil 3, and the distance between the magnetic structure 61 and the first coil 3 is less than or equal to the second threshold;
[0160] The second threshold is smaller than the first threshold.
[0161] In some embodiments, the electronic device accessory 6 is at least one of an electronic device protective case and an external keyboard.
[0162] In some embodiments, the magnetic structure 61 may be at least one of a magnet and a second coil.
[0163] Of course, the magnetic structure 61 can also be any structure such as an electromagnet that can affect the equivalent inductance of the first coil 3 based on electromagnetic induction. The type of the magnetic structure 61 is not specifically limited here.
[0164] In some embodiments, magnetic structures 61 of different structures or different types have different degrees of influence on the equivalent inductance of the first coil 3 .
[0165] The electronic device accessory 6 provided in the embodiment of the present application may be an accessory that is matched with the electronic device, such as a protective cover, a detachable keyboard, etc. In this way, the structure and type of the magnetic structure 61 in the electronic device accessory 6 that is matched with the electronic device are fixed, so that the first condition and the second condition can be pre-stored in the electronic device at the factory stage, so as to determine whether the assembly mode of the electronic device accessory 6 and the electronic device is the first mode according to the first condition, and to determine whether the assembly mode of the electronic device accessory 6 and the electronic device is the second mode according to the second condition.
[0166] The present application also provides a display screen control method. The execution subject of the display screen control method may be the electronic device provided in the above-mentioned embodiment of the present application. Figure 8 As shown, the display screen control method includes the following steps:
[0167] Step 801: Acquire a first parameter of a first coil detected by a detection module, wherein the first parameter includes at least one of the following: an inductance value, an excitation signal attenuation period, and a resonant frequency;
[0168] Step 802: When the first parameter satisfies a first condition, the display screen is controlled to light up by a control module; wherein the first parameter satisfies the first condition, indicating that the distance between the magnetic structure in the electronic device accessory and the display screen is greater than or equal to a first threshold;
[0169] Step 803: When it is detected that the first parameter satisfies the second condition, the control module is used to control the display screen to turn off; wherein, the first parameter satisfying the second condition indicates that the distance between the magnetic structure in the electronic device accessory and the display screen is less than or equal to a second threshold, and the second threshold is less than the first threshold.
[0170] The display screen control method provided in the embodiment of the present application corresponds to the various functions implemented by the detection module, control module and display screen in the electronic device provided in the aforementioned embodiment of the present application, and can achieve the same beneficial effects as the electronic device provided in the aforementioned embodiment of the present application. To avoid repetition, it will not be described here.
[0171] In some embodiments, the electronic device is equipped with the electronic device accessory provided by the aforementioned embodiment of the present application, and when the magnetic structure in the electronic device accessory includes a magnet:
[0172] The first parameter satisfies the first condition including at least one of the following:
[0173] The inductance value of the first coil is greater than or equal to a first inductance threshold;
[0174] The attenuation period of the excitation signal of the first coil is greater than or equal to the third attenuation period;
[0175] The resonant frequency of the first coil is less than or equal to a first frequency threshold;
[0176] And / or, the first parameter satisfies the second condition including at least one of the following:
[0177] The inductance value of the first coil is less than or equal to a second inductance threshold;
[0178] The attenuation period of the excitation signal of the first coil is less than or equal to the fourth attenuation period;
[0179] The resonant frequency of the first coil is greater than or equal to a second frequency threshold;
[0180] The first inductance threshold is greater than the second inductance threshold; the third attenuation period is greater than the fourth attenuation period, and the first frequency threshold is less than the second frequency threshold.
[0181] In some embodiments, the first inductance threshold, the second inductance threshold, the third attenuation period, the fourth attenuation period, the first frequency threshold, and the second frequency threshold may be configured before leaving the factory, or may be obtained based on a large amount of testing and analysis after leaving the factory, and are not specifically limited herein.
[0182] In this embodiment, the first condition and / or the second condition can be set based on the characteristic that the proximity of the magnet to the first coil will reduce the equivalent inductance of the first coil, increase the oscillation frequency of the first coil, and shorten the attenuation period of the excitation signal of the first coil. This can improve the accuracy of controlling the display screen according to the quantitative relationship between the first parameter and the threshold values in the first condition and the second condition.
[0183] In some embodiments, the electronic device is equipped with the electronic device accessory provided by the aforementioned embodiment of the present application, and when the magnetic structure in the electronic device accessory includes a second coil:
[0184] The first parameter satisfies the first condition including at least one of the following:
[0185] The inductance value of the first coil is less than or equal to a third inductance threshold;
[0186] The attenuation period of the excitation signal of the first coil is less than or equal to the fifth attenuation period;
[0187] The resonant frequency of the first coil is greater than or equal to a third frequency threshold;
[0188] And / or, the first parameter satisfies the second condition including at least one of the following:
[0189] The inductance value of the first coil is greater than or equal to a fourth inductance threshold;
[0190] The attenuation period of the excitation signal of the first coil is greater than or equal to the sixth attenuation period;
[0191] The resonant frequency of the first coil is less than or equal to a fourth frequency threshold;
[0192] Among them, the third inductance threshold is smaller than the fourth inductance threshold; the fifth attenuation period is smaller than the sixth attenuation period, and the third frequency threshold is larger than the fourth frequency threshold.
[0193] In some embodiments, the third inductance threshold, the fourth inductance threshold, the fifth attenuation period, the sixth attenuation period, the third frequency threshold and the fourth frequency threshold may be configured before leaving the factory, or may be obtained based on a large amount of testing and analysis after leaving the factory, and are not specifically limited herein.
[0194] In this embodiment, the first condition and / or the second condition can be set based on the characteristic that the proximity of the second coil to the first coil will increase the equivalent inductance of the first coil, reduce the oscillation frequency of the first coil, and extend the attenuation period of the excitation signal of the first coil. This can improve the accuracy of controlling the display screen according to the quantitative relationship between the first parameter and the threshold values in the first condition and the second condition.
[0195] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned display screen control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0196] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0197] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned display screen control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0198] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0199] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned display screen control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0200] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0201] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0202] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. An electronic device, characterized in that: include: case; A display screen, the display screen being mounted on the housing; a first coil, the first coil being accommodated in the housing; a detection module, the detection module being electrically connected to the first coil and used to detect a first parameter of the first coil, the first parameter comprising at least one of the following: an inductance value, an excitation signal attenuation period, and a resonant frequency; and, A control module, the control module is electrically connected to the detection module and the display screen; The detection module is used to send the detected first parameter to the control module, and the control module is used to control the display screen to turn on when it is detected that the first parameter satisfies a first condition, and to control the display screen to turn off when it is detected that the first parameter satisfies a second condition, wherein the first parameter satisfying the first condition indicates that the distance between the magnetic structure in the electronic device accessory and the display screen is greater than or equal to a first threshold; the first parameter satisfying the second condition indicates that the distance between the magnetic structure in the electronic device accessory and the display screen is less than or equal to a second threshold; the second threshold is less than the first threshold.
2. The electronic device according to claim 1, characterized in that: The detection module includes: a parameter detection unit, a power circuit, a capacitor, a first resistor and a second resistor; The first end of the first coil is electrically connected to the first end of the power circuit, the second end of the first coil is electrically connected to the first end of the capacitor and the first end of the first resistor, the second end of the first resistor is grounded through the second resistor, and the second end of the capacitor is electrically connected to the second end of the power circuit; The third end of the power circuit is electrically connected to the first end of the control module; The first end of the parameter detection unit is electrically connected to the second end of the control module, and the second end of the parameter detection unit is electrically connected to the second end of the first resistor; The control module is used to control the power circuit to send an excitation signal to the first coil, the first coil and the capacitor constitute an LC resonant circuit, and the first resistor and the second resistor constitute a parasitic resistance of the LC resonant circuit; the parameter detection unit is used to detect the first parameter and send the detected first parameter to the control module.
3. The electronic device according to claim 2, characterized in that: The detection module further includes: a first switch and a second switch; The first switch is electrically connected between the first end of the first coil and the first end of the power circuit; The second switch is electrically connected between the second end of the capacitor and the second end of the power circuit; When the power circuit sends an excitation signal to the first coil, the first switch and the second switch are closed; and when the power circuit completes sending the excitation signal to the first coil, the first switch and the second switch are opened.
4. The electronic device according to claim 2 or 3, characterized in that: The electronic device is also equipped with a stylus pen, and the first coil is a wireless charging coil for the stylus pen.
5. The electronic device according to claim 4, characterized in that: The parameter detection unit includes a Q value detection unit, which is used to collect a second parameter of the second end of the first resistor and determine the decay period of the oscillation waveform of the LC resonant circuit according to the second parameter, wherein the excitation signal decay period includes the decay period of the oscillation waveform of the LC resonant circuit, and the second parameter includes at least one of power, voltage and current.
6. The electronic device according to claim 5, characterized in that: The control module is used to determine that the first parameter satisfies the first condition when it is determined that the difference between the decay period of the oscillation waveform of the LC resonant circuit and the first decay period is less than or equal to a preset threshold, and the first decay period is the decay period of the first coil when the electronic device accessory is in an unfolded state relative to the display screen; The control module is used to determine that the first parameter satisfies the second condition when it is determined that the difference between the decay period of the oscillation waveform of the LC resonant circuit and the second decay period is less than or equal to a preset threshold, and the second decay period is the decay period of the first coil when the electronic device accessory is in a buckled state relative to the display screen.
7. The electronic device according to any one of claims 1 to 6, characterized in that: The first coil is disposed in a first area of the electronic device, where the first area is an area close to a first side edge of the electronic device; The electronic device accessory comprises a flip cover portion, the flip cover portion is rotatably connected to a second side edge of the electronic device, the first side edge and the second side edge are two opposite sides of the electronic device; The magnetic structure of the electronic device accessory is arranged on the flip cover, and when the flip cover is rotated along the second side to be buckled on the display screen, the magnetic structure is arranged opposite to the first coil.
8. An electronic equipment accessory, characterized in that: The electronic device accessory is used to be assembled in the electronic device according to any one of claims 1 to 7, and a magnetic structure is provided in the electronic device accessory; Wherein, the assembly mode of the electronic device accessory and the electronic device includes a first mode and a second mode; In the first mode, the magnetic structure and the first coil are not arranged opposite to each other, and the distance between the magnetic structure and the first coil is greater than or equal to a first threshold; In the second mode, the magnetic structure is arranged opposite to the first coil, and the distance between the magnetic structure and the first coil is less than or equal to a second threshold; The second threshold is smaller than the first threshold.
9. A display screen control method, characterized in that: Applied to the electronic device according to any one of claims 1 to 7, the method comprises: Acquire a first parameter of the first coil detected by the detection module, the first parameter including at least one of the following: an inductance value, an excitation signal attenuation period, and a resonant frequency; When the first parameter satisfies a first condition, the display screen is controlled to light up by a control module; wherein the first parameter satisfying the first condition indicates that the distance between the magnetic structure in the electronic device accessory and the display screen is greater than or equal to a first threshold; When it is detected that the first parameter satisfies the second condition, the control module controls the display screen to turn off; wherein, the first parameter satisfying the second condition indicates that the distance between the magnetic structure in the electronic device accessory and the display screen is less than or equal to a second threshold, and the second threshold is less than the first threshold.
10. The method according to claim 9, characterized in that The electronic device is equipped with the electronic device accessory according to claim 8, and in the case where the magnetic structure in the electronic device accessory includes a magnet: The first parameter satisfies the first condition including at least one of the following: The inductance value of the first coil is greater than or equal to a first inductance threshold; The attenuation period of the excitation signal of the first coil is greater than or equal to the third attenuation period; The resonant frequency of the first coil is less than or equal to a first frequency threshold; And / or, the first parameter satisfies the second condition including at least one of the following: The inductance value of the first coil is less than or equal to a second inductance threshold; The attenuation period of the excitation signal of the first coil is less than or equal to the fourth attenuation period; The resonant frequency of the first coil is greater than or equal to a second frequency threshold; The first inductance threshold is greater than the second inductance threshold; the third attenuation period is greater than the fourth attenuation period, and the first frequency threshold is less than the second frequency threshold.
Citation Information
Patent Citations
Flexible display screen assembly and electronic device
CN110515494A
Electronic equipment and control method of electronic equipment
CN111752409A
Control method and device, electronic equipment and readable storage medium
CN112261711A
Screen moving method and device
CN114816311A
Notebook computer
CN209281284U