Signal output method of oscillator, communication equipment and readable storage medium
By using multiple oscillator circuits in the oscillator and switching circuits according to the frequency range, the problem of low practicality of the oscillator when taking into account both the noise performance and the frequency range is solved, and better noise performance and frequency range compatibility are achieved.
Patent Information
- Application Number
- CN202311440892.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-30
- Publication Date
- 2025-05-30
AI Technical Summary
When the oscillator takes into account both the noise performance and the frequency range, it is not very practical, and it is impossible to optimize the noise performance and frequency range of phase noise at the same time.
At least two oscillation circuits are adopted to determine the corresponding oscillation circuit according to the frequency range of the oscillation signal to be output, and the output of the oscillation signal is controlled to ensure that the voltage-controlled sensitivity of each oscillation circuit is less than the preset sensitivity threshold.
On the basis of providing a wide frequency range, the noise performance of the phase noise of the oscillator is improved, the quality of the oscillator output signal is enhanced, and the practicality of the oscillator is effectively improved.
Smart Images

Figure CN120074380A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of signal processing, and in particular, to a signal output method for an oscillator, a communication device, and a computer-readable storage medium. Background Art
[0002] An oscillator, such as a Voltage Control Oscillator (VCO), is an indispensable module in a wireless communication system. It is an important module for a communication device to output frequency, and the noise performance of the oscillator directly determines the noise performance of the phase noise of the communication device.
[0003] On the premise that other parameters of the oscillator are fixed, the voltage control sensitivity (also known as tuning gain) of the oscillator will affect the noise performance of the phase noise of the oscillator. Among them, the smaller the voltage control sensitivity, the better the corresponding noise performance. However, in most cases, in order to adapt to the transceiver frequency bandwidth of the communication device, it is required that the frequency range output by the oscillator be as wide as possible. When the frequency range of the oscillator becomes wider, the voltage control sensitivity of the oscillator cannot be minimized, resulting in poor noise performance of the phase noise of the oscillator and reducing the practicability of the oscillator.
[0004] Therefore, how to balance the noise performance and the frequency range simultaneously to improve the practicability of the oscillator has become an urgent problem to be solved. Summary of the Invention
[0005] This application provides a signal output method for an oscillator, a communication device, and a readable storage medium, which solves the problem that the related technology cannot balance the noise performance and the frequency range simultaneously, resulting in low practicability of the oscillator.
[0006] In a first aspect, this application provides a signal output method for an oscillator. The oscillator includes at least two oscillation circuits generated based on different frequency ranges. The method includes:
[0007] Obtain a first oscillation frequency of an oscillation signal to be output by the oscillator; determine a first oscillation circuit corresponding to the frequency range to which the first oscillation frequency belongs, where the voltage control sensitivity of the first oscillation circuit is less than a preset sensitivity threshold; control the first oscillation circuit to output an oscillation signal based on the first oscillation frequency.
[0008] The signal output method of the above oscillator determines the first oscillation circuit corresponding to the frequency range to which the first oscillation frequency belongs, and controls the first oscillation circuit to output an oscillation signal based on the first oscillation frequency. Since different oscillation circuits output oscillation signals in different frequency ranges, and the voltage control sensitivity of each oscillation circuit is less than the sensitivity threshold, the noise performance of the phase noise of the oscillator can be improved on the basis of providing a wider frequency range, solving the problem that the related technology cannot simultaneously take into account the noise performance and the frequency range, effectively improving the practicability of the oscillator, and by improving the noise performance of the phase noise of the oscillator, the quality of the oscillation signal output by the oscillator can also be improved.
[0009] In a second aspect, the present application also provides a communication device, which includes a memory, a processor, and an oscillator;
[0010] The oscillator is used to output an oscillation signal;
[0011] The memory is used to store a computer program;
[0012] The processor is used to execute the computer program and implement the signal output method of the oscillator as described above when executing the computer program.
[0013] In a third aspect, the present application also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the processor is enabled to implement the signal output method of the oscillator as described above. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0015] Figure 1 It is a schematic block diagram of the structure of an oscillator provided by an embodiment of the present application;
[0016] Figure 2 It is a schematic flowchart of a signal output method of an oscillator provided by an embodiment of the present application;
[0017] Figure 3 It is a schematic flowchart of sub-steps for generating multiple oscillation circuits provided by an embodiment of the present application;
[0018] Figure 4 It is a circuit schematic diagram of an oscillator provided by an embodiment of the present application;
[0019] Figure 5 It is a schematic flowchart of another signal output method of an oscillator provided by an embodiment of the present application. Detailed implementation manners
[0020] Next, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0021] The flowchart shown in the accompanying drawings is only an example illustration, and does not necessarily include all the contents and operations / steps, nor does it necessarily need to be executed in the described order. For example, some operations / steps can also be decomposed, combined, or partially merged, so the actual execution order may change according to the actual situation.
[0022] It should be understood that the terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification of the present application and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms.
[0023] It should also be understood that the term "and / or" used in the specification of the present application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0024] Embodiments of the present application provide a signal output method, a communication device, and a readable storage medium for an oscillator. Among them, the signal output method of the oscillator can be applied to a communication device. By determining a first oscillation circuit corresponding to a frequency range to which a first oscillation frequency belongs, and controlling the first oscillation circuit to output an oscillation signal based on the first oscillation frequency. Since different oscillation circuits output oscillation signals in different frequency ranges, and the voltage control sensitivity of each oscillation circuit is less than a sensitivity threshold, it is possible to improve the noise performance of the phase noise of the oscillator on the basis of providing a wider frequency range, solve the problem that the related art cannot simultaneously take into account the noise performance and the frequency range, effectively improve the practicability of the oscillator, and by improving the noise performance of the phase noise of the oscillator, the quality of the oscillation signal output by the oscillator can also be improved.
[0025] Exemplarily, the communication device can be an electronic device that needs to transmit and receive wireless signals, such as a walkie-talkie, a radio, a television, a smart phone, a tablet computer, and so on.
[0026] In some embodiments, a communication device may include one or more oscillators, and each oscillator includes at least two oscillation circuits.
[0027] It should be noted that an oscillator is an energy conversion device that converts direct current electrical energy into alternating current electrical energy with a certain frequency, and the circuit formed by it is called an oscillation circuit. Exemplarily, the oscillator may be a voltage-controlled oscillator, and of course, it may also be other types of oscillators. A voltage-controlled oscillator is an energy conversion device whose oscillation frequency changes with the change of the input control voltage. In the embodiments of the present application, the voltage-controlled oscillator will be taken as an example to illustrate how to control the voltage-controlled oscillator to output signals to improve the practicability of the voltage-controlled oscillator.
[0028] Please refer to Figure 1 , Figure 1 which is a schematic block diagram of the structure of a communication device 10 provided by the embodiments of the present application. In Figure 1 , the communication device 10 includes a processor 100, a memory 200, and an oscillator 300. Among them, the processor 100, the memory 200, and the oscillator 300 are connected through a bus, and the bus may be any applicable bus such as an Inter-integrated Circuit (I2C) bus.
[0029] Among them, the oscillator 300 is used to output an oscillation signal. In the embodiments of the present application, in the oscillator 300, different oscillation circuits may be generated in advance based on different frequency ranges, that is, the frequency ranges output by different oscillation circuits in the oscillator 300 are different.
[0030] Among them, the memory 200 may include a storage medium and an internal memory. The storage medium may be a volatile storage medium or a non-volatile storage medium. The storage medium can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor can be made to execute a signal output method of any oscillator.
[0031] The processor 100 is used to provide computing and control capabilities to support the operation of the entire communication device 10.
[0032] Among them, the processor 100 may be a Central Processing Unit (CPU), and the processor may also be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and other types of processors. The general-purpose processor may be a microprocessor, or the general-purpose processor may also be any conventional processor, etc.
[0033] Among them, the processor 100 is used to run the computer program stored in the memory 200 and implement the following steps when executing the computer program:
[0034] Obtain the first oscillation frequency of the oscillation signal to be output by the oscillator; determine the first oscillation circuit corresponding to the frequency range to which the first oscillation frequency belongs, where the voltage-controlled sensitivity of the first oscillation circuit is less than a preset sensitivity threshold; control the first oscillation circuit to output an oscillation signal based on the first oscillation frequency.
[0035] In some embodiments, after the processor 100 implements controlling the first oscillation circuit to output an oscillation signal based on the first oscillation frequency, it is further used to implement:
[0036] Obtain the second oscillation frequency of the oscillation signal to be output by the oscillator; if the first oscillation circuit does not meet the preset oscillation frequency condition, determine the second oscillation circuit according to the second oscillation frequency, where the second oscillation circuit is the oscillation circuit in the oscillator that meets the oscillation frequency condition; switch the first oscillation circuit to the second oscillation circuit and control the second oscillation circuit to output an oscillation signal based on the second oscillation frequency.
[0037] In some embodiments, when the processor 100 implements determining the second oscillation circuit according to the second oscillation frequency, it is used to implement:
[0038] Determine the frequency range to which the second oscillation frequency belongs; based on the correspondence between the preset oscillation circuit and the adapted frequency range, determine the second oscillation circuit according to the frequency range to which the second oscillation frequency belongs, where the voltage-controlled sensitivity of the second oscillation circuit is less than the sensitivity threshold.
[0039] In some embodiments, when the processor 100 implements switching the first oscillation circuit to the second oscillation circuit, it is used to implement:
[0040] Stop outputting the working voltage to the first oscillation circuit and output the working voltage to the second oscillation circuit.
[0041] In some embodiments, before implementing the determination of the first oscillation circuit corresponding to the frequency range to which the first oscillation frequency belongs, the processor 100 is further configured to implement:
[0042] Determine the desired frequency range of the oscillator; divide the desired frequency range into at least two sub-frequency ranges, and determine the oscillation circuit corresponding to each sub-frequency range, wherein the voltage-controlled sensitivity of the oscillation circuit corresponding to each sub-frequency range is less than the sensitivity threshold; and store each sub-frequency range in association with the oscillation circuit corresponding to each sub-frequency range.
[0043] In some embodiments, when implementing the determination of the desired frequency range of the oscillator, the processor 100 is configured to implement:
[0044] Obtain the actual frequency range of the communication device where the oscillator is located; and expand the actual frequency range according to a preset frequency value to obtain the desired frequency range.
[0045] The following will describe in detail some embodiments of the present application with reference to the accompanying drawings. Without conflict, the following embodiments and the features in the embodiments can be combined with each other. Please refer to Figure 2 , Figure 2 which is a schematic flowchart of a signal output method of an oscillator provided by an embodiment of the present application. As Figure 2 shown, the signal output method of the oscillator may include steps S101 to S103.
[0046] Step S101, obtain the first oscillation frequency of the oscillation signal to be output by the oscillator.
[0047] Exemplarily, the first oscillation frequency of the oscillation signal to be output by the oscillator may be obtained. Among them, the first oscillation frequency of the oscillation signal to be output may be set by the user according to actual needs, or the oscillator may automatically adjust based on the oscillation frequency required for communication with an external communication device.
[0048] Step S102, determine the first oscillation circuit corresponding to the frequency range to which the first oscillation frequency belongs, wherein the voltage-controlled sensitivity of the first oscillation circuit is less than a preset sensitivity threshold.
[0049] In some embodiments, after obtaining the first oscillation frequency of the oscillation signal to be output by the oscillator, the frequency range to which the first oscillation frequency belongs may be determined, and then the first oscillation circuit may be determined from multiple oscillation circuits in the oscillator according to the frequency range to which the first oscillation frequency belongs. Among them, the voltage-controlled sensitivity of the first oscillation circuit is less than a preset sensitivity threshold.
[0050] It should be noted that the voltage-controlled sensitivity refers to the ratio of the change between the oscillation frequency output by the oscillator and the input voltage, generally denoted by Kv, and the unit is Hz / V. In practical applications, the greater the voltage-controlled sensitivity of the oscillator, the stronger the phase noise on the control circuit, and the larger the frequency range output by the oscillator, which will reduce the noise performance of the oscillator. Therefore, it is necessary to find a balance between the frequency range and the noise performance of the oscillator.
[0051] Exemplarily, in the embodiments of the present application, different oscillation circuits can be generated based on different frequency ranges, so that different oscillation circuits can output oscillation signals with different frequency ranges. Among them, the voltage-controlled sensitivity of each oscillation circuit can be set by capacitors and inductors in the oscillation circuit when the oscillation circuit is generated, so that the voltage-controlled sensitivity of the oscillation circuit is less than a preset sensitivity threshold.
[0052] Among them, the preset sensitivity threshold can be set according to the actual situation, and the specific value is not limited here. Exemplarily, when the voltage-controlled sensitivity is greater than the preset sensitivity threshold, the noise performance of the phase noise of the oscillator will not meet the requirements of the application scenario. For example, for a receiver, it will affect the bit error rate of the receiver and the carrier frequency tracking accuracy, and for a transmitter, it will affect the adjacent channel power of the transmitter.
[0053] By generating different oscillation circuits based on different frequency ranges, a relatively wide frequency range can be provided through multiple oscillation circuits, and the voltage-controlled sensitivity of each oscillation circuit is less than the sensitivity threshold. Therefore, on the basis of providing a relatively wide frequency range, the voltage-controlled sensitivity of each oscillation circuit can be minimized, and the noise performance of the phase noise of the oscillator can be improved.
[0054] Step S103, control the first oscillation circuit to output an oscillation signal based on the first oscillation frequency.
[0055] Exemplarily, after determining the first oscillation circuit corresponding to the frequency range to which the first oscillation frequency belongs, the first oscillation circuit can be controlled to output an oscillation signal based on the first oscillation frequency. For example, a start signal including the first oscillation frequency can be sent to the first oscillation circuit, so that the first oscillation circuit outputs an oscillation signal with the first oscillation frequency according to the start signal.
[0056] In the above embodiments, by determining the first oscillation circuit corresponding to the frequency range to which the first oscillation frequency belongs and controlling the first oscillation circuit to output an oscillation signal based on the first oscillation frequency, since different oscillation circuits are generated based on different frequency ranges, different oscillation circuits can output oscillation signals in different frequency ranges. Thus, a relatively wide frequency range can be provided through multiple oscillation circuits, and the voltage control sensitivity of each oscillation circuit is less than the sensitivity threshold. Therefore, on the basis of providing a relatively wide frequency range, the voltage control sensitivity of each oscillation circuit can be minimized, the noise performance of the phase noise of the oscillator can be improved, oscillation signals of different frequencies can be output with high quality, and the practicability of the oscillator can be effectively improved.
[0057] In addition, by improving the noise performance of the phase noise of the oscillator in the embodiments of the present application, the quality of the oscillation signal output by the oscillator can also be improved. It should be noted that the noise performance of the phase noise has a great impact on the communication system, especially in scenarios where there are many states, dense channels, and continuous channel changes in modern communication systems, and the requirements for phase noise are getting higher and higher. When the receiver receives a signal, the phase noise will affect the bit error rate, carrier frequency tracking accuracy, adjacent channel selectivity, and intermodulation reception of the receiver. When the transmitter transmits a signal, the phase noise will affect the adjacent channel power of the transmitter.
[0058] In the embodiments of the present application, different oscillation circuits can be generated in advance based on different frequency ranges, and the frequency ranges output by different oscillation circuits are different. The following will describe in detail how to generate different oscillation circuits based on different frequency ranges.
[0059] Please refer to Figure 3 , Figure 3 which is a schematic flowchart of sub-steps for generating multiple oscillation circuits provided by the embodiments of the present application. As Figure 3 shown, it may include the following steps S201 to step S203.
[0060] Step S201: Determine the desired frequency range of the oscillator.
[0061] Exemplarily, the desired frequency range of the oscillator can be determined according to the operating parameters of the communication device where the oscillator is located. For example, the desired frequency range of the oscillator can be determined according to the actual frequency range of the communication device.
[0062] In the embodiments of the present application, taking the communication device as a walkie-talkie as an example, it will be described how to determine the desired frequency range of the oscillator and how to segment the desired frequency range.
[0063] In some embodiments, the actual frequency range of the communication device where the oscillator is located can be obtained, and the actual frequency range of the communication device can be determined as the desired frequency range of the oscillator.
[0064] Exemplarily, for a walkie - talkie, if the actual frequency range of the walkie - talkie is [400 MHz, 470 MHz], then the expected frequency range of the oscillator can be determined as [400 MHz, 470 MHz].
[0065] In some other embodiments, determining the expected frequency range of the oscillator may include: obtaining the actual frequency range of the communication device where the oscillator is located; and expanding the actual frequency range according to a preset frequency value to obtain the expected frequency range.
[0066] It should be noted that expanding the actual frequency range means expanding the numerical values at both ends of the actual frequency range. It can be understood that in the related art, due to the inherent differences in the generation and assembly of relevant components in the communication device, there may be an error between the actual frequency and the predetermined frequency of the communication device. In the embodiments of the present application, in order to avoid the influence of the error between the actual frequency and the predetermined frequency of the communication device on the oscillating signal output by the oscillator, by expanding the actual frequency range, the expected frequency range of the oscillator can be expanded, so that the expected frequency range of the oscillator is greater than the actual frequency range of the communication device, thereby ensuring the normal operation of the oscillator and the efficient transmission of the oscillating signal.
[0067] Exemplarily, the actual frequency range can be expanded according to a preset frequency value to obtain the expected frequency range. Among them, the preset frequency value can be set according to the actual situation, and the specific value is not limited herein. For example, in the embodiments of the present application, the preset frequency value can be 2 MHz.
[0068] Exemplarily, for a walkie - talkie, if the actual frequency range of the walkie - talkie is [400 MHz, 470 MHz] and the preset frequency value is 2 MHz, then expanding the actual frequency range [400 MHz, 470 MHz] according to 2 MHz can obtain the expected frequency range of the oscillator as [398 MHz, 472 MHz].
[0069] In the above - mentioned embodiments, by expanding the actual frequency range according to the preset frequency value and using the expanded actual frequency range as the expected frequency range of the oscillator, the expected frequency range of the oscillator can be made greater than the actual frequency range of the communication device, thereby ensuring the normal operation of the oscillator and the efficient transmission of the oscillating signal.
[0070] Step S202: Divide the expected frequency range into at least two sub - frequency ranges, and determine the oscillation circuit corresponding to each sub - frequency range, where the voltage - controlled sensitivity of the oscillation circuit corresponding to each sub - frequency range is less than the sensitivity threshold.
[0071] In some embodiments, after determining the desired frequency range of the oscillator, the desired frequency range may be divided into at least two sub-frequency ranges based on a preset number of segments.
[0072] Among them, the number of segments can be set according to the actual situation, and the specific value is not limited here. In the embodiments of the present application, the lengths of the sub-frequency ranges may be the same or different. The narrower the sub-frequency range, the better the effect on improving the noise performance of the oscillator. Compared with the prior art, by segmenting the desired frequency range, the phase noise of the oscillator can be improved, and the adjacent channel power of the transmitter and the performance of the receive adjacent channel selectivity of the receiver can also be improved, etc.
[0073] Exemplarily, for the desired frequency range [400MH, 470MH], if the number of segments is 2, the desired frequency range is segmented to obtain sub-frequency ranges [400MH, 435MH], (435MH, 470MH], and the lengths of the sub-frequency ranges are both 35MH. If the number of segments is 3, the desired frequency range is segmented to obtain sub-frequency ranges [400MH, 435MH], (435MH, 450MH], (450MH, 470MH], and the lengths of the sub-frequency ranges are 35MH, 15MH, and 20MH respectively.
[0074] Exemplarily, for the desired frequency range [398MH, 472MH], if the number of segments is 2, the desired frequency range is segmented to obtain sub-frequency ranges [398MH, 435MH], (435MH, 470MH]. If the number of segments is 3, the desired frequency range is segmented to obtain sub-frequency ranges [398MH, 435MH], (435MH, 450MH], (450MH, 472MH].
[0075] In some embodiments, after dividing the desired frequency range into at least two sub-frequency ranges based on a preset number of segments, the oscillation circuit corresponding to each sub-frequency range may be determined. For example, an oscillation circuit corresponding to each sub-frequency range may be generated based on each sub-frequency range, and the voltage-controlled sensitivity of the oscillation circuit corresponding to each sub-frequency range is less than the sensitivity threshold.
[0076] Please refer to Figure 4 , Figure 4 which is a schematic circuit diagram of an oscillator provided by an embodiment of the present application. In Figure 2Among them, the oscillator includes two oscillation circuits 3001, and each oscillation circuit 3001 corresponds to a sub-frequency range. Among them, IC1 is a radio frequency power amplifier chip, IC2 is a radio frequency amplifier, and Q30 and Q31 are drive-type small signal transistors. Q1, Q2, and Q3 are switching tubes, which may include but are not limited to triodes, metal-oxide-semiconductor field-effect transistors (MOS), insulated gate bipolar transistors (IGBT), relays, and optocouplers, etc.
[0077] Exemplarily, for the connection relationship of the components between the oscillation circuits 3001, reference can be made to Figure 4 , which will not be elaborated here.
[0078] Exemplarily, as Figure 4 shown, the number of oscillation circuits 3001 can also be increased according to the frequency range required by the oscillator. For example, when the desired frequency range is divided into two sub-frequency ranges, 2 oscillation circuits can be generated. Another example is that when the desired frequency range is divided into three sub-frequency ranges, 3 oscillation circuits can be generated, and so on.
[0079] Exemplarily, when generating the oscillation circuit, the values of the capacitance and inductance in the oscillation circuit can be adjusted according to the sub-frequency range, so that the oscillation circuit outputs an oscillation signal within the corresponding sub-frequency range, and at the same time, the voltage-controlled sensitivity of the oscillation circuit should be less than the sensitivity threshold. Among them, for the specific adjustment process, reference can be made to the related technology, which is not limited here.
[0080] It should be noted that since the oscillator can output a periodic signal with a corresponding frequency according to the input voltage, the oscillation circuit in the oscillator can be composed of an LC resonant circuit using a varactor diode (the change in the bias voltage will change the thickness of the depletion layer, thereby affecting the capacitance). When the reverse bias voltage of the varactor diode is increased, the depletion layer in the diode becomes larger, the capacitance in the diode becomes smaller, and thus the resonant frequency of the LC resonant circuit increases; conversely, when the reverse bias voltage of the varactor diode is decreased, the depletion layer in the diode becomes smaller, the capacitance in the diode becomes larger, and thus the resonant frequency of the LC resonant circuit increases. Therefore, the frequency range of the oscillation circuit can be adjusted by adjusting the values of the capacitance and inductance in the oscillation circuit.
[0081] On the premise that other parameters of the oscillation circuit in the oscillator are fixed, the magnitude of the voltage-controlled sensitivity of the oscillation circuit is determined by the frequency range of the oscillation circuit and the V of the phase-locked loops (PLL) circuit PThe PLL circuit is a frequency and phase synchronization technology that uses the feedback control principle to synchronize the clock output by the circuit with its external reference clock. When the frequency or phase of the reference clock changes, the phase-locked loop will detect this change and adjust the output frequency through its internal feedback system until the two are synchronized again. P The specific process of using the voltage to set the voltage-controlled sensitivity of the oscillation circuit can be referred to in the relevant technology and is not limited here.
[0082] In the above-mentioned embodiment, by generating different oscillation circuits based on different sub-frequency ranges, different oscillation circuits can output oscillation signals in different frequency ranges, so that a wider frequency range can be provided through multiple oscillation circuits, and the voltage control sensitivity of each oscillation circuit is less than the sensitivity threshold. Therefore, on the basis of providing a wider frequency range, the voltage control sensitivity of each oscillation circuit can be minimized, thereby improving the noise performance of the phase noise of the oscillator, solving the problem that the related technology cannot take into account both noise performance and frequency range at the same time, and effectively improving the practicality of the oscillator.
[0083] Step S203: store each sub-frequency range in association with the oscillation circuit corresponding to each sub-frequency range.
[0084] Exemplarily, after generating the oscillating circuit corresponding to each sub-frequency range, each sub-frequency range and the oscillating circuit corresponding to each sub-frequency range may be associated and stored. For example, each sub-frequency range and the oscillating circuit corresponding to each sub-frequency range may be associated and stored in a local database or a local disk.
[0085] By associating and storing each sub-frequency range with the oscillation circuit corresponding to each sub-frequency range, it is possible to subsequently switch to an adapted oscillation circuit according to the oscillation frequency to be output by the oscillator, thereby solving the problem that the related technology cannot meet different frequency requirements with only one oscillation circuit, and can improve the quality of the oscillation signal output by the oscillator.
[0086] In an embodiment of the present application, after controlling the first oscillation circuit to output an oscillation signal based on the first oscillation frequency, the oscillation circuit may be switched according to the oscillation frequency required by the oscillator. The switching scenario of the oscillation circuit is described in detail below.
[0087] See also Figure 5 , Figure 5 is a schematic flow chart of another oscillator signal output method provided in an embodiment of the present application, such as Figure 5 As shown, the following steps S301 to S303 may be included.
[0088] Step S301: Obtain the second oscillation frequency of the oscillation signal to be output by the oscillator.
[0089] Exemplarily, the second oscillation frequency of the oscillation signal currently to be output by the oscillator can be obtained. Among them, the second oscillation frequency of the oscillation signal to be output can be set by the user according to actual needs, or can be automatically adjusted by the oscillator based on the oscillation frequency required for communication with an external communication device.
[0090] Step S302: If the first oscillation circuit does not meet the preset oscillation frequency condition, determine the second oscillation circuit according to the second oscillation frequency, where the second oscillation circuit is the oscillation circuit in the oscillator that meets the oscillation frequency condition.
[0091] In some embodiments, after obtaining the second oscillation frequency of the oscillation signal to be output by the oscillator, it can be determined whether the currently operating first oscillation circuit meets the preset oscillation frequency adjustment. Among them, the oscillation frequency condition is that the second oscillation frequency is within the frequency range adapted by the corresponding oscillation circuit.
[0092] Exemplarily, for the first oscillation circuit, it is necessary to determine whether the second oscillation frequency is within the frequency range adapted by the first oscillation circuit. For example, if the second oscillation frequency is 420MH and the frequency range adapted by the first oscillation circuit is [400MH, 435MH], it can be determined that the second oscillation frequency is within the frequency range adapted by the first oscillation circuit, that is, the first oscillation circuit meets the preset oscillation frequency condition. Another example, if the second oscillation frequency is 450MH and the frequency range adapted by the first oscillation circuit is [400MH, 435MH], it can be determined that the second oscillation frequency is not within the frequency range adapted by the first oscillation circuit, that is, the first oscillation circuit does not meet the preset oscillation frequency condition.
[0093] Exemplarily, when the first oscillation circuit does not meet the preset oscillation frequency condition, the second oscillation circuit can be determined according to the second oscillation frequency, where the second oscillation circuit is the oscillation circuit in the oscillator that meets the oscillation frequency condition. That is, the second oscillation frequency is within the frequency range adapted by the second oscillation circuit.
[0094] In some embodiments, determining the second oscillation circuit according to the second oscillation frequency may include: determining the frequency range to which the second oscillation frequency belongs; based on the correspondence between the preset oscillation circuit and the adapted frequency range, determining the second oscillation circuit according to the frequency range to which the second oscillation frequency belongs, and the voltage control sensitivity of the second oscillation circuit is less than the sensitivity threshold.
[0095] Exemplarily, for the frequency ranges [400 MHz, 435 MHz] and (435 MHz, 470 MHz], if the second oscillation frequency is 450 MHz, it can be determined that the frequency range to which the second oscillation frequency belongs is (435 MHz, 470 MHz]. Then, based on the correspondence between the preset oscillation circuit and the adapted frequency range, the second oscillation circuit can be determined according to the frequency range (435 MHz, 470 MHz) to which the second oscillation frequency belongs. Among them, the voltage control sensitivity of the second oscillation circuit is less than the sensitivity threshold.
[0096] In the embodiments of the present application, multiple oscillation circuits can be generated in advance based on different frequency ranges. The specific process can refer to the above steps S201 to S203 and will not be elaborated here.
[0097] It should be noted that when the first oscillation circuit does not meet the preset oscillation frequency condition, it means that the second oscillation frequency output by the oscillator has exceeded the frequency range corresponding to the first oscillation circuit. In the related art, usually the frequency range of the first oscillation circuit is widened. However, widening the frequency range of the first oscillation circuit will make it impossible to minimize the voltage control sensitivity of the oscillator, resulting in poor noise performance of the phase noise of the oscillator, low quality of the oscillation signal output by the oscillator, and reduced practicality of the oscillator. In the embodiments of the present application, when the second oscillation frequency output by the oscillator exceeds the frequency range corresponding to the first oscillation circuit, the second oscillation circuit is determined according to the frequency range to which the second oscillation frequency belongs, so as to realize the switching of the oscillation circuit according to the oscillation frequency. Since the second oscillation frequency is within the frequency range adapted by the second oscillation circuit, it is possible to ensure the minimization of the voltage control sensitivity of the oscillation circuit on the basis of providing a wider frequency range, improve the noise performance of the phase noise of the oscillator, and then output high-quality oscillation signals of different frequencies, solving the problem that the related art cannot take into account both the noise performance and the frequency range at the same time, and effectively improving the practicality of the oscillator.
[0098] Step S303: Switch the first oscillation circuit to the second oscillation circuit, and control the second oscillation circuit to output an oscillation signal based on the second oscillation frequency.
[0099] Exemplarily, after determining the second oscillation circuit according to the second oscillation frequency, the first oscillation circuit can be switched to the second oscillation circuit, and the second oscillation circuit can be controlled to output an oscillation signal based on the second oscillation frequency.
[0100] In the above embodiments, by switching the first oscillation circuit to the second oscillation circuit and controlling the second oscillation circuit to output an oscillation signal based on the second oscillation frequency, the second oscillation circuit can output an oscillation signal with the second oscillation frequency, avoiding the first oscillation circuit from outputting an oscillation signal that does not meet the requirements, and thus improving the quality of the oscillation signal output by the oscillator.
[0101] In some embodiments, switching the first oscillation circuit to the second oscillation circuit may include: stopping outputting the working voltage to the first oscillation circuit and outputting the working voltage to the second oscillation circuit.
[0102] Exemplarily, outputting the working voltage to the second oscillation circuit and stopping outputting the working voltage to the first oscillation circuit may be implemented to switch the first oscillation circuit to the second oscillation circuit.
[0103] Exemplarily, after switching the first oscillation circuit to the second oscillation circuit, the second oscillation circuit may be controlled to output an oscillation signal based on the second oscillation frequency. For example, a control signal including the second oscillation frequency may be sent to the second oscillation circuit so that the second oscillation circuit outputs an oscillation signal with a frequency of the second oscillation frequency according to the control signal.
[0104] In the above embodiments, by stopping outputting the working voltage to the first oscillation circuit and outputting the working voltage to the second oscillation circuit, the first oscillation circuit can be switched to the second oscillation circuit.
[0105] An embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and the computer program includes program instructions. The processor executes the program instructions to implement any one of the signal output methods of the oscillator provided by the embodiments of the present application. For example, when the computer program is loaded by the processor, the following steps may be executed:
[0106] Obtain the first oscillation frequency of the oscillation signal to be output by the oscillator; determine the first oscillation circuit corresponding to the frequency range to which the first oscillation frequency belongs, where the voltage control sensitivity of the first oscillation circuit is less than a preset sensitivity threshold; control the first oscillation circuit to output an oscillation signal based on the first oscillation frequency.
[0107] For the specific implementation of each of the above operations, reference may be made to the previous embodiments, which will not be elaborated herein.
[0108] Wherein, the computer-readable storage medium may be an internal storage unit of the communication device in the foregoing embodiments, such as the hard disk or memory of the communication device. The computer-readable storage medium may also be an external storage device of the communication device, such as a plug-in hard disk equipped on the communication device, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc.
[0109] The above are only the specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for signal output of an oscillator, characterized in that, the oscillator includes at least two oscillation circuits, and different oscillation circuits are generated based on different frequency ranges. The method includes: obtaining a first oscillation frequency of an oscillation signal to be output by the oscillator; determining a first oscillation circuit corresponding to the frequency range to which the first oscillation frequency belongs, wherein the voltage control sensitivity of the first oscillation circuit is less than a preset sensitivity threshold; controlling the first oscillation circuit to output an oscillation signal based on the first oscillation frequency.
2. The method for signal output of an oscillator according to claim 1, characterized in that, after controlling the first oscillation circuit to output an oscillation signal based on the first oscillation frequency, the method further includes: obtaining a second oscillation frequency of the oscillation signal to be output by the oscillator; if the first oscillation circuit does not meet a preset oscillation frequency condition, determining a second oscillation circuit according to the second oscillation frequency, and the second oscillation circuit is an oscillation circuit in the oscillator that meets the oscillation frequency condition; switching the first oscillation circuit to the second oscillation circuit, and controlling the second oscillation circuit to output an oscillation signal based on the second oscillation frequency.
3. The method for signal output of an oscillator according to claim 2, characterized in that, the oscillation frequency condition is that the second oscillation frequency is within the frequency range adapted to the corresponding oscillation circuit.
4. The method for signal output of an oscillator according to claim 2, characterized in that, the determining the second oscillation circuit according to the second oscillation frequency includes: determining the frequency range to which the second oscillation frequency belongs; based on a preset correspondence between oscillation circuits and adapted frequency ranges, determining the second oscillation circuit according to the frequency range to which the second oscillation frequency belongs, and the voltage control sensitivity of the second oscillation circuit is less than the sensitivity threshold.
5. The method for signal output of an oscillator according to claim 2, characterized in that, the switching the first oscillation circuit to the second oscillation circuit includes: stopping outputting a working voltage to the first oscillation circuit, and outputting a working voltage to the second oscillation circuit.
6. The method for signal output of an oscillator according to claim 1, characterized in that, before determining the first oscillation circuit corresponding to the frequency range to which the first oscillation frequency belongs, the method further includes: determining a desired frequency range of the oscillator; dividing the desired frequency range into at least two sub-frequency ranges, and determining an oscillation circuit corresponding to each sub-frequency range, wherein the voltage control sensitivity of the oscillation circuit corresponding to each sub-frequency range is less than the sensitivity threshold; associatively storing each sub-frequency range with the oscillation circuit corresponding to each sub-frequency range.
7. The method for signal output of an oscillator according to claim 6, characterized in that, the determining the desired frequency range of the oscillator includes: obtaining an actual frequency range of a communication device where the oscillator is located; extending the actual frequency range according to a preset frequency value to obtain the desired frequency range.
8. A communication device, characterized in that, The communication device includes a memory, a processor, and an oscillator; The oscillator is configured to output an oscillation signal; The memory is configured to store a computer program; The processor is configured to execute the computer program and, when executing the computer program, implement the signal output method of the oscillator according to any one of claims 1 to 8.
9. The communication device according to claim 8, wherein, the oscillator includes at least two oscillation circuits.
10. A computer-readable storage medium, wherein, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor is caused to implement the signal output method of the oscillator according to any one of claims 1 to 8.