Electronic device, electronic device accessory, and display screen control method
By setting a first coil inside the electronic device and detecting its inductance value, excitation signal attenuation period, and resonant frequency, the problem of low accuracy in detecting the protective case status of the electronic device is solved, achieving higher precision display control and reduced power consumption.
Patent Information
- Application Number
- CN202411757919.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2044-12-03
AI Technical Summary
In the existing technology, the electronic device has low accuracy in detecting the relative state of the protective case and the electronic device, resulting in insufficient control accuracy of the display screen and the risk of false detection.
A first coil is installed inside the electronic device, and a magnetic structure is installed in the electronic device accessories. The distance between the magnetic structure and the display screen is determined by detecting the inductance value of the coil, the attenuation period of the excitation signal, and the resonant frequency, thereby controlling the brightness of the display screen.
It improves the accuracy of controlling the display screen based on the relative state of electronic accessories such as protective cases and electronic devices, simplifies the device structure, reduces power consumption, and reduces the risk of false detection.
Smart Images

Figure CN119694201B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of display screen control, and particularly relates to an electronic device, an electronic device accessory and a display screen control method. BACKGROUND
[0002] With the continuous development of electronic technology, the screen of the current electronic device is getting larger and larger, such as a tablet computer or a folding screen mobile phone. Because the large screen will increase the probability of scratches or bump damage, the original manufacturer or third-party merchants of the electronic device will produce protective cases matched with the electronic device to protect the screen from being bumped.
[0003] With the development of electronic technology, the protective case not only has the basic function of protecting the electronic device, but also introduces some additional functions. For example, when the user buckles the electronic device and the protective case, the electronic device will automatically turn off the screen to reduce misoperation and power consumption. When the user opens the protective case, the electronic device will automatically turn on the screen. That is, the electronic device automatically detects the relative state of the protective case to automatically control the screen to turn on or off. The user no longer needs to manually click the power key or other operations to turn on or off the screen, which is more intelligent and user-friendly.
[0004] In related technologies, a Hall sensor is usually arranged in the electronic device, and a magnet is arranged at a corresponding position of the protective case. In this way, when the user buckles the electronic device and the protective case, the magnet approaches and faces the Hall sensor, so that the Hall sensor senses the approach of the magnet, and thus controls the electronic device to turn off the screen. However, the Hall sensor has the characteristics of being sensitive to soft and hard magnets. In order to improve the reliability of the detection result, a magnetic separation design needs to be added in the electronic device and the protective case, which increases the structural complexity of the electronic device and the protective case. In addition, when other accessories with magnets approach the electronic device, the Hall sensor may still be misdetected as the protective case being buckled.
[0005] Therefore, the electronic device in the related technology has the defect that the detection accuracy of the relative state of the protective case and the electronic device is low, which causes the accuracy of controlling the display screen according to the relative state of the protective case and the electronic device to be low. SUMMARY
[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 protective case and the electronic device.
[0007] In a first aspect, the embodiments of the present application provide an electronic device, which comprises:
[0008] a housing;
[0009] a display screen, which is arranged in the housing;
[0010] a first coil housed in the shell;
[0011] a detection module electrically connected with the first coil and configured to detect a first parameter of the first coil, the first parameter including at least one of an inductance value, an excitation signal decay period, and a resonance frequency; and
[0012] a control module electrically connected with the detection module and the display screen;
[0013] The detection module is configured to send the detected first parameter to the control module. The control module is configured to control the display screen to be turned on when it is detected that the first parameter satisfies a first condition, and to control the display screen to be turned off when it is detected that the first parameter satisfies a second condition. 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 assemble an electronic device as described in the first aspect. The electronic device accessory is provided with a magnetic structure.
[0015] 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 is not arranged opposite to the first coil, 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 less 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 an electronic device as described in the first aspect. The method includes:
[0020] obtaining a first parameter of a first coil detected by a detection module, the first parameter including at least one of an inductance value, an excitation signal decay period, and a resonance frequency;
[0021] In a case where the first parameter meets a first condition, the display screen is turned on by the control module; wherein the first parameter meeting 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 value.
[0022] In a case where it is detected that the first parameter meets a second condition, the display screen is turned off by the control module; wherein the first parameter meeting 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 value, and the second threshold value is less than the first threshold value.
[0023] In the embodiments of the present application, based on the principle that the magnetic structure close to the first coil will affect the equivalent inductance value of the first coil, the magnetic structure is arranged in the electronic device accessory. When the assembly mode of the electronic device and the electronic device accessory is the first mode, the magnetic structure is not arranged opposite to the first coil, and the distance between the magnetic structure and the first coil is greater than or equal to a first threshold value. At this time, the equivalent inductance of the first coil is not affected or less affected by the magnetic structure. At this time, the display screen is controlled to be turned on 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 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 value. At this time, the equivalent inductance of the first coil is affected by the magnetic structure. At this time, the display screen is controlled to be turned 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 excitation signal decay period and the resonance frequency, it can be accurately reflected whether the equivalent inductance value of the first coil is affected by the magnetic structure in the electronic device accessory, and the accuracy of controlling the display screen according to the relative state of the protective sleeve and the electronic device can be improved. BRIEF DESCRIPTION OF DRAWINGS
[0024] Figure 1 is a structural schematic diagram of an electronic device and a protective sleeve in the related art;
[0025] Figure 2 is a structural schematic diagram of an electronic device and a protective sleeve in the related art;
[0026] Figure 3a is a schematic diagram of the assembly mode of an electronic device and an electronic device accessory in the embodiments of the present application when the assembly mode is the first mode;
[0027] Figure 3b is a schematic diagram of the assembly mode of an electronic device and an electronic device accessory in the embodiments of the present application when the assembly mode is the first mode;
[0028] Figure 4is a circuit structure schematic diagram of a detection module and a control module in an electronic device in the embodiment of the present application;
[0029] Figure 5 is one of natural attenuation schematic diagrams of an oscillation waveform of an LC resonance circuit composed of a capacitor and a first coil;
[0030] Figure 6 is another natural attenuation schematic diagram of an oscillation waveform of an LC resonance circuit composed of a capacitor and a first coil;
[0031] Figure 7 is a calibration process schematic diagram of a first attenuation period and a second attenuation period;
[0032] Figure 8 is a flow chart of a display screen control method provided by the embodiment of the present application. DETAILED DESCRIPTION
[0033] The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.
[0034] The terms "first", "second", and the like 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 exchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", and the like are generally of a kind and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in an "or" relationship.
[0035] As Figure 1As shown, the related art mobile phone, tablet computer and other electronic devices have a matching protective sleeve. In order to achieve the purpose of unfolding the protective sleeve to wake up the display screen of the electronic device, and closing the display screen of the electronic device by buckling the protective sleeve, a Hall sensor 101 is arranged inside the electronic device 100, and a magnet 201 is arranged in the protective sleeve 200. When the protective sleeve 200 is buckled 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 close. Accordingly, it can be judged that the protective sleeve 200 is buckled to the display screen of the electronic device 100; when the protective sleeve 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, it is not detected that the magnet 201 is close. Accordingly, it can be judged that the protective sleeve 200 is not buckled 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 design difficulty of the whole machine. In addition, when the protective sleeve 200 is buckled in the opposite direction to the back cover of the electronic device, the Hall sensor 101 can also be affected by the magnetic field of the magnet 201, thereby causing false detection that the protective sleeve 200 is buckled to the display screen of the electronic device 100. At this time, it will cause the abnormal screen-out of the display screen. Moreover, when the magnet-equipped accessory is close to the electronic device, the Hall sensor 101 may still be falsely detected as the protective sleeve 200 being buckled to the display screen of the electronic device 100.
[0037] In the related art, there is another way to detect the relative state of the protective sleeve and the electronic device, that is, through mutual capacity or self-capacity detection of the touch screen. As shown in Figure 2 As shown, the protective sleeve 200 is provided with a single or multiple specific trigger matrix 202. When the mutual capacity or self-capacity of the touch screen is detected to trigger the large-area or specific position or specific matrix of the capacitive screen, it can be determined that the electronic device 100 is buckled with the protective sleeve 200, otherwise it is determined that the electronic device 100 is unfolded with the protective sleeve 200. When the display screen is a resistance 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 trigger matrix 202 method in the related art requires that the touch screen be continuously powered and detected, resulting in power waste, affecting the positive battery life, and accelerating the aging of the touch screen related components; when there is a gap or metal, liquid and other high dielectric constant foreign matter between the touch screen and the protective sleeve 200, the detection method is inaccurate or even invalid; when the touch screen is pasted with a protective film, the accuracy of the detection method is reduced or even invalid.
[0039] In the embodiment of the present application, the first coil is arranged in the electronic device, the magnetic structure is arranged in the electronic device accessory, and when the magnetic structure on the electronic device accessory approaches the first coil, the inductance value, the excitation signal decay period and the resonance frequency of the first coil can be affected. The first parameter of the first coil is detected by the detection module, and the distance change 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 be turned on, such as when the protective cover is not buckled on the display screen. 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 be turned off, such as when the protective cover is buckled on the display screen. Compared with the scheme shown in Figure 1 The present application embodiment does not need to perform magnetic isolation design on the first coil and the magnetic structure on the electronic device accessory, thereby simplifying the structural complexity of the electronic device and the electronic device accessory. The change of the first parameter is related to the relative position between the magnetic structure on the electronic device accessory and the first coil, the size and type of the magnetic structure, and the like. The risk of false detection caused by other accessories with magnets approaching the electronic device when the distance between the magnetic structure in the electronic device accessory and the display screen is less than or equal to the second threshold value can be greatly reduced. Therefore, based on detecting at least one of the inductance value, the excitation signal decay period and the resonance frequency of the first coil, whether the equivalent inductance value of the first coil is affected by the magnetic structure in the electronic device accessory can be accurately reflected, and the accuracy of controlling the display screen according to the relative state of the protective cover and the electronic device can be improved.
[0040] Compared with the scheme shown in Figure 2 In the embodiment of the present application, the display screen is not always powered on and continuously detected, which can reduce the power consumption of the electronic device and delay the aging of the display screen assembly.
[0041] The electronic device, the electronic device accessory and the display screen control method provided by the embodiment of the present application will be described in detail below in combination with the drawings, specific embodiments and application scenarios.
[0042] Referring to Figure 3a The electronic device provided by the embodiment of the present application comprises:
[0043] A housing 1;
[0044] A display screen 2 is assembled in the housing 1;
[0045] A first coil 3 is accommodated in the housing 1;
[0046] The detection module 4 is electrically connected with the first coil 3 and is configured to detect a first parameter of the first coil 3, the first parameter including at least one of an inductance value, an excitation signal decay period, and a resonance frequency; and
[0047] The control module 5 is electrically connected with the detection module 4 and the display screen 2.
[0048] The detection module 4 is configured to send the detected first parameter to the control module 5, the control module 5 is configured to control the display screen 2 to be on in a case where the first parameter satisfies a first condition, and is configured to control the display screen 2 to be off in a case where the first parameter satisfies a second condition, the first parameter satisfying the first condition indicating 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 a first threshold value, the first parameter satisfying the second condition indicating 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 a second threshold value, the second threshold value being less than the first threshold value.
[0049] In some embodiments, the electronic device accessory 6 can include an electronic device accessory adapted to the electronic device, such as a protective case, a detachable keyboard, and the like, which are not exhaustive. For ease of illustration, the electronic device accessory 6 is generally taken as a protective case in the embodiments of the present application, which does not constitute a specific limitation.
[0050] In some embodiments, taking the electronic device accessory 6 as a protective case, the distance between the magnetic structure 61 in the electronic device accessory 6 and the display screen 2 being greater than or equal to the first threshold value can be that the protective case is changed from a state of being buckled with the display screen 2 to a state of being unfolded, at which time the distance between the magnetic structure 61 on the protective case and the display screen 2 is increased until greater than or equal to the first threshold value.
[0051] In some embodiments, taking the electronic device accessory 6 as a protective case, the distance between the magnetic structure 61 in the electronic device accessory 6 and the display screen 2 being less than or equal to the second threshold value can be that the protective case is changed from an unfolded state to a state of buckling the display screen 2, at which time the distance between the magnetic structure 61 on the protective case and the display screen 2 is reduced until 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 arranged at a second region of the electronic device accessory 6, the second region being a region of the electronic device accessory 6 opposite 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, and the like. The first threshold value can be a value greater than the second threshold value, such as 1 mm, 2 mm, and the like, which does not constitute a specific limitation on the specific values of the first threshold value and the second threshold value.
[0053] In some embodiments, the detection module 4 can detect the first parameter of the first coil 3 once or at least twice.
[0054] In the case where the detection module 4 detects the first parameter of the first coil 3 at least twice, the control module 5 can determine the distance variation trend of the magnetic structure 61 and the first coil 3 according to the at least two first parameters detected by the detection module 4 continuously, 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 value, 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 value.
[0055] Taking the electronic device accessory 6 as a protective cover as an example, the present 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, as shown in FIG. 1, when the magnetic structure 61 is a magnet, the closer the magnet is to the first coil 3, the easier the first coil 3 is to saturate, that is, the smaller the equivalent inductance of the first coil 3, the higher the oscillation frequency of the first coil 3, and the shorter the excitation signal decay period of the first coil 3. Figure 5 For another example, as shown in FIG. 2, when the magnetic structure 61 is a second coil, the closer the second coil is to the first coil 3, the greater the mutual inductance phenomenon occurs, the greater the equivalent inductance of the first coil 3, the lower the oscillation frequency of the first coil 3, and the longer the excitation signal decay period of the first coil 3.
[0059] Figure 6 It should be noted that the excitation signal decay period in the present embodiment can be the interval time from the start of oscillation in the circuit where the first coil 3 is located to the power decay to 0 after applying an excitation pulse signal to the circuit where the first coil 3 is located.
[0060] It should be noted that the excitation signal decay period in the present embodiment can be the interval time from the start of oscillation in the circuit where the first coil 3 is located to the power decay to 0 after applying an excitation pulse signal to the circuit where the first coil 3 is located.
[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, the control module 5 can configure the threshold value related to the first parameter in the first condition and the second condition in the case of determining the type of the first parameter and the size, type, etc. of the magnetic structure 61, so as to compare the first parameter actually detected by the detection module 4 with the corresponding threshold value in the first condition and the second condition according to the comparison result, and determine whether the first parameter actually detected by the detection module 4 meets the first condition or the second condition.
[0062] For example, in the case where the magnetic structure 61 in the electronic device accessory 6 includes a magnet, the first parameter meeting the first condition includes at least one of the following:
[0063] The inductance value of the first coil is greater than or equal to a first inductance threshold value;
[0064] The excitation signal decay period of the first coil is greater than or equal to a third decay period;
[0065] The resonance frequency of the first coil is less than or equal to a first frequency threshold value;
[0066] And / or, the first parameter meeting the second condition includes at least one of the following:
[0067] The inductance value of the first coil is less than or equal to a second inductance threshold value;
[0068] The excitation signal decay period of the first coil is less than or equal to a fourth decay period;
[0069] The resonance frequency of the first coil is greater than or equal to a second frequency threshold value;
[0070] Wherein, the first inductance threshold value is greater than the second inductance threshold value; the third decay period is greater than the fourth decay period, and the first frequency threshold value is less than the second frequency threshold value.
[0071] Wherein, the first inductance threshold value, the third decay period, and the first frequency threshold value can be standard values detected in advance in the case where the distance between the magnet in the electronic device accessory 6 and the display screen 2 is greater than or equal to a first threshold value; the second inductance threshold value, the fourth decay period, and the second frequency threshold value can be standard values detected in advance in the case where the distance between the magnet in the electronic device accessory 6 and the display screen 2 is less than or equal to a second threshold value. For example, standard values detected in advance at the factory stage, or standard values detected in advance at the boot initialization stage, or standard values detected based on a setting operation performed by the user in advance.
[0072] For example, in a case where the magnetic structure 61 in the electronic device accessory 6 includes a second coil, the first parameter satisfying the first condition includes at least one of the following:
[0073] The inductance value of the first coil is less than or equal to a third inductance threshold value;
[0074] The excitation signal decay period of the first coil is less than or equal to a fifth decay period;
[0075] The resonance frequency of the first coil is greater than or equal to a third frequency threshold value;
[0076] And / or, the first parameter satisfying the second condition includes at least one of the following:
[0077] The inductance value of the first coil is greater than or equal to a fourth inductance threshold value;
[0078] The excitation signal decay period of the first coil is greater than or equal to a sixth decay period;
[0079] The resonance frequency of the first coil is less than or equal to a fourth frequency threshold value;
[0080] Wherein, the third inductance threshold value is less than the fourth inductance threshold value; the fifth decay period is less than the sixth decay period, and the third frequency threshold value is greater than the fourth frequency threshold value.
[0081] Wherein, the third inductance threshold value, the fifth decay period, and the third frequency threshold value can be standard values detected in advance in a case where the distance between the second coil in the electronic device accessory 6 and the display screen 2 is greater than or equal to a first threshold value; the fourth inductance threshold value, the sixth decay period, and the fourth frequency threshold value can be standard values detected in advance in a case where the distance between the second coil in the electronic device accessory 6 and the display screen 2 is less than or equal to a second threshold value. For example, standard values detected in advance at a factory stage, or standard values detected in advance at a boot initialization stage, or standard values detected based on a setting operation performed by a user in advance.
[0082] In some embodiments, in order to realize the functions of detecting the inductance value, the excitation signal decay period, and the resonance frequency, a detection circuit electrically connected to the first coil 3 can be included in the detection module 4.
[0083] For example, as shown in FIG. 4, 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. Figure 4
[0084] The first end of the first coil 3 is electrically connected to the first end of the power circuit 42, the second end of the first coil 3 is electrically connected to the first end of the capacitor 43 and the first end of the first resistor R1, the second end of the first resistor R1 is grounded through the second resistor R2, and the second end of the capacitor 43 is electrically connected to the second end of the power circuit 42;
[0085] The third end of the power circuit 42 is electrically connected to the first end of the control module 5;
[0086] The first end of the parameter detection unit 41 is electrically connected to the second end of the control module 5, and the second end of the parameter detection unit 41 is electrically connected to the second end of the first resistor R1;
[0087] The control module 5 is configured to control the power circuit 42 to send an excitation signal to the first coil 3, the first coil 3 and the capacitor 43 form an LC resonance circuit, and the first resistor R1 and the second resistor R2 form a parasitic resistance of the LC resonance circuit; and the parameter detection unit 41 is configured 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 power, current, voltage and other electrical signals of the second end of the first resistor R1, determine the oscillation waveform of the LC resonance circuit, the excitation signal decay period and the like according to the electrical signal, and ultimately determine the first parameter based on the oscillation waveform of the LC resonance circuit and the excitation signal decay period, 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 of the second end of the first resistor R1 decays to 0, and take 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 decay period when the power of the second end of the first resistor R1 decays from the peak value to 0, calculate the resonance frequency of the LC resonance circuit according to the excitation signal decay period, and take the resonance frequency as the first parameter, or also calculate the inductance value of the first coil 3 based on the following formula to take the inductance value as the first parameter:
[0091]
[0092] Wherein, f represents the resonance frequency of the LC resonance circuit; L represents the inductance value of the first coil 3; C represents the capacitance value of the capacitor.
[0093] In some embodiments, the parameter detection unit 41 can detect at least one of the power, current, voltage, or other electrical signal of the second end of the first resistor R1, and send the detected electrical signal to the control module 5, and the control module 5 can analyze and calculate according to the electrical signal to obtain the first parameter.
[0094] For example, the parameter detection unit 41 can detect the first time when the power of the second end of the first resistor R1 decays to 0, and send the first time to the control module 5, and the control module 5 can take 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 decay period when the power of the second end of the first resistor R1 decays from the peak value to 0, and send the excitation signal decay period to the control module 5, and the control module 5 can calculate the resonance frequency of the LC resonance circuit according to the excitation signal decay period, and take the resonance frequency as the first parameter, or also can calculate the inductance value of the first coil 3 based on the following formula:
[0096]
[0097] Wherein, f represents the resonance frequency of the LC resonance circuit; L represents the inductance value of the first coil 3; C represents the capacitance value of the capacitor.
[0098] In the embodiment, the first coil 3 and the capacitor 43 constitute an LC resonance circuit, and the first resistor R1 and the second resistor R2 constitute a parasitic resistance of the LC resonance circuit, when the power circuit 42 provides an excitation pulse signal to the LC resonance circuit, the LC resonance circuit occurs power oscillation, and based on the existence of the parasitic resistance, the power oscillation in the LC resonance circuit will gradually decay until the power decays to 0, by detecting the power change law in the power oscillation decay process by the detection module 4, the first parameter can be analyzed based on the power change law in the power oscillation decay process.
[0099] In some embodiments, the detection module 4 further comprises: 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] Wherein, 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 can be a single-pole single-throw switch, wherein the closing of the first switch SW1 indicates that the first end of the first coil 3 is in communication with the first end of the power circuit 42, and the opening of 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 can be a single-pole single-throw switch, wherein the closing of the second switch SW2 indicates that the second end of the capacitor 43 is in communication with the second end of the power circuit 42, and the opening of 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, reducing the influence of the power circuit 42 on the natural decay of the oscillation power in the LC resonant circuit through the first resistor R1 and the second resistor R2 to 0, and improving the reliability of the detection result of the detection module 4.
[0106] In some embodiments, as shown in FIG. 7, the electronic device is further provided with a stylus 7, and the first coil 3 is a stylus wireless charging coil. Figure 3b
[0107] In this embodiment, the stylus wireless charging coil can be reused as the first coil 3, which can reduce the additional space occupation of the first coil 3 in the electronic device compared to the method of adding a new first coil 3 in the electronic device, and is conducive to the lightweight design of the electronic device.
[0108] It is worth mentioning that in the related art, in order to realize wireless charging of the stylus, a wireless charging module in the electronic device is taken as a power transmitting end (TX), and the stylus is taken as a power receiving end (RX), wherein the wireless charging module includes a Q value detection unit for performing Q value scanning on the stylus charging coil to determine whether the stylus is matched according to the Q value scanning result.
[0109] For example, if the TX and RX devices of the wireless charging meet the protocol requirements, the workflow is roughly as follows:
[0110] 1. Selection stage, for performing Q value scanning pairing using the Q value detection unit;
[0111] 2. Ping phase, used for TX and RX devices to communicate after the Q value pairing is successful;
[0112] 3. Identification and configuration, used for identifying and configuring the information such as the model of the stylus and the charging specification according to the communication between the TX and RX devices;
[0113] 4. Power transmission takeover, used for transmitting power to the stylus through the stylus charging coil according to the identified information such as the model of the stylus and the charging specification.
[0114] For another example, if the TX and RX devices of the wireless charging 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 phase, and the Q value is periodically scanned.
[0115] In some embodiments, the Q value detection unit in the stylus wireless charging module can be reused to detect 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 resonance circuit according to the second parameter, wherein the excitation signal decay period includes the decay period of the oscillation waveform of the LC resonance circuit, and the second parameter includes at least one of power, voltage and current.
[0117] In some embodiments, the above-mentioned Q value detection unit is the Q value detection unit in the stylus wireless charging module.
[0118] In some embodiments, the Q value detection unit can sample the voltage and current of 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, and perform analog-to-digital conversion and synchronous sampling. The decay period of the oscillation waveform of the LC resonance circuit is calculated according to the peak voltage of each wave peak and the corresponding period number, and the first parameter is determined based on the decay period of the oscillation waveform of the LC resonance circuit. For example, if the first parameter includes the excitation signal decay period, the decay period of the oscillation waveform of the LC resonance circuit is directly taken as the first parameter, or if the first parameter includes the inductance value or the oscillation frequency, the first parameter can be obtained based on the decay period of the oscillation waveform of the LC resonance circuit.
[0119] Of course, the Q value detection unit can also detect the first parameter in other ways, which are not limited here.
[0120] In this embodiment, the Q-value detection unit in the wireless charging module of the stylus can be reused to realize the detection of the first parameter. Compared with the method of adding a parameter detection unit 41 to the electronic device, the structure of the electronic device can be simplified.
[0121] Of course, in addition to the above-mentioned method of reusing the wireless charging coil of the stylus, the first coil 3 can also reuse other coils in electronic devices, such as the coil in a speaker.
[0122] When the first coil 3 reuses the speaker coil, a detection module 4 electrically connected to the speaker coil needs to be added. This detection module 4 can have the same structure and working principle as the detection module 4 in the aforementioned implementation of the wireless charging coil for the stylus pen, and will not be described again here.
[0123] In some implementations, the control module 5 is used to determine that the first parameter satisfies the first condition when 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. The first decay period is the decay period of the first coil 3 when the electronic device accessory 6 is in the 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 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. The second decay period is the decay period of the first coil 3 when the electronic device accessory 6 is in a snap-fit state relative to the display screen 2.
[0125] In some implementations, the first decay period and the second decay period may be parameters pre-stored before the electronic device leaves the factory.
[0126] For example, during the manufacturing process, the attenuation period of the electronic device and its accessory 6 in the first and second modes can be detected and analyzed. Based on the analysis results of the detected attenuation period of the electronic device and its accessory 6 in the first mode, the first attenuation period is determined, and based on the analysis results of the detected attenuation period of the electronic device and its accessory 6 in the second mode, the second attenuation period is determined. In the first mode, the magnetic structure 61 and the first coil 3 are not directly opposite each other, and the distance between the magnetic structure 61 and the first coil 3 is greater than or equal to a first threshold. In the second mode, the magnetic structure 61 and the first coil 3 are directly opposite each other, and the distance between the magnetic structure 61 and the first coil 3 is less than or equal to a second threshold.
[0127] like Figure 7 As shown, the calibration process for the first and second attenuation periods during this outgoing phase includes the following steps:
[0128] Step 701, obtain the attenuation period in the first mode.
[0129] Step 702, determine whether the attenuation period in the first mode meets a first preset interval.
[0130] If the determination result of step 702 is "yes", step 704 is performed; otherwise, step 703 is performed.
[0131] It should be noted that the first preset interval is used to exclude obviously undesirable attenuation periods detected in abnormal cases from being stored as the first attenuation period.
[0132] For example, according to a large number of statistical results, it is 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 the attenuation period of the electronic device and the electronic device accessory 6 in the first mode is C detected in the factory stage of the electronic device, and C is not included in the value interval of A to B, it can be determined that the detection result is abnormal.
[0133] Step 703, exclude the abnormality.
[0134] In this step, the abnormality can be excluded manually or automatically, and after the abnormality is excluded, step 701 is continued to be executed, so that the process of abnormality judgment, abnormality exclusion and re-detection of the attenuation period of the electronic device and the electronic device accessory 6 in the first mode is repeatedly executed when the attenuation period of the electronic device and the electronic device accessory 6 in the first mode is detected to be abnormal, until the attenuation period without abnormality is detected.
[0135] Step 704, store the attenuation period meeting the first preset interval as the first attenuation period.
[0136] Step 705, use the magnetic structure to approach the first coil 3, so that the electronic device and the electronic device accessory are 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 meets a second preset interval.
[0139] If the determination result of step 707 is "yes", step 709 is performed; otherwise, step 708 is performed.
[0140] It should be noted that the second preset interval is used to exclude obviously undesirable attenuation periods detected in abnormal cases from being stored as the second attenuation period.
[0141] For example, according to a large number of statistical results, it is known that the decay 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 in the factory stage of an electronic device that the decay 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 interval of D to E, it can be determined that the detection result is abnormal.
[0142] Step 708, excluding the exception.
[0143] In this step, the exception can be excluded manually or automatically, and after excluding the exception, step 706 is continued to be executed to cyclically execute the processes of exception judgment, exception exclusion, and re-detection of the decay period of the electronic device and the electronic device accessory 6 in the second mode when it is detected that the decay period of the electronic device and the electronic device accessory 6 in the second mode is abnormal, until a decay period without exception is detected.
[0144] Step 709, storing the decay period meeting the second preset interval as the second decay period.
[0145] Step 710, calibration success.
[0146] In this embodiment, whether the detected first parameter meets the first condition or the second condition can be judged based on the first decay period and the second decay period configured in advance before factory, and then the assembly state of the electronic device accessory relative to the display screen of the electronic device is determined as the unfolded state or the buckling state according to the met condition.
[0147] In other embodiments, the first decay period and the second decay period can be parameters detected according to user operation after the electronic device is factory.
[0148] For example, taking the electronic device as a mobile phone and the electronic device accessory as a flip protective cover as an example, when the user assembles the flip protective cover on the mobile phone for the first time, the mobile phone outputs the prompt information "Please flip the protective cover to buckle the mobile phone screen", to guide the user to correctly buckle the flip protective cover on the display screen of the mobile phone, and detect the first decay period of the first coil 3; then, the mobile phone can also output the prompt information "Please open the flip of the protective cover", to guide the user to unfold the flip protective cover from the display screen of the mobile phone, and detect the second decay period of the first coil 3.
[0149] In this embodiment, the first decay period and the second decay period stored in advance can be used to assist in judging whether the decay period of the current detected oscillation waveform of the LC resonant circuit meets the first condition or the second condition, which can simplify the information processing complexity of judging whether the first parameter meets the first condition or the second condition.
[0150] As an optional implementation, as shown in Figure 3a The first coil 3 is arranged at a first region X of the electronic device, and the first region X is a region close to the first side edge 10 of the electronic device.
[0151] The electronic device accessory 6 comprises a flip cover 62, which is rotationally connected with the second side edge 20 of the electronic device, and the first side edge 10 and the second side edge 20 are opposite side edges of the electronic device.
[0152] The magnetic structure 61 of the electronic device accessory 6 is arranged on the flip cover 62, and when the flip cover 62 is rotated along the second side edge 20 to be buckled on the display screen 2, the magnetic structure 61 is arranged 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 62, which can be flipped along the second side edge 20 of the electronic device, so that the flip cover 62 can be buckled on the display screen 2 of the electronic device, or buckled on the back cover of the electronic device.
[0154] In this embodiment, by arranging the first coil 3 at the first region of the electronic device opposite to the second side edge 20, and arranging the magnetic structure 61 at the position of the flip cover 62 corresponding to the first coil 3, the range of distance change between the first coil 3 and the magnetic structure 61 during the flipping of the flip cover 62 along the second side edge 20 of the electronic device can be improved, so that the sensitivity of the first parameter to the relative position of the flip cover 62 and the electronic device can be improved.
[0155] In the embodiments of the present application, based on the principle that the magnetic structure close to the first coil 3 will affect the equivalent inductance value of the first coil 3, a magnetic structure 61 is arranged 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 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 a first threshold value, at this time, the equivalent inductance of the first coil 3 is not affected or less affected by the magnetic structure 61, at this time, the display screen 2 is controlled to be bright based on the assembly mode of the electronic device and the electronic device accessory 6 being the first mode; when the assembly mode of the electronic device and the electronic device accessory 6 is 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 a 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 dark based on the assembly mode of the electronic device and the electronic device accessory 6 being the second mode. In this way, based on detecting at least one of the inductance value, the excitation signal decay period and the resonance frequency of the first coil 3, whether the equivalent inductance value of the first coil 3 is affected by the magnetic structure 61 in the electronic device accessory 6 can be accurately reflected, and the accuracy of controlling the display screen 2 according to the relative state of the protective sleeve and the electronic device accessory 6 and the electronic device can be improved.
[0156] As shown in Figure 3a or Figure 3b The embodiments of the present application also provide an electronic device accessory 6, which is used to assemble any electronic device provided by the foregoing embodiments of the present application, and the electronic device accessory 6 is provided with a magnetic structure 61;
[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 a first threshold value;
[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 a second threshold value;
[0160] The second threshold value is less than the first threshold value.
[0161] In some embodiments, the electronic device accessory 6 is at least one of an electronic device protective sleeve and an external keyboard.
[0162] In some embodiments, the magnetic structure 61 can be at least one of a magnet and a second coil.
[0163] Of course, the magnetic structure 61 can also be an electromagnet or any other structure capable of affecting the equivalent inductance of the first coil 3 based on electromagnetic induction, and the type of the magnetic structure 61 is not specifically limited herein.
[0164] In some embodiments, different structures or different types of magnetic structures 61 have different degrees of influence on the equivalent inductance of the first coil 3.
[0165] The electronic device accessory 6 provided by the embodiments of the present application can be an accessory 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 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, 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 embodiments of the present application also provide a display screen control method. The execution subject of the display screen control method can be the electronic device provided by the foregoing embodiments of the present application, such as Figure 8 As shown in the figure, the display screen control method comprises the following steps:
[0167] Step 801: acquiring a first parameter of the first coil detected by the detection module, the first parameter comprising at least one of the following: inductance value, excitation signal decay period, and resonance frequency;
[0168] Step 802: in the case where the first parameter satisfies a first condition, controlling the display screen to be turned on by the 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 value.
[0169] Step 803: in the case where it is detected that the first parameter satisfies a second condition, controlling the display screen to be turned off by the control module; 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 value, and the second threshold value is less than the first threshold value.
[0170] The display screen control method provided by the embodiments of the present application corresponds to the functions of the detection module, the control module, and the display screen in the electronic device provided by the foregoing embodiments of the present application, and can achieve the same beneficial effects as the electronic device provided by the foregoing embodiments of the present application. To avoid repetition, no further description is given herein.
[0171] In some embodiments, the electronic device is equipped with the electronic device accessory provided by the foregoing embodiments of the present application, and in the case where the magnetic structure in the electronic device accessory comprises a magnet:
[0172] The first parameter satisfying the first condition comprises at least one of:
[0173] The inductance value of the first coil is greater than or equal to a first inductance threshold value;
[0174] The excitation signal decay period of the first coil is greater than or equal to a third decay period;
[0175] The resonance frequency of the first coil is less than or equal to a first frequency threshold value;
[0176] And / or, the first parameter satisfying the second condition comprises at least one of:
[0177] The inductance value of the first coil is less than or equal to a second inductance threshold value;
[0178] The excitation signal decay period of the first coil is less than or equal to a fourth decay period;
[0179] The resonance frequency of the first coil is greater than or equal to a second frequency threshold value;
[0180] Wherein, the first inductance threshold value is greater than the second inductance threshold value; the third decay period is greater than the fourth decay period, and the first frequency threshold value is less than the second frequency threshold value.
[0181] In some embodiments, the first inductance threshold value, the second inductance threshold value, the third decay period, the fourth decay period, the first frequency threshold value and the second frequency threshold value can be realized before factory configuration, or obtained after a large number of detection and analysis after factory, which is not limited here.
[0182] In the embodiment, the first condition and / or the second condition can be set based on the characteristics that the magnet close to the first coil will reduce the equivalent inductance of the first coil, increase the oscillation frequency of the first coil, and shorten the excitation signal decay period of the first coil, which 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 foregoing embodiments of the present application, and in the case that the magnetic structure in the electronic device accessory comprises a second coil:
[0184] The first parameter satisfying the first condition comprises at least one of:
[0185] The inductance value of the first coil is less than or equal to a third inductance threshold value;
[0186] The excitation signal decay period of the first coil is less than or equal to a fifth decay period;
[0187] The resonance frequency of the first coil is greater than or equal to a third frequency threshold;
[0188] And / or, the first parameter satisfying the second condition comprises at least one of:
[0189] The inductance value of the first coil is greater than or equal to a fourth inductance threshold;
[0190] The excitation signal decay period of the first coil is greater than or equal to a sixth decay period;
[0191] The resonance frequency of the first coil is less than or equal to a fourth frequency threshold;
[0192] Wherein, the third inductance threshold is less than the fourth inductance threshold; the fifth decay period is less than the sixth decay period, and the third frequency threshold is greater than the fourth frequency threshold.
[0193] In some embodiments, the third inductance threshold, the fourth inductance threshold, the fifth decay period, the sixth decay period, the third frequency threshold and the fourth frequency threshold can be realized before factory configuration, or obtained after a large number of detection and analysis after factory, which is not limited here.
[0194] In the embodiment, the first condition and / or the second condition can be set based on the characteristics that the second coil close to the first coil will increase the equivalent inductance of the first coil, reduce the oscillation frequency of the first coil, and prolong the excitation signal decay period of the first coil, which can improve the accuracy of controlling the display screen according to the quantity relationship between the first parameter and the threshold values in the first condition and the second condition.
[0195] The application further provides a readable storage medium, which stores a program or instructions, and the program or instructions are executed by a processor to realize the processes of the display screen control method embodiments and achieve the same technical effects. To avoid repetition, details are not repeated here.
[0196] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer readable only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0197] The application further provides a chip, which includes a processor and a communication interface. The communication interface is coupled with the processor, and the processor is configured to run a program or instructions to realize the processes of the display screen control method embodiments and achieve the same technical effects. To avoid repetition, details are not repeated here.
[0198] It should be understood that the chip mentioned in the embodiments of the application can also be referred to as a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0199] The embodiment of the present application provides a computer program product, which is stored in a storage medium, and is executed by at least one processor to realize each process of the display screen control method embodiment and achieve the same technical effects. To avoid repetition, details are not described herein.
[0200] It should be noted that, in this document, the terms "comprising", "including", or any other variant thereof are intended to cover a non-exclusive inclusion, so that a process, method, article, or apparatus that comprises a list of elements does not only include those elements, but can also include other elements that are not expressly listed or inherent to such process, method, article, or apparatus. Without more limitations, the element defined by the sentence "comprising a" does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element. In addition, it should be pointed out that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but can also include performing functions in a substantially simultaneous manner or in reverse order, for example, the described method can be performed in an order different from that described, and various steps can also be added, omitted, or combined. In addition, features described with reference to certain examples can be combined in other examples.
[0201] From the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by means of software and a necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a plurality of instructions for making a terminal (which can be a mobile phone, computer, server, or network equipment, etc.) execute the method described in each embodiment of the present application.
[0202] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above specific embodiments, the above specific embodiments are only illustrative, not restrictive, and those skilled in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the protection scope of the claims.
Claims
1. An electronic device, comprising: The electronic device comprises: a shell; a display screen mounted on the shell; a first coil accommodated in the shell; a detection module electrically connected with the first coil and configured to detect a first parameter of the first coil, the first parameter comprising at least one of an inductance value, an excitation signal decay period and a resonance frequency; and a control module electrically connected with the detection module and the display screen; wherein the detection module is configured to send the detected first parameter to the control module, the control module is configured to control the display screen to turn on in a case where the first parameter satisfies a first condition, and to control the display screen to turn off in a case where the first parameter satisfies a second condition, wherein the first parameter satisfying the first condition indicates that a magnetic structure in an electronic device accessory is greater than or equal to a first threshold value from the display screen; the first parameter satisfying the second condition indicates that the magnetic structure in the electronic device accessory is less than or equal to a second threshold value from the display screen; and the second threshold value is less than the first threshold value; the electronic device is further provided with a stylus, and the first coil is a stylus wireless charging coil.
2. The electronic device of claim 1, wherein, The detection module comprises a parameter detection unit, a power circuit, a capacitor, a first resistor and a second resistor. A first end of the first coil is electrically connected with a first end of the power circuit, a second end of the first coil is electrically connected with a first end of the capacitor and a first end of the first resistor, a second end of the first resistor is grounded through the second resistor, and a second end of the capacitor is electrically connected with a second end of the power circuit. A third end of the power circuit is electrically connected with a first end of the control module. A first end of the parameter detection unit is electrically connected with a second end of the control module, and a second end of the parameter detection unit is electrically connected with the second end of the first resistor. The control module is configured to control the power circuit to send an excitation signal to the first coil, the first coil and the capacitor form an LC resonance circuit, and the first resistor and the second resistor form a parasitic resistance of the LC resonance circuit; and the parameter detection unit is configured to detect the first parameter and send the detected first parameter to the control module.
3. The electronic device of claim 2, wherein, The detection module further comprises 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 of claim 2 or 3, wherein, The parameter detection unit comprises a Q value detection unit configured to collect a second parameter of a second end of the first resistor, and determine an attenuation period of an oscillation waveform of the LC resonance circuit according to the second parameter, wherein the excitation signal attenuation period comprises the attenuation period of the oscillation waveform of the LC resonance circuit, and the second parameter comprises at least one of power, voltage and current.
5. The electronic device of claim 4, wherein, The control module is configured to determine that the first parameter satisfies the first condition if a difference between the attenuation period of the oscillation waveform of the LC resonance circuit and a first attenuation period is less than or equal to a preset threshold, the first attenuation period being an attenuation period of the first coil when the electronic device accessory is in an unfolded state relative to the display screen. The control module is configured to determine that the first parameter satisfies the second condition if a difference between the attenuation period of the oscillation waveform of the LC resonance circuit and a second attenuation period is less than or equal to a preset threshold, the second attenuation period being an attenuation period of the first coil when the electronic device accessory is in a buckled state relative to the display screen.
6. The electronic device of any of claims 1-3, wherein, The first coil is arranged in a first region of the electronic device, the first region being a region close to a first side edge of the electronic device. The electronic device accessory comprises a flip portion, the flip portion being rotationally connected to a second side edge of the electronic device, the first side edge and the second side edge being opposite side edges of the electronic device. The magnetic structure of the electronic device accessory is arranged in the flip portion, and when the flip portion is rotated along the second side edge to be buckled on the display screen, the magnetic structure is arranged opposite to the first coil.
7. An electronic device accessory, characterized in that, The electronic device accessory is used to assemble the electronic device as claimed in any one of claims 1 to 6, and a magnetic structure is arranged in the electronic device accessory. The assembly mode of the electronic device accessory and the electronic device comprises a first mode and a second mode. In the first mode, the magnetic structure is not arranged opposite to the first coil, and a 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 less than the first threshold.
8. A display screen control method characterized by, The method is applied to the electronic device as claimed in any one of claims 1 to 6, and the method comprises: obtaining a first parameter of the first coil detected by a detection module, the first parameter comprising at least one of an inductance value, an excitation signal attenuation period and a resonance frequency; controlling the display screen to be bright by a control module if the first parameter satisfies a first condition, the first parameter satisfying the first condition indicating that a distance between a magnetic structure in the electronic device accessory and the display screen is greater than or equal to a first threshold. In a case where it is detected that the first parameter satisfies a second condition, the display screen is controlled to be turned off by the control module; 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 value, and the second threshold value is less than the first threshold value.
9. The method of claim 8, wherein, The electronic device is equipped with the electronic device accessory as claimed in claim 7, and in a case where the magnetic structure in the electronic device accessory comprises a magnet: The first parameter satisfying the first condition comprises at least one of the following: The inductance value of the first coil is greater than or equal to a first inductance threshold value; The excitation signal decay period of the first coil is greater than or equal to a third decay period; The resonance frequency of the first coil is less than or equal to a first frequency threshold value; And / or, the first parameter satisfying the second condition comprises at least one of the following: The inductance value of the first coil is less than or equal to a second inductance threshold value; The excitation signal decay period of the first coil is less than or equal to a fourth decay period; The resonance frequency of the first coil is greater than or equal to a second frequency threshold value; Wherein the first inductance threshold value is greater than the second inductance threshold value; the third decay period is greater than the fourth decay period, and the first frequency threshold value is less than the second frequency threshold value.
Citation Information
Patent Citations
Notebook computer
CN209281284U