An electronic device
By using amorphous oscillator instead of crystal or crystal oscillator in electronic devices, low-power clock management of sensors and wireless modules is achieved, which solves the problem of large power consumption of electronic devices and improves the battery life of the device.
Patent Information
- Application Number
- CN202211673456.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-26
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2042-12-26
AI Technical Summary
Among existing electronic devices, especially wearable devices, the power consumption is large, which affects their battery life. How to achieve low-power electronic devices is an urgent problem to be solved.
By using an amorphous oscillator between the sensor module and the wireless module to generate a clock without using crystals or crystal oscillators, it ensures that the sensor processor module and the wireless processor module operate at different clock frequencies under different working conditions, reducing power consumption.
It effectively reduces the power consumption of the sensor processor module and wireless processor module, thereby greatly reducing the power consumption of the entire electronic device and improving battery life.
Smart Images

Figure CN115877697B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of electronic technology, and in particular to an electronic device. Background Art
[0002] With the development of science and technology, various electronic devices (such as smart watches, wireless headphones, watches and other wearable devices) are being used more and more widely in life.
[0003] At present, more and more sensors are installed in various electronic devices, which also leads to increasing power consumption of electronic devices, thereby affecting the battery life of electronic devices. Therefore, how to achieve low power consumption of electronic devices, especially wearable devices, is an urgent problem to be solved. Summary of the invention
[0004] An embodiment of the present application provides a low-power electronic device, the electronic device comprising:
[0005] Sensor module, sensor processor module, clock module, wireless module;
[0006] When the sensor module is in working state and the wireless module is in sleeping state, the clock module generates a first clock through a first non-crystal oscillator, and the sensor processor module operates at the first clock;
[0007] When the sensor module is in a sleep state, the clock module generates a second clock through a second non-crystal oscillator, and the sensor processor module operates at the second clock, wherein the clock frequency of the second clock is lower than the clock frequency of the first clock.
[0008] In an embodiment of the present application, in order to address the problem of high power consumption when using a crystal or crystal oscillator to generate a clock frequency, it is proposed that when the sensor module is in working state and sleep state, the sensor processor module operates on a clock generated by a non-crystal oscillator without using a crystal or crystal oscillator, thereby effectively reducing the power consumption of the sensor processor module, and further greatly reducing the power consumption of the entire electronic device.
[0009] Optionally, when the wireless module is in working state, the clock module generates a third clock based on the first crystal oscillator, the phase-locked loop, and the high-frequency oscillator, and the wireless module operates on the third clock and its integer-divided clock.
[0010] Optionally, a wireless processor module is also included;
[0011] When the wireless module is in a sleep state, the clock module generates a fourth clock through a second crystal oscillator or a third non-crystal oscillator, the wireless processor module operates at the fourth clock, the clock frequency of the fourth clock is less than the clock frequencies of the third clock and the first clock, and the clock frequency of the first clock is less than the clock frequency of the third clock.
[0012] Optionally, when the wireless module is in working state, the clock module generates a fifth clock based on the first crystal oscillator or the delay locked loop of the first crystal oscillator, the wireless processor module operates on the fifth clock, and the clock frequency of the fifth clock is less than the clock frequency of the third clock and greater than the clock frequency of the fourth clock.
[0013] In the embodiment of the present application, a precise and high-frequency third clock is generated by a crystal oscillator, which ensures that the wireless module smoothly receives and sends wireless signals. When the wireless module is in a sleep state, the wireless processor module operates at a fourth clock with a lower clock frequency, which effectively reduces the power consumption of the electronic device. In addition, when the fourth clock is generated by a non-crystal oscillator, no crystal or crystal oscillator is used, which further reduces the power consumption of the electronic device. In addition, compared with a phase-locked loop, when a delay phase-locked loop is used to generate the fifth clock, there are not only advantages such as no jitter accumulation and a smaller locking time, but also advantages such as low power consumption and low area cost.
[0014] Optionally, the sensor processor module and the wireless processor module belong to the same processor, and when the wireless module is in working state, the sensor processor module and the wireless processor module operate at the fifth clock.
[0015] Optionally, the sensor processor module and the wireless processor module belong to the same processor, and when the wireless module is in a sleep state and the sensor module is in a working state, the sensor processor module and the wireless processor module operate at the first clock.
[0016] Optionally, the sensor processor module and the wireless processor module belong to the same processor, and the wireless module and the sensor module are both in sleep state, and the second clock and the fourth clock belong to the same clock, the sensor processor module and the wireless processor module operate at the second clock or the fourth clock.
[0017] Optionally, when the sensor module is in working state, the clock module generates a sixth clock through a fourth non-crystal oscillator, and the sensor module works at the sixth clock;
[0018] After the sensor module collects sensor data, it periodically wakes up the sensor processor module and transmits the sensor data to the sensor processing module for processing. The sensor processor module operates at the first clock, and the clock frequency of the first clock is greater than the clock frequency of the sixth clock.
[0019] In the embodiment of the present application, when the sensor module is in the working state, it works on the sixth clock generated by the independent fourth non-crystal oscillator, and then periodically wakes up the sensor processor module to process the collected sensor data, and re-enters the dormant state after the processing, so as to avoid the sensor processor module being in the working state for a long time, thereby reducing the power consumption of the sensor processor module. In addition, the sensor module works on the sixth clock with a lower clock frequency, which can reduce the power consumption of the sensor module.
[0020] Optionally, the first crystal oscillator or the second crystal oscillator is used to calibrate the first non-crystal oscillator, the second non-crystal oscillator, the third non-crystal oscillator and the fourth non-crystal oscillator periodically or in a triggered manner.
[0021] In the embodiment of the present application, a crystal oscillator is used to calibrate the non-crystal oscillator to avoid inaccurate clock frequency and drift of the non-crystal oscillator, thereby improving the accuracy of the clock frequency generated by the non-crystal oscillator.
[0022] Optionally, the electronic device is a headset, the sensor module includes a detection circuit, an analog-to-digital conversion module and a plurality of sensors, each sensor is connected to the detection circuit via a channel, the detection circuit is connected to the analog-to-digital conversion module, the plurality of sensors time-division multiplex the analog-to-digital conversion module, and the plurality of sensors include at least one in-ear detection contact;
[0023] When the detection circuit determines that the earphone is in a pre-ear state based on the at least one ear-entry detection contact, the sampling rate of the sensor data output by the analog-to-digital conversion module is controlled to be a first frequency;
[0024] When the detection circuit determines that the earphone is in the ear-inserted state based on the at least one ear-insertion detection contact, the sampling rate of the sensor data output by the analog-to-digital conversion module is controlled to be a second frequency, and the second frequency is greater than the first frequency.
[0025] In an embodiment of the present application, when the earphone is in the pre-in-ear state, a lower sampling rate is used to reduce the power consumption of the sensor module. Moreover, the frequency of waking up the sensor processor module can be reduced, thereby further reducing power consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0027] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0028] Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0029] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0030] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0031] Figure 5 A schematic diagram of the structure of a sensor module provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solution and beneficial effects of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0033] For ease of understanding, the terms involved in the embodiments of the present invention are explained below.
[0034] Crystal oscillator: An oscillator that uses a quartz crystal is called a crystal oscillator and can be used to generate highly stable signals.
[0035] Non-crystal oscillator: including RC oscillator, LC oscillator, etc., among which RC oscillator refers to an oscillator that uses an RC network as a frequency-selective phase-shifting network. LC oscillator refers to a positive feedback oscillator that uses an LC oscillation circuit as a phase-shifting and frequency-selective network.
[0036] Delay-locked Loop (DLL for short).
[0037] See also Figure 1, a structural schematic diagram of an electronic device is provided for an embodiment of the present application. The electronic device may be a wearable device such as a wireless headset, a smart watch, a smart bracelet, an augmented reality (AR) device, a virtual reality (VR) device, or a wireless robot, etc.
[0038] The electronic device 100 at least includes: a sensor module 101, a sensor processor module 102, a clock module 103, and a wireless module 104. When the sensor module 101 is in working state and the wireless module 104 is in sleep state, the clock module 103 generates a first clock through a first non-crystal oscillator, and the sensor processor module 102 operates at the first clock. When the sensor module 101 is in sleep state, the clock module 103 generates a second clock through a second non-crystal oscillator, and the sensor processor module 102 operates at the second clock, and the clock frequency of the second clock is less than the clock frequency of the first clock.
[0039] Specifically, the clock module 103 includes a plurality of clock submodules for generating different clocks. The first non-crystal oscillator and the second non-crystal oscillator are part of the clock module 103, and the first non-crystal oscillator and the second non-crystal oscillator can be RC oscillators. In some embodiments, the first non-crystal oscillator can be multiplexed with a part of the circuit of the second non-crystal oscillator; the first non-crystal oscillator and the second non-crystal oscillator can be the same non-crystal oscillator or two independent non-crystal oscillators.
[0040] It should be noted that the sensor processor module 102 operating at the first clock does not only mean that the clock frequency of the sensor processor module 102 is the clock frequency of the first clock, but also includes that the clock phase of the sensor processor module 102 is the clock phase of the first clock; the same is true for the second clock and subsequent other clocks, which will not be elaborated later.
[0041] In an embodiment of the present application, in order to address the problem of high power consumption when using a crystal or crystal oscillator to generate a clock frequency, it is proposed that when the sensor module is in working state and sleep state, the sensor processor module operates on a clock generated by a non-crystal oscillator without using a crystal or crystal oscillator, thereby effectively reducing the power consumption of the sensor processor module, and further greatly reducing the power consumption of the entire electronic device.
[0042] In some embodiments, when the wireless module 104 is in operation, the clock module 103 generates a third clock based on the first crystal oscillator, the phase-locked loop, and the high-frequency oscillator, and the wireless module 104 operates on the third clock and its integer-divided clock.
[0043] Specifically, the wireless module 104 can be Bluetooth, WIFI, Ultra Wide Band (UWB for short), etc. The wireless module 104 is used to receive and send wireless signals. An accurate clock is required in the process of receiving and sending signals. Therefore, the wireless module 104 generates an accurate third clock through a first crystal oscillator, a phase-locked loop, and a high-frequency oscillator. Since the frequency of receiving and sending wireless signals is often at the GHz level. For example, Bluetooth operates in the 2.4GHz frequency band, and WIFI operates in the 2.4GHz frequency band or the 5.8GHz frequency band. Therefore, the first crystal oscillator, the phase-locked loop, and the high-frequency oscillator need to oscillate at these frequencies so that the wireless module 104 can smoothly receive and send wireless signals. In a specific implementation, the crystal oscillator clock of the first crystal oscillator is used as a reference signal, and an accurate third clock is obtained through a phase-locked loop. The crystal oscillator clock of the first crystal oscillator can generally be 12MHz, 13MHz, 24MHz, 26MHz, etc. Part of the circuits of the wireless module 104 (for example, the analog-to-digital conversion module, the demodulation module) can operate under the divided clock of the third clock. When the working frequency point changes, the clock frequency of the generated third clock may also change accordingly. The clock frequency of the third clock is greater than the clock frequencies of the first clock and the second clock.
[0044] In some embodiments, Figure 2 As shown, the electronic device 100 further includes a wireless processor module 201. When the wireless module 104 is in a sleep state, the clock module 103 generates a fourth clock through the second crystal oscillator or the third non-crystal oscillator, and the wireless processor module 201 operates at the fourth clock, the clock frequency of the fourth clock is less than the clock frequencies of the third clock and the first clock, and the clock frequency of the first clock is less than the clock frequency of the third clock. In some embodiments, the second non-crystal oscillator and the third non-crystal oscillator can be the same non-crystal oscillator, and accordingly, the clock frequency of the second clock is equal to the clock frequency of the fourth clock.
[0045] Specifically, when the wireless module 104 is in a sleep state, the fourth clock can be directly generated by the second crystal oscillator, and the wireless processor module 201 operates at the fourth clock to adapt to occasions with high requirements for clock counting accuracy, such as applications in watches. The fourth clock can also be generated by a third non-crystal oscillator, and the wireless processor module 201 operates at the fourth clock. The third non-crystal oscillator can be an RC oscillator to reduce the power consumption of the wireless processor module 201. The electronic device in the present application can be compatible with the above two methods of generating the fourth clock, and the clock frequency of the fourth clock is often the lowest clock frequency supported by the crystal oscillator. Of course, the present application can also generate a clock with a clock frequency lower than the fourth clock through the third non-crystal oscillator, so that the wireless processor module 201 operates at a lower clock frequency when it is in a sleep state.
[0046] In some embodiments, when the wireless module 104 is in operation, the clock module 103 generates a fifth clock based on the first crystal oscillator or the delay locked loop of the first crystal oscillator, and the wireless processor module 201 operates at the fifth clock. The clock frequency of the fifth clock is less than the clock frequency of the third clock and greater than the clock frequency of the fourth clock. In addition, the clock frequency of the fifth clock is greater than the clock frequency of the second clock, and the clock frequency of the fifth clock is greater than or close to the clock frequency of the first clock.
[0047] In the embodiment of the present application, a precise and high-frequency third clock is generated by a crystal oscillator, which ensures that the wireless module smoothly receives and sends wireless signals. When the wireless module is in a sleep state, the wireless processor module operates at a fourth clock with a lower clock frequency, which effectively reduces the power consumption of the electronic device. In addition, when the fourth clock is generated by a non-crystal oscillator, no crystal or crystal oscillator is used, which further reduces the power consumption of the electronic device. In addition, compared with a phase-locked loop, when a delay phase-locked loop is used to generate the fifth clock, there are not only advantages such as no jitter accumulation and a smaller locking time, but also advantages such as low power consumption and low area cost.
[0048] In some embodiments, Figure 3 As shown, the sensor processor module 102 and the wireless processor module 201 belong to the same processor, and when the wireless module 104 is in working state, the sensor processor module 102 works at the fifth clock.
[0049] Specifically, when the wireless module 104 is in working state, the clock module 103 generates a fifth clock based on the first crystal oscillator or the delay locked loop of the first crystal oscillator, and the wireless processor module 201 operates at the fifth clock. Since the sensor processor module 102 and the wireless processor module 201 are located in the same processor, at this time, regardless of whether the sensor module is in working state, it is not necessary to generate a clock frequency for the sensor processor module 102 separately, but let the sensor processor module 102 and the wireless processor module 201 operate at the same clock, that is, the fifth clock. It should be noted that the sensor processor module 102 and the wireless processor module 201 operate at the same clock means that the sensor processor module 102 and the wireless processor module 201 operate at the same clock frequency and clock phase.
[0050] In some embodiments, the sensor processor module 102 and the wireless processor module 201 belong to the same processor, and when the wireless module 104 is in a sleep state and the sensor module 101 is in a working state, the sensor processor module 102 and the wireless processor module 201 operate at a first clock.
[0051] Specifically, when the wireless module 104 is in a sleep state, the wireless processor module 201 will also enter a sleep state accordingly. At this time, the sensor module 101 and / or the sensor processor module 102 may still need to work. For example, when the electronic device 100 has no wireless transmission task, it still needs to detect temperature, humidity, acceleration, touch and other signals, so the sensor processor module 102 still needs to be in a working state.
[0052] Since the sensor processor module 102 and the wireless processor module 201 are located in the same processor, at this time, the clock of the processor should be adapted to the working state of the sensor module 101, that is, the clock module 103 generates a first clock through a first non-crystal oscillator, the sensor processor module 102 works at the first clock, and the wireless processor module 201 also works at the first clock accordingly.
[0053] Compared with a crystal oscillator, an RC oscillator has lower power consumption. In addition, the RC oscillator has a shorter start-up time. When the sensor processor module 102 works intermittently, that is, works for a short period of time (such as ms) and sleeps for a long time (such as tens of ms or hundreds of ms), the RC oscillator has a shorter start-up time, that is, the time from startup to clock frequency stabilization is shorter, so that the sensor processor module 102 can have lower average power consumption.
[0054] In some embodiments, the sensor processor module 102 and the wireless processor module 201 belong to the same processor, and the wireless module 104 and the sensor module 101 are both in sleep state, and the second clock and the fourth clock belong to the same clock, the sensor processor module 102 and the wireless processor module 201 operate at the second clock or the fourth clock.
[0055] In some embodiments, Figure 4 As shown, when the sensor module 101 is in working state, the clock module 103 generates the sixth clock through the fourth non-crystal oscillator, and the sensor module 101 works at the sixth clock. After the sensor module 101 collects sensor data, it periodically wakes up the sensor processor module 102 and transmits the sensor data to the sensor processing module 102 for processing. The sensor processor module 102 works at the first clock, the clock frequency of the first clock is greater than the clock frequency of the sixth clock, and the clock frequency of the sixth clock is greater than the clock frequency of the second clock and the clock frequency of the fourth clock.
[0056] Specifically, the fourth non-crystal oscillator may be an RC oscillator. After the sensor module 101 collects the sensor data, it periodically wakes up the first non-crystal oscillator to generate the first clock, and the sensor processor module 102, so that the sensor processor module 102 operates at the first clock. The sensor module 101 transmits the sensor data to the sensor processor module 102, and the sensor processor module 102 processes the sensor data. After processing, the first non-crystal oscillator and the sensor processor module 102 re-enter the sleep state.
[0057] In the embodiment of the present application, when the sensor module 101 is in the working state, it works on the sixth clock generated by the independent fourth non-crystal oscillator, and then periodically wakes up the sensor processor module 102 to process the collected sensor data, and re-enters the dormant state after the processing, so as to avoid the sensor processor module being in the working state for a long time, thereby reducing the power consumption of the sensor processor module 102. In addition, the sensor module 101 works on the sixth clock with a lower clock frequency, which can reduce the power consumption of the sensor module 101.
[0058] In some embodiments, the first crystal oscillator or the second crystal oscillator is used to calibrate the first non-crystal oscillator, the second non-crystal oscillator, the third non-crystal oscillator and the fourth non-crystal oscillator periodically or triggered.
[0059] Specifically, the first crystal oscillator and the second crystal oscillator can be the same crystal oscillator or two independent crystal oscillators. The first crystal oscillator or the second crystal oscillator periodically calibrates the first non-crystal oscillator, the second non-crystal oscillator, the third non-crystal oscillator and the fourth non-crystal oscillator. Alternatively, when the wireless module 104 is switched to the working state, the first crystal oscillator or the second crystal oscillator is triggered to calibrate the first non-crystal oscillator, the second non-crystal oscillator, the third non-crystal oscillator and the fourth non-crystal oscillator.
[0060] For each non-crystal oscillator, the specific calibration process is: within the N1 clock cycles of the non-crystal oscillator, count the crystal oscillator clock to obtain the N2 clock cycles of the crystal oscillator. Then use the following formula (1) to calculate the clock frequency generated by the calibrated non-crystal oscillator:
[0061] f1=N1 / N2*f2………………(1)
[0062] Among them, f1 is the clock frequency generated by the calibrated non-crystal oscillator, and f2 is the clock frequency generated by the crystal oscillator.
[0063] In the embodiment of the present application, a crystal oscillator is used to calibrate the non-crystal oscillator to avoid inaccurate clock frequency and drift of the non-crystal oscillator, thereby improving the accuracy of the clock frequency generated by the non-crystal oscillator.
[0064] In order to better explain the embodiment of the present application, an electronic device provided by the embodiment of the present application is introduced below in combination with a specific implementation scenario. The electronic device is assumed to be a headset, and its structure is as follows: Figure 5 As shown, the sensor module 101 includes a detection circuit 501, an analog-to-digital conversion module 502, and multiple sensors 503. Each sensor 503 is connected to the detection circuit 501 through a channel, and the detection circuit 501 is connected to the analog-to-digital conversion module 502. The detection circuit 501 switches the channel through a switch 504 to achieve time-division multiplexing of the analog-to-digital conversion module 502 by multiple sensors 503. The multiple sensors 503 include at least one in-ear detection contact.
[0065] When the detection circuit 501 determines that the earphone is in the pre-insertion state based on at least one in-ear detection contact, the sampling rate of the sensor data output by the analog-to-digital conversion module 502 is controlled to be a first frequency. When the detection circuit 501 determines that the earphone is in the inserted state based on at least one in-ear detection contact, the sampling rate of the sensor data output by the analog-to-digital conversion module 502 is controlled to be a second frequency, and the second frequency is greater than the first frequency.
[0066] Specifically, the sensor module 101 is currently in working state, that is, it works in the fourth non-crystal oscillator to generate the sixth clock. The first frequency and the second frequency are the sampling rates of the sensor data, and both are less than the clock frequency of the sixth clock. The multiple sensors 503 also include key detection contacts, sliding detection contacts, etc. When the detection circuit 501 switches to a channel through the switch 504, the capacitance value on the channel is detected. When an object (such as a finger or skin) is close, its capacitance value may increase. If the channel corresponds to the in-ear detection contact, the in-ear detection is performed based on the capacitance value; if the channel corresponds to the key detection contact, the key detection is performed based on the capacitance value; if the channel corresponds to the sliding detection contact, the sliding detection is performed based on the capacitance value.
[0067] When the analog-to-digital conversion module is a successive approximation analog-to-digital converter (SAR ADC), the sampling rate of the sensor data is the sampling rate of the analog-to-digital conversion module. When the analog-to-digital conversion module is a Sigma-Delta ADC, the sampling rate of the analog-to-digital conversion module is filtered and downsampled to obtain the sampling rate of the sensor data.
[0068] In actual applications, when the earphone is in the pre-insertion state, button detection and / or slide detection may not be started, and only earphone in-and-out detection may be performed, so a lower sampling rate may be used. For example, 5Hz, 10Hz, 20Hz, etc., which can reduce the power consumption of the sensor module and reduce the frequency of waking up the sensor processor module, thereby further reducing power consumption. After the earphone is identified as being in the in-ear state, button detection and / or slide detection need to be started. In order to fully detect the short-term contact of the user's finger with the contact point, it is necessary to work at a higher sampling rate, such as 50Hz, 100Hz, 200Hz, etc., to ensure user experience.
[0069] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0070] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer device or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0071] These computer program instructions may also be stored in a computer readable memory capable of directing a computer device or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0072] These computer program instructions can also be loaded onto a computer device or other programmable data processing device so that a series of operation steps are executed on the computer device or other programmable device to produce a process implemented by the computer device, thereby providing instructions for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0073] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0074] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. An electronic device, characterized in that: include: Sensor module, sensor processor module, clock module, wireless module, wireless processor module; When the sensor module is in working state and the wireless module is in sleeping state, the clock module generates a first clock through a first non-crystal oscillator, and the sensor processor module operates at the first clock; When the sensor module is in a sleep state, the clock module generates a second clock through a second non-crystal oscillator, the sensor processor module operates at the second clock, and the clock frequency of the second clock is lower than the clock frequency of the first clock; When the wireless module is in working state, the clock module generates a third clock based on the first crystal oscillator, the phase-locked loop, and the high-frequency oscillator, and the wireless module operates on the third clock and its integer-divided clock; or, the clock module generates a fifth clock based on the first crystal oscillator or the delay phase-locked loop of the first crystal oscillator, and the wireless processor module operates on the fifth clock; When the wireless module is in a sleep state, the clock module generates a fourth clock through the second crystal oscillator or the third non-crystal oscillator, and the wireless processor module operates at the fourth clock; The clock frequency of the fifth clock is lower than the clock frequency of the third clock and higher than the clock frequency of the fourth clock; The clock frequency of the fourth clock is lower than the clock frequencies of the third clock and the first clock, and the clock frequency of the first clock is lower than the clock frequency of the third clock.
2. The electronic device according to claim 1, wherein: The sensor processor module and the wireless processor module belong to the same processor, and when the wireless module is in working state, the sensor processor module and the wireless processor module operate at the fifth clock.
3. The electronic device according to claim 1, wherein: The sensor processor module and the wireless processor module belong to the same processor, and when the wireless module is in a sleep state and the sensor module is in a working state, the sensor processor module and the wireless processor module operate at the first clock.
4. The electronic device according to claim 1, wherein: When the sensor processor module and the wireless processor module belong to the same processor, the wireless module and the sensor module are both in sleep state, and the second clock and the fourth clock belong to the same clock, the sensor processor module and the wireless processor module operate at the second clock or the fourth clock.
5. The electronic device according to claim 1, wherein: When the sensor module is in working state, the clock module generates a sixth clock through a fourth non-crystal oscillator, and the sensor module works on the sixth clock; After the sensor module collects sensor data, it periodically wakes up the sensor processor module and transmits the sensor data to the sensor processing module for processing. The sensor processor module operates at the first clock, and the clock frequency of the first clock is greater than the clock frequency of the sixth clock.
6. The electronic device according to claim 5, characterized in that: Also includes: The first crystal oscillator or the second crystal oscillator is used to calibrate the first non-crystal oscillator, the second non-crystal oscillator, the third non-crystal oscillator and the fourth non-crystal oscillator periodically or in a triggered manner.
7. The electronic device according to any one of claims 1 to 6, characterized in that: The electronic device is a headset, the sensor module includes a detection circuit, an analog-to-digital conversion module and a plurality of sensors, each sensor is connected to the detection circuit via a channel, the detection circuit is connected to the analog-to-digital conversion module, the plurality of sensors time-division multiplex the analog-to-digital conversion module, and the plurality of sensors include at least one in-ear detection contact; When the detection circuit determines that the earphone is in a pre-ear state based on the at least one ear-entry detection contact, the sampling rate of the sensor data output by the analog-to-digital conversion module is controlled to be a first frequency; When the detection circuit determines that the earphone is in the ear-inserted state based on the at least one ear-insertion detection contact, the sampling rate of the sensor data output by the analog-to-digital conversion module is controlled to be a second frequency, and the second frequency is greater than the first frequency.
Citation Information
Patent Citations
Single multi-mode clock source for wireless devices
CN101809876A
Bluetooth module with low clock demand and clock working method thereof
CN108650663A
Intelligent bracelet for monitoring physique of students in school
CN112617362A