WO2019109356A1 - Clock system, electronic apparatus, and processing method - Google Patents

Clock system, electronic apparatus, and processing method Download PDF

Info

Publication number
WO2019109356A1
WO2019109356A1 PCT/CN2017/115321 CN2017115321W WO2019109356A1 WO 2019109356 A1 WO2019109356 A1 WO 2019109356A1 CN 2017115321 W CN2017115321 W CN 2017115321W WO 2019109356 A1 WO2019109356 A1 WO 2019109356A1
Authority
WO
WIPO (PCT)
Prior art keywords
locked loop
phase
module
clock signal
phase locked
Prior art date
Application number
PCT/CN2017/115321
Other languages
French (fr)
Chinese (zh)
Inventor
刘敬波
刘俊秀
王雅君
石岭
Original Assignee
深圳开阳电子股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳开阳电子股份有限公司 filed Critical 深圳开阳电子股份有限公司
Priority to PCT/CN2017/115321 priority Critical patent/WO2019109356A1/en
Priority to CN201780091708.4A priority patent/CN111418158B/en
Publication of WO2019109356A1 publication Critical patent/WO2019109356A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop

Definitions

  • the present invention relates to the field of electronic technologies, and in particular, to a clock system, an electronic device, and a processing method.
  • a clock system using a phase locked loop is prone to an abnormal operation problem when a phase locked loop fails, particularly a clock system requiring high reliability, such as a military or railway signal control clock system.
  • Embodiments of the present invention provide a clock system, an electronic device, and a processing method.
  • the invention provides a clock system, comprising:
  • the reference clock module is configured to output a reference clock signal
  • phase locked loop module configured to output a processing clock signal according to the reference clock signal
  • phase-locked loop power module configured to supply power to the phase-locked loop module
  • phase-locked loop fault monitoring module configured to determine an operating state of the phase-locked loop module according to a power supply voltage of the phase-locked loop power supply module and the processing clock signal;
  • the phase-locked loop fault processing module is configured to control the phase-locked loop module and/or the phase-locked loop power module according to an operating state of the phase-locked loop module and determine an output clock signal.
  • the present invention provides an electronic device including the clock system.
  • the present invention provides a processing method for a clock system, the clock system including a reference clock module, a phase locked loop module, a phase locked loop power module, a phase locked loop fault monitoring module, and a phase locked loop fault processing module, the lock
  • the phase loop power module is configured to supply power to the phase locked loop module
  • the processing method includes:
  • the reference clock module outputs a reference clock signal
  • the phase locked loop module outputs a processing clock signal according to the reference clock signal
  • the phase-locked loop fault monitoring module determines an operating state of the phase-locked loop module according to a power supply voltage of the phase-locked loop power module and the processing clock signal;
  • the phase-locked loop fault processing module controls the phase-locked loop module and/or the phase-locked loop power module according to an operating state of the phase-locked loop module and determines an output clock signal.
  • the clock system, the electronic device and the processing method of the embodiment of the invention monitor the working state of the phase-locked loop module through the phase-locked loop fault monitoring module, control the phase-locked loop module according to the working state of the phase-locked loop module, and determine the output clock signal, thereby When the phase-locked loop module fails, the clock system can work normally, and the self-correction of the phase-locked loop module can be realized, thereby Improve the reliability of the clock system.
  • FIG. 1 is a block diagram of a clock system according to an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of a processing method according to an embodiment of the present invention.
  • FIG. 3 is another schematic diagram of a module of a clock system according to an embodiment of the present invention.
  • FIG. 4 is another schematic flowchart of a processing method according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of still another module of the clock system according to an embodiment of the present invention.
  • FIG. 6 is a schematic flow chart of still another processing method according to an embodiment of the present invention.
  • FIG. 7 is another schematic block diagram of a clock system according to an embodiment of the present invention.
  • FIG. 8 is still another schematic flowchart of a processing method according to an embodiment of the present invention.
  • FIG. 9 is another schematic block diagram of a clock system according to an embodiment of the present invention.
  • FIG. 10 is still another schematic flowchart of a processing method according to an embodiment of the present invention.
  • FIG. 11 is another schematic block diagram of a clock system according to an embodiment of the present invention.
  • FIG. 12 is still another schematic flowchart of a processing method according to an embodiment of the present invention.
  • FIG. 13 is still another schematic flowchart of a processing method according to an embodiment of the present invention.
  • FIG. 14 is another schematic block diagram of a clock system according to an embodiment of the present invention.
  • 15 is a schematic flow chart of still another processing method of an embodiment of the present invention.
  • the clock system 100 The clock system 100, the reference clock module 110, the phase locked loop module 120, the phase detector 122, the filter 124, the voltage controlled oscillator 126, the frequency divider 128, the phase locked loop power module 130, the phase locked loop fault monitoring module 140, The analog to digital converter 142, the phase locked loop clock frequency analyzing unit 144, the phase locked loop clock jitter analyzing unit 146, the phase locked loop fault processing module 150, and the clock output control unit 152.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” or “second” may include one or more of the described features either explicitly or implicitly.
  • the meaning of "a plurality” is two or more unless specifically and specifically defined otherwise.
  • connection In the description of the present invention, it should be noted that the terms “installation”, “connected”, and “connected” are to be understood broadly, and may be fixed or detachable, for example, unless otherwise explicitly defined and defined. Connected, or connected in one piece. It can be a mechanical connection or an electrical connection. It can be directly connected or indirectly connected through an intermediate medium, which can be the internal communication of two elements or the interaction of two elements. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood on a case-by-case basis.
  • a clock system 100 of an embodiment of the present invention includes a reference clock module 110 , a phase locked loop module (PLL) 120 , a phase locked loop power module 130 , a phase locked loop fault monitoring module 140 , and a phase locked loop .
  • the fault handling module 150 The reference clock module 110 is for outputting a reference clock signal.
  • the phase locked loop module 120 is configured to output a processing clock signal according to the reference clock signal.
  • the phase locked loop power module 130 is used to supply power to the phase locked loop module 120.
  • the phase locked loop fault monitoring module 140 is configured to determine the operating state of the phase locked loop module 120 according to the power supply voltage and the processing clock signal of the phase locked loop power module 130.
  • the phase locked loop fault processing module 150 is configured to control the phase locked loop module 120 and/or the phase locked loop power module 130 according to the working state of the phase locked loop module 120 and determine the output clock signal.
  • the clock system 100 includes a reference clock module 110, a phase locked loop module 120, a phase locked loop power module 130, a phase locked loop fault monitoring module 140, and a phase locked loop fault processing module 150.
  • the phase locked loop power module 130 is used to supply power to the phase locked loop module 120. Processing methods include:
  • Step S110 The reference clock module 110 outputs a reference clock signal
  • Step S120 The phase locked loop module 120 outputs a processing clock signal according to the reference clock signal
  • Step S130 The phase-locked loop fault monitoring module 140 determines the working state of the phase-locked loop module 120 according to the power supply voltage and the processing clock signal of the phase-locked loop power module 130;
  • Step S140 The phase locked loop fault processing module 150 controls the phase locked loop module 120 and/or the phase locked loop power module 130 according to the working state of the phase locked loop module 120 and determines the output clock signal.
  • the processing method of the embodiment of the present invention may be implemented by the clock system 100 of the embodiment of the present invention.
  • Step S110 may be implemented by the reference clock module 110
  • step S120 may be implemented by the phase locked loop module 120
  • step S130 may be monitored by the phase locked loop fault.
  • the module 140 is implemented, and the step S140 can be implemented by the phase locked loop fault processing module 150.
  • the clock system 100 of the embodiment of the present invention can be applied to the electronic device of the embodiment of the present invention, or the electronic device of the embodiment of the present invention includes the clock system 100 of the embodiment of the present invention.
  • the clock system 100, the electronic device, and the processing method of the embodiment of the present invention monitor the working state of the phase-locked loop module 120 through the phase-locked loop fault monitoring module 140, and control the phase-locked loop module 120 and determine the output according to the working state of the phase-locked loop module 120.
  • the clock signal so that when the phase locked loop module 120 fails, the clock system 100 can work normally, and the self-correction of the phase locked loop module 120 can be implemented, thereby improving the reliability of the clock system 100.
  • the reference clock module 110 can include an oscillator circuit such as a crystal oscillator, an RC oscillator, an LC oscillator, or the like.
  • Electronic devices include mobile phones, tablets, laptops, smart bracelets, smart watches, smart helmets, smart glasses, and the like.
  • the operational states of the phase-locked loop module 120 include: normal and abnormal, and the phase-locked loop module 120 anomalies include: processing clock signal frequency anomalies, processing clock signal jitter anomalies, and supply voltage anomalies.
  • the operating state of the phase locked loop module 120 can be represented by a three-digit binary number, for example, 000 indicates that the phase locked loop module 120 is normal, 001 indicates that the processing clock signal frequency is abnormal, and 010 indicates that the processing clock signal jitter is abnormal, 100.
  • 011 indicates that the processing clock signal frequency is abnormal and the processing clock signal jitter is abnormal
  • 101 indicates that the processing clock signal frequency is abnormal and the power supply voltage is abnormal
  • 110 indicates the processing clock signal jitter abnormality and the power supply voltage abnormality
  • 111 indicates that the processing clock signal frequency is abnormal.
  • the phase-locked loop fault monitoring module 140 determines the operating state of the phase-locked loop module 120 according to the supply voltage and the processing clock signal of the phase-locked loop power module 130. It can be understood that the phase-locked loop fault monitoring module 140 is The power supply voltage of the phase-locked loop power module 130 determines whether the operating state of the phase-locked loop module 120 includes the power supply voltage abnormality, and the phase-locked loop fault monitoring module 140 determines whether the operating state of the phase-locked loop module 120 includes the processing clock according to the processing clock signal. Abnormal signal frequency and whether the processing clock signal jitter is abnormal.
  • the phase-locked loop fault processing module 150 controls the phase-locked loop module 120 and/or the phase-locked loop power module 130 according to the operating state of the phase-locked loop module 120. It can be understood that the phase-locked loop fault processing module 150 The phase-locked loop module 120 is controlled according to the working state of the phase-locked loop module 120, or the phase-locked loop fault processing module 150 controls the phase-locked loop power module 130 according to the working state of the phase-locked loop module 120, or the phase-locked loop fault processing module 150 is The working state of the phase locked loop module 120 controls the phase locked loop module 120 and the phase locked loop power module 130.
  • the phase locked loop fault processing module 150 can control the phase locked loop module 120; the operation of the phase locked loop module 120 When the state includes the abnormality of the power supply voltage, the phase locked loop fault processing module 150 can control the phase locked loop power supply module 130.
  • the phase locked loop fault processing module 150 includes a micro control unit (MCU) for controlling the reference clock module 110 and the phase locked loop module 120, wherein the micro control unit stores a configuration register, and the micro control The unit controls the phase locked loop module 120 to output a corresponding processing clock signal according to the multiplication frequency in the configuration register.
  • MCU micro control unit
  • phase-locked loop module 120 when the power supply voltage of the phase-locked loop power module 130 is abnormal, the phase-locked loop module 120 is in an abnormal working state, so the phase-locked loop power module 130 can send the power supply voltage to the phase-locked loop fault monitoring module. 140.
  • the phase-locked loop fault monitoring module 140 determines whether the received power supply voltage is abnormal. When the power supply voltage is abnormal, determining the working state of the phase-locked loop module 120 includes the abnormality of the power supply voltage.
  • the phase locked loop fault processing module 150 can change the parameters in the phase locked loop voltage control register when the power supply voltage of the phase locked loop power supply module 130 is abnormal (the phase locked loop voltage control register can be located in the micro control of the phase locked loop fault processing module 150) In the unit), and controlling the phase-locked loop power module 130 according to the parameters in the phase-locked loop voltage control register to restore the power supply voltage output by the phase-locked loop power module 130 to normal.
  • the phase-locked loop fault monitoring module 140 determines that the power supply voltage output by the phase-locked loop power module 130 is insufficient, and the phase-locked loop fault processing module 150 increases the voltage value parameter in the phase-locked loop voltage control register, thereby The voltage value parameter after the increase is controlled to control the phase locked loop power supply module 130 to increase the supply voltage.
  • the reference clock signal is a clock signal output by reference clock module 110.
  • the processing clock signal is a clock signal output by the phase locked loop module 120, and the processing clock signal is generally a frequency multiplication of the reference clock signal, for example, the processing clock signal is a multiple of the reference clock signal, a double frequency, a triple frequency, etc., wherein the processing When the clock signal is a multiple of the reference clock signal, the processing clock signal is approximately the same as the reference clock signal.
  • the output clock signal is the clock signal that is ultimately output by the clock system 100.
  • the phase-locked loop fault monitoring module 140 includes an Analog-to-Digital Converter (ADC) 142 for converting a supply voltage to a digital voltage.
  • ADC Analog-to-Digital Converter
  • the phase locked loop fault monitoring module 140 is configured to compare the digital voltage with a predetermined voltage to determine an operating state of the phase locked loop module 120.
  • the phase locked loop fault monitoring module 140 includes an analog to digital converter 142, and step S130 includes:
  • Step S132 The analog-to-digital converter 142 converts the power supply voltage into a digital voltage
  • Step S134 The phase locked loop fault monitoring module 140 compares the digital voltage with the predetermined voltage to determine the operating state of the phase locked loop module 120.
  • step S132 can be implemented by analog to digital converter 142, which can be implemented by phase locked loop fault monitoring module 140.
  • the analog power supply voltage of the phase-locked loop power supply module 130 is generally an analog voltage
  • the analog power supply voltage may be first converted into a digital voltage, thereby using the phase-locked loop fault monitoring module 140 to compare the digital voltage and The predetermined voltage, for example, determines whether the digital voltage is within a voltage error range of the predetermined voltage. If the digital voltage is within the voltage error range of the predetermined voltage, it may be determined that the power supply voltage is normal, thereby determining the operating state of the phase locked loop module 120 including the normal supply voltage. If the digital voltage is outside the voltage error range of the predetermined voltage, then It is judged that the power supply voltage is abnormal, thereby determining that the operating state of the phase locked loop module 120 includes the abnormality of the power supply voltage.
  • the predetermined voltage and voltage error ranges may be determined according to the operating voltage required by the phase-locked loop module 120 actually used, or may be determined according to the input of the staff in advance, and are not specifically limited herein.
  • the predetermined voltage is 3V
  • the voltage error range is ⁇ 0.1V, that is, when the power supply voltage is in the range of 2.9V-3.1V, the power supply voltage is normal, and when the power supply voltage is less than 2.9V or greater than 3.1V, the power supply voltage is abnormal. .
  • the analog to digital converter 142 includes a successive approximation register type analog to digital converter (SAR ADC) that can be used to reduce the power consumption of the clock system 100.
  • SAR ADC successive approximation register type analog to digital converter
  • the phase locked loop fault monitoring module 140 includes a phase locked loop clock frequency analyzing unit 144, and the phase locked loop clock frequency analyzing unit 144 is configured to acquire a frequency of the processing clock signal according to the processing clock signal. The comparison of the frequency and the predetermined frequency determines the operational state of the phase locked loop module 120.
  • the phase-locked loop fault monitoring module 140 includes a phase-locked loop clock frequency analyzing unit 144, and the step S130 includes:
  • Step S136 The phase locked loop clock frequency analyzing unit 144 acquires the frequency of the processing clock signal and determines the operating state of the phase locked loop module 120 according to the comparison result of the frequency of the processing clock signal and the predetermined frequency.
  • step S136 can be implemented by the phase locked loop clock frequency analyzing unit 144.
  • the phase locked loop clock frequency analyzing unit 144 processes the processing clock signal to obtain the frequency of the processing clock signal, compares the frequency of the processing clock signal with a predetermined frequency, and determines whether the frequency of the processing clock signal is at a frequency error of a predetermined frequency. In the range, when the frequency of the processing clock signal is within the error range of the predetermined frequency, it can be determined that the operating state of the phase locked loop module 120 includes the processing clock signal frequency being normal, and if the frequency of the processing clock signal is outside the error range of the predetermined frequency Then, it can be determined that the operating state of the phase locked loop module 120 includes processing the clock signal frequency abnormality.
  • the predetermined frequency and the frequency error range may be determined according to the actual required clock frequency, or may be determined according to the input of the staff in advance, and are not specifically limited herein.
  • the predetermined frequency is 200 MHz
  • the frequency error range is ⁇ 1 MHz, that is, when the frequency of the processing clock signal is in the range of 199 MHz to 201 MHz, the processing clock signal frequency is normal, and when the frequency of the processing clock signal is less than 199 MHz or greater than 201 MHz, The clock signal processing frequency is abnormal.
  • the parameters in the phase locked loop frequency control register can be changed when the frequency of the processing clock signal is abnormal (the phase locked loop frequency control register can be located in the micro control unit of the phase locked loop fault processing module 150), and The phase locked loop module 120 is controlled according to the parameters in the phase locked loop frequency control register to restore the processing clock signal output by the phase locked loop module 120 to normal.
  • the phase-locked loop clock frequency analysis unit 144 determines that the frequency of the processing clock signal is too high, and the phase-locked loop fault processing module 150 lowers the frequency value parameter in the phase-locked loop frequency control register, thereby The frequency-locked loop module 120 controls the phase-locked loop module 120 to reduce the frequency of the output processing clock signal.
  • the phase locked loop fault monitoring module 140 includes a phase locked loop clock jitter analysis unit 146 for receiving a reference clock signal and comparing the reference clock signal and processing.
  • the clock signal determines the operational state of the phase locked loop module 120.
  • the phase-locked loop fault monitoring module 140 includes a phase-locked loop clock jitter analysis unit 146, and the step S130 includes:
  • Step S138 The phase locked loop clock jitter analysis unit 146 receives the reference clock signal and compares the reference clock signal and the processing clock signal to determine the operating state of the phase locked loop module 120.
  • step S138 can be implemented by the phase locked loop clock jitter analysis unit 146.
  • the phase-locked loop clock jitter analysis unit 146 compares the reference clock signal with the processing clock signal to determine whether the processing clock signal has jitter, for example, after a rising edge, acquires a high-level duration of the reference clock signal, After the same rising edge, the high-level duration of the processing clock signal is obtained. When the high-level duration of the reference clock signal coincides with the high-level duration of the processing clock signal, it is determined that the processing clock signal does not exhibit jitter.
  • the working state of the phase locked loop module 120 includes that the processing clock signal jitter is normal. When the high level duration of the reference clock signal does not coincide with the high level duration of the processing clock signal, it is determined that the processing clock signal is jittery, and the phase locked loop module 120
  • the working state includes handling clock signal jitter anomalies.
  • the parameters in the phase locked loop voltage control register and/or the parameters in the phase locked loop frequency control register can be changed to adjust the phase locked loop module 120 (phase locked loop voltage)
  • the parameters in the control register and/or the parameters in the phase-locked loop frequency control register can be understood as parameters in the phase-locked loop voltage control register, or in the phase-locked loop frequency control register, or in the phase-locked loop voltage control register.
  • the parameters in the parameters and the parameters in the phase-locked loop frequency control register can be changed to adjust the phase locked loop module 120 (phase locked loop voltage)
  • the phase-locked loop power module 130 when the processing clock signal jitter is abnormal, the phase-locked loop power module 130 is controlled to stop supplying power to the phase-locked loop module 120 through a parameter in the phase-locked loop voltage control register, and after the predetermined stop time, the phase-locked loop is re-controlled.
  • the ring power module 130 supplies power to the phase locked loop module 120.
  • the predetermined stop time may be set according to the actual needs of the user. To reduce the adverse effect of the phase-locked loop power module 130 stopping the power supply to the phase-locked loop module 120, the predetermined stop time may take a small value, for example, less than 50 milliseconds.
  • the phase locked loop module 120 includes a phase detector 122, a filter 124, a voltage controlled oscillator 126, and a frequency divider 128 for processing a reference clock signal and feedback.
  • the clock signal determines the phase difference between the reference clock signal and the feedback clock signal and converts the phase difference into an error voltage
  • the filter 124 is used to filter the error voltage
  • the voltage controlled oscillator 126 is configured to output the processing clock according to the filtered error voltage.
  • the signal, frequency divider 128 is used to divide the processed clock signal to obtain a feedback clock signal.
  • the phase locked loop module 120 includes a phase detector 122, a filter 124, and a voltage Controlling the oscillator 126 and the frequency divider 128, the step S120 includes:
  • Step S122 the phase detector 122 processes the reference clock signal and the feedback clock signal to determine a phase difference between the reference clock signal and the feedback clock signal and convert the phase difference into an error voltage;
  • Step S124 The filter 124 filters the error voltage
  • Step S126 the voltage controlled oscillator 126 outputs a processing clock signal according to the filtered error voltage
  • Step S128 The frequency divider 128 divides the processing clock signal to obtain a feedback clock signal.
  • step S122 can be implemented by phase detector 122
  • step S124 can be implemented by filter 124
  • step S126 can be implemented by voltage controlled oscillator 126
  • step S128 can be implemented by frequency divider 128.
  • the phase locked loop module 120 can output a processing clock signal according to the reference clock signal.
  • phase detector 122 includes a charge pump for amplifying the error voltage.
  • the filter can be a low pass filter that filters out the noise portion of the amplified error voltage to obtain a more accurate error voltage.
  • the number of phase locked loop modules 120 is multiple, and the plurality of phase locked loop modules 120 are configured to output a plurality of processing clock signals, and the phase locked loop fault monitoring module 140 is configured to supply power according to the power supply.
  • the voltage and the plurality of processing clock signals determine an operational state of each phase locked loop module 120, and the phase locked loop fault processing module 150 is configured to control each phase locked loop module 120 and/or according to the operating state of each phase locked loop module 120.
  • the phase locked loop power module 130 and the output clock signal are determined.
  • step S120 includes:
  • Step S129 The plurality of phase locked loop modules 120 output a plurality of processing clock signals
  • Step S130 includes:
  • Step S139 The phase locked loop fault monitoring module 140 determines the working state of each phase locked loop module 120 according to the power supply voltage and the plurality of processing clock signals;
  • Step S140 includes:
  • Step S144 The phase locked loop fault processing module 150 controls each phase locked loop module 120 and/or the phase locked loop power supply module 130 according to the working state of each phase locked loop module 120 and determines an output clock signal.
  • step S129 can be implemented by the phase locked loop module 120
  • step S139 can be implemented by the phase locked loop fault monitoring module 140
  • step S144 can be implemented by the phase locked loop fault processing module 150.
  • phase locked loop fault monitoring module 140 can determine the operating state of each phase locked loop module 120.
  • the clock system 100 may include a plurality of phase locked loop modules 120 for outputting a plurality of processing clock signals.
  • the operating state of each phase-locked loop module 120 may be different.
  • the phase-locked loop fault monitoring module 140 may determine the operating state of the corresponding phase-locked loop module 120 according to the power supply voltage and each processing clock signal.
  • the plurality of phase-locked loop modules 120 share a phase-locked loop power module 130, and determine whether the power-on voltage of the phase-locked loop power module 130 is abnormal, and whether the working state of each phase-locked loop module 120 is determined. Including power supply anomalies.
  • the plurality of phase-locked loop modules 120 employ different phase-locked loop power modules 130, and each phase-locked loop module 120 can be determined by determining whether the supply voltages of the plurality of phase-locked loop power modules 130 are abnormal. Whether the working status includes abnormal power supply.
  • the phase locked loop fault processing module 150 is configured to control at least two phase locked loop modules 120 of the plurality of phase locked loop modules 120 to operate simultaneously.
  • step S140 includes:
  • Step S146 The phase locked loop fault processing module 150 controls at least two phase locked loop modules 120 of the plurality of phase locked loop modules 120 to work simultaneously.
  • step S146 can be implemented by the phase locked loop fault processing module 150.
  • phase locked loop module 120 when the working state of the phase locked loop module 120 is abnormal, it can be switched to another phase locked loop module 120 in time to ensure that the clock system 100 can work normally.
  • the phase-locked loop module 120 can generally obtain a stable processing clock signal after the stabilization time, in order to avoid the stabilization time for the clock system 100.
  • the normal operation of the phase-locked loop fault processing module 150 can control at least two phase-locked loop modules 120 of the plurality of phase-locked loop modules 120 to work simultaneously, so that when the working state of a phase-locked loop module 120 is abnormal,
  • the clocked loop module 120 which has been able to stably output the processed clock signal, is utilized to ensure that the clock system 100 is functioning properly.
  • the phase locked loop fault processing module 150 includes a clock output control unit 152 for outputting one when there is at least one phase locked loop module 120 that meets a predetermined working state.
  • the processing clock signal of the phase locked loop module 120 conforming to the predetermined working state is used as an output clock signal, and is used to output a reference clock signal as an output clock signal when there is no phase locked loop module 120 conforming to a predetermined operating state.
  • the phase locked loop fault processing module 150 includes a clock output control unit 152, and the step S140 includes:
  • Step S148 when there is at least one phase locked loop module 120 that meets a predetermined working state, the clock output control unit 152 outputs a processing clock signal of the phase locked loop module 120 that meets a predetermined working state as an output clock signal;
  • Step S149 When there is no phase locked loop module 120 that meets the predetermined working state, the clock output control unit 152 outputs the reference clock signal as an output clock signal.
  • steps S148 and S149 can be implemented by the clock output control unit 152.
  • the clock system 100 can output a suitable output clock signal through the clock output control unit 152.
  • the predetermined working state may refer to that the working state of the phase locked loop module 120 is normal, that is, when there is at least one normal phase locked loop module 120, the clock output control unit 152 outputs a normal phase locked loop module 120.
  • the clock signal is used as an output clock signal, and when there is no normal phase-locked loop module 120, the clock output control unit 152 outputs a reference signal as an output clock signal.
  • the first feature "on” or “under” the second feature may include direct contact of the first and second features, and may also include first and second features, unless otherwise specifically defined and defined. It is not in direct contact but through additional features between them.
  • the first feature "above”, “above” and “above” the second feature includes the first feature directly above and above the second feature, or merely indicating that the first feature level is higher than the second feature.
  • the first feature “below”, “below” and “below” the second feature includes the first feature directly below and below the second feature, or merely the first feature level being less than the second feature.
  • a "computer-readable medium” can be any any program that can contain, store, communicate, propagate, or transport the program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device.
  • Device can be any any program that can contain, store, communicate, propagate, or transport the program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (IPM overcurrent protection circuits) with one or more wires, portable computer disk cartridges (magnetic devices), random access memories (RAM), read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
  • portions of the embodiments of the invention may be implemented in hardware, software, firmware or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

A clock system (100). The clock system (100) comprises a reference clock module (110), a phase-locked loop module (120), a phase-locked loop power source module (130), a phase-locked loop fault detection module (140) and a phase-locked loop fault processing module (150), wherein the reference clock module (110) is used for outputting a reference clock signal; the phase-locked loop module (120) is used for outputting a processing clock signal according to the reference clock signal; the phase-locked loop power source module (130) is used for supplying power to the phase-locked loop module (120); the phase-locked loop fault detection module (140) is used for determining the working state of the phase-locked loop module (120) according to a power supply voltage of the phase-locked loop power source module (130) and the processing clock signal; and the phase-locked loop fault processing module (150) is used for controlling the phase-locked loop module (120) and/or the phase-locked loop power source module (130) according to the working state of the phase-locked loop module (120), and determining an output clock signal. The present invention further relates to a processing method and an electronic apparatus.

Description

时钟系统、电子装置、处理方法Clock system, electronic device, processing method 技术领域Technical field
本发明涉及电子技术领域,特别涉及一种时钟系统、电子装置、处理方法。The present invention relates to the field of electronic technologies, and in particular, to a clock system, an electronic device, and a processing method.
背景技术Background technique
在相关技术中,应用锁相环的时钟系统在锁相环发生故障时容易出现工作异常的问题,特别是要求高可靠性的时钟系统,例如军用或铁路信号控制时钟系统。In the related art, a clock system using a phase locked loop is prone to an abnormal operation problem when a phase locked loop fails, particularly a clock system requiring high reliability, such as a military or railway signal control clock system.
发明内容Summary of the invention
本发明的实施例提供一种时钟系统、电子装置、处理方法。Embodiments of the present invention provide a clock system, an electronic device, and a processing method.
本发明提供一种时钟系统,包括:The invention provides a clock system, comprising:
参考时钟模块,所述参考时钟模块用于输出参考时钟信号;a reference clock module, the reference clock module is configured to output a reference clock signal;
锁相环模块,所述锁相环模块用于根据所述参考时钟信号输出处理时钟信号;a phase locked loop module, wherein the phase locked loop module is configured to output a processing clock signal according to the reference clock signal;
锁相环电源模块,所述锁相环电源模块用于为所述锁相环模块供电;a phase-locked loop power module, wherein the phase-locked loop power module is configured to supply power to the phase-locked loop module;
锁相环故障监测模块,所述锁相环故障监测模块用于根据所述锁相环电源模块的供电电压和所述处理时钟信号确定所述锁相环模块的工作状态;和a phase-locked loop fault monitoring module, wherein the phase-locked loop fault monitoring module is configured to determine an operating state of the phase-locked loop module according to a power supply voltage of the phase-locked loop power supply module and the processing clock signal; and
锁相环故障处理模块,所述锁相环故障处理模块用于根据所述锁相环模块的工作状态控制所述锁相环模块和/或所述锁相环电源模块及确定输出时钟信号。The phase-locked loop fault processing module is configured to control the phase-locked loop module and/or the phase-locked loop power module according to an operating state of the phase-locked loop module and determine an output clock signal.
本发明提供一种电子装置,包括所述时钟系统。The present invention provides an electronic device including the clock system.
本发明提供一种处理方法,用于时钟系统,所述时钟系统包括参考时钟模块、锁相环模块、锁相环电源模块、锁相环故障监测模块和锁相环故障处理模块,所述锁相环电源模块用于为所述锁相环模块供电,所述处理方法包括:The present invention provides a processing method for a clock system, the clock system including a reference clock module, a phase locked loop module, a phase locked loop power module, a phase locked loop fault monitoring module, and a phase locked loop fault processing module, the lock The phase loop power module is configured to supply power to the phase locked loop module, and the processing method includes:
所述参考时钟模块输出参考时钟信号;The reference clock module outputs a reference clock signal;
所述锁相环模块根据所述参考时钟信号输出处理时钟信号;The phase locked loop module outputs a processing clock signal according to the reference clock signal;
所述锁相环故障监测模块根据所述锁相环电源模块的供电电压和所述处理时钟信号确定所述锁相环模块的工作状态;和The phase-locked loop fault monitoring module determines an operating state of the phase-locked loop module according to a power supply voltage of the phase-locked loop power module and the processing clock signal; and
所述锁相环故障处理模块根据所述锁相环模块的工作状态控制所述锁相环模块和/或所述锁相环电源模块及确定输出时钟信号。The phase-locked loop fault processing module controls the phase-locked loop module and/or the phase-locked loop power module according to an operating state of the phase-locked loop module and determines an output clock signal.
本发明实施方式的时钟系统、电子装置、处理方法通过锁相环故障监测模块监测锁相环模块的工作状态,根据锁相环模块的工作状态控制锁相环模块和确定输出时钟信号,从而在锁相环模块故障时,时钟系统可以正常工作,并可以实现锁相环模块的自校正,从而 提高了时钟系统的可靠性。The clock system, the electronic device and the processing method of the embodiment of the invention monitor the working state of the phase-locked loop module through the phase-locked loop fault monitoring module, control the phase-locked loop module according to the working state of the phase-locked loop module, and determine the output clock signal, thereby When the phase-locked loop module fails, the clock system can work normally, and the self-correction of the phase-locked loop module can be realized, thereby Improve the reliability of the clock system.
本发明的实施方式的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实施方式的实践了解到。The additional aspects and advantages of the embodiments of the present invention will be set forth in part in the description which follows.
附图说明DRAWINGS
本发明的上述和/或附加的方面和优点从结合下面附图对实施方式的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from
图1是本发明实施方式的时钟系统的模块示意图;1 is a block diagram of a clock system according to an embodiment of the present invention;
图2是本发明实施方式的处理方法的流程示意图;2 is a schematic flow chart of a processing method according to an embodiment of the present invention;
图3是本发明实施方式的时钟系统的另一个模块示意图;3 is another schematic diagram of a module of a clock system according to an embodiment of the present invention;
图4是本发明实施方式的处理方法的另一个流程示意图;4 is another schematic flowchart of a processing method according to an embodiment of the present invention;
图5是本发明实施方式的时钟系统的再一个模块示意图;FIG. 5 is a schematic diagram of still another module of the clock system according to an embodiment of the present invention; FIG.
图6是本发明实施方式的处理方法的再一个流程示意图;6 is a schematic flow chart of still another processing method according to an embodiment of the present invention;
图7是本发明实施方式的时钟系统的又一个模块示意图;7 is another schematic block diagram of a clock system according to an embodiment of the present invention;
图8是本发明实施方式的处理方法的又一个流程示意图;FIG. 8 is still another schematic flowchart of a processing method according to an embodiment of the present invention; FIG.
图9是本发明实施方式的时钟系统的又一个模块示意图;9 is another schematic block diagram of a clock system according to an embodiment of the present invention;
图10是本发明实施方式的处理方法的又一个流程示意图;FIG. 10 is still another schematic flowchart of a processing method according to an embodiment of the present invention; FIG.
图11是本发明实施方式的时钟系统的又一个模块示意图;11 is another schematic block diagram of a clock system according to an embodiment of the present invention;
图12是本发明实施方式的处理方法的又一个流程示意图;FIG. 12 is still another schematic flowchart of a processing method according to an embodiment of the present invention; FIG.
图13是本发明实施方式的处理方法的又一个流程示意图;FIG. 13 is still another schematic flowchart of a processing method according to an embodiment of the present invention; FIG.
图14是本发明实施方式的时钟系统的又一个模块示意图;14 is another schematic block diagram of a clock system according to an embodiment of the present invention;
图15是本发明实施方式的处理方法的又一个流程示意图。15 is a schematic flow chart of still another processing method of an embodiment of the present invention.
主要元件符号附图说明:The main component symbol drawing description:
时钟系统100、参考时钟模块110、锁相环模块120、鉴相器122、滤波器124、压控振荡器126、分频器128、锁相环电源模块130、锁相环故障监测模块140、模数转换器142、锁相环时钟频率分析单元144、锁相环时钟抖动分析单元146、锁相环故障处理模块150、时钟输出控制单元152。The clock system 100, the reference clock module 110, the phase locked loop module 120, the phase detector 122, the filter 124, the voltage controlled oscillator 126, the frequency divider 128, the phase locked loop power module 130, the phase locked loop fault monitoring module 140, The analog to digital converter 142, the phase locked loop clock frequency analyzing unit 144, the phase locked loop clock jitter analyzing unit 146, the phase locked loop fault processing module 150, and the clock output control unit 152.
具体实施方式Detailed ways
下面详细描述本发明的实施方式,所述实施方式的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。 The embodiments of the present invention are described in detail below, and the examples of the embodiments are illustrated in the drawings, wherein the same or similar reference numerals indicate the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the drawings are intended to be illustrative of the invention and are not to be construed as limiting.
在本发明的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”、“顺时针”、“逆时针”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本发明的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", " Orientations of "post", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", etc. The positional relationship is based on the orientation or positional relationship shown in the drawings, and is merely for the convenience of the description of the present invention and the simplified description, and is not intended to indicate or imply that the device or component referred to has a specific orientation, and is constructed and operated in a specific orientation. Therefore, it should not be construed as limiting the invention. Moreover, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining "first" or "second" may include one or more of the described features either explicitly or implicitly. In the description of the present invention, the meaning of "a plurality" is two or more unless specifically and specifically defined otherwise.
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接。可以是机械连接,也可以是电连接。可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that the terms "installation", "connected", and "connected" are to be understood broadly, and may be fixed or detachable, for example, unless otherwise explicitly defined and defined. Connected, or connected in one piece. It can be a mechanical connection or an electrical connection. It can be directly connected or indirectly connected through an intermediate medium, which can be the internal communication of two elements or the interaction of two elements. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood on a case-by-case basis.
请参阅图1,本发明实施方式的时钟系统100包括参考时钟模块110、锁相环模块(Phase Locked Loop,PLL)120、锁相环电源模块130、锁相环故障监测模块140和锁相环故障处理模块150。参考时钟模块110用于输出参考时钟信号。锁相环模块120用于根据参考时钟信号输出处理时钟信号。锁相环电源模块130用于为锁相环模块120供电。锁相环故障监测模块140用于根据锁相环电源模块130的供电电压和处理时钟信号确定锁相环模块120的工作状态。锁相环故障处理模块150用于根据锁相环模块120的工作状态控制锁相环模块120和/或锁相环电源模块130及确定输出时钟信号。Referring to FIG. 1 , a clock system 100 of an embodiment of the present invention includes a reference clock module 110 , a phase locked loop module (PLL) 120 , a phase locked loop power module 130 , a phase locked loop fault monitoring module 140 , and a phase locked loop . The fault handling module 150. The reference clock module 110 is for outputting a reference clock signal. The phase locked loop module 120 is configured to output a processing clock signal according to the reference clock signal. The phase locked loop power module 130 is used to supply power to the phase locked loop module 120. The phase locked loop fault monitoring module 140 is configured to determine the operating state of the phase locked loop module 120 according to the power supply voltage and the processing clock signal of the phase locked loop power module 130. The phase locked loop fault processing module 150 is configured to control the phase locked loop module 120 and/or the phase locked loop power module 130 according to the working state of the phase locked loop module 120 and determine the output clock signal.
请参阅图2,本发明实施方式的处理方法可以用于时钟系统100。时钟系统100包括参考时钟模块110、锁相环模块120、锁相环电源模块130、锁相环故障监测模块140和锁相环故障处理模块150。锁相环电源模块130用于为锁相环模块120供电。处理方法包括:Referring to FIG. 2, a processing method of an embodiment of the present invention may be applied to the clock system 100. The clock system 100 includes a reference clock module 110, a phase locked loop module 120, a phase locked loop power module 130, a phase locked loop fault monitoring module 140, and a phase locked loop fault processing module 150. The phase locked loop power module 130 is used to supply power to the phase locked loop module 120. Processing methods include:
步骤S110:参考时钟模块110输出参考时钟信号;Step S110: The reference clock module 110 outputs a reference clock signal;
步骤S120:锁相环模块120根据参考时钟信号输出处理时钟信号;Step S120: The phase locked loop module 120 outputs a processing clock signal according to the reference clock signal;
步骤S130:锁相环故障监测模块140根据锁相环电源模块130的供电电压和处理时钟信号确定锁相环模块120的工作状态;和Step S130: The phase-locked loop fault monitoring module 140 determines the working state of the phase-locked loop module 120 according to the power supply voltage and the processing clock signal of the phase-locked loop power module 130; and
步骤S140:锁相环故障处理模块150根据锁相环模块120的工作状态控制锁相环模块120和/或锁相环电源模块130及确定输出时钟信号。Step S140: The phase locked loop fault processing module 150 controls the phase locked loop module 120 and/or the phase locked loop power module 130 according to the working state of the phase locked loop module 120 and determines the output clock signal.
本发明实施方式的处理方法可以由本发明实施方式的时钟系统100实现,其中,步骤S110可以由参考时钟模块110实现,步骤S120可以由锁相环模块120实现,步骤S130可以由锁相环故障监测模块140实现,步骤S140可以由锁相环故障处理模块150实现。 The processing method of the embodiment of the present invention may be implemented by the clock system 100 of the embodiment of the present invention. Step S110 may be implemented by the reference clock module 110, step S120 may be implemented by the phase locked loop module 120, and step S130 may be monitored by the phase locked loop fault. The module 140 is implemented, and the step S140 can be implemented by the phase locked loop fault processing module 150.
本发明实施方式的时钟系统100可以应用于本发明实施方式的电子装置,或者说,本发明实施方式的电子装置包括本发明实施方式的时钟系统100。The clock system 100 of the embodiment of the present invention can be applied to the electronic device of the embodiment of the present invention, or the electronic device of the embodiment of the present invention includes the clock system 100 of the embodiment of the present invention.
本发明实施方式的时钟系统100、电子装置、处理方法通过锁相环故障监测模块140监测锁相环模块120的工作状态,根据锁相环模块120的工作状态控制锁相环模块120和确定输出时钟信号,从而在锁相环模块120故障时,时钟系统100可以正常工作,并可以实现锁相环模块120的自校正,从而提高了时钟系统100的可靠性。The clock system 100, the electronic device, and the processing method of the embodiment of the present invention monitor the working state of the phase-locked loop module 120 through the phase-locked loop fault monitoring module 140, and control the phase-locked loop module 120 and determine the output according to the working state of the phase-locked loop module 120. The clock signal, so that when the phase locked loop module 120 fails, the clock system 100 can work normally, and the self-correction of the phase locked loop module 120 can be implemented, thereby improving the reliability of the clock system 100.
在某些实施方式中,参考时钟模块110可以包括晶体振荡器、RC振荡器、LC振荡器等振荡电路。电子装置包括手机、平板电脑、笔记本电脑、智能手环、智能手表、智能头盔、智能眼镜等。In some embodiments, the reference clock module 110 can include an oscillator circuit such as a crystal oscillator, an RC oscillator, an LC oscillator, or the like. Electronic devices include mobile phones, tablets, laptops, smart bracelets, smart watches, smart helmets, smart glasses, and the like.
在某些实施方式中,锁相环模块120的工作状态包括:正常和异常,锁相环模块120异常包括:处理时钟信号频率异常、处理时钟信号抖动异常和供电电压异常。在一个实施方式中,可以用三位二进制数来表示锁相环模块120的工作状态,例如000表示锁相环模块120正常,001表示处理时钟信号频率异常,010表示处理时钟信号抖动异常,100表示供电电压异常,011表示处理时钟信号频率异常和处理时钟信号抖动异常,101表示处理时钟信号频率异常和供电电压异常,110表示处理时钟信号抖动异常和供电电压异常,111表示处理时钟信号频率异常、处理时钟信号抖动异常和供电电压异常。In some embodiments, the operational states of the phase-locked loop module 120 include: normal and abnormal, and the phase-locked loop module 120 anomalies include: processing clock signal frequency anomalies, processing clock signal jitter anomalies, and supply voltage anomalies. In one embodiment, the operating state of the phase locked loop module 120 can be represented by a three-digit binary number, for example, 000 indicates that the phase locked loop module 120 is normal, 001 indicates that the processing clock signal frequency is abnormal, and 010 indicates that the processing clock signal jitter is abnormal, 100. Indicates that the power supply voltage is abnormal, 011 indicates that the processing clock signal frequency is abnormal and the processing clock signal jitter is abnormal, 101 indicates that the processing clock signal frequency is abnormal and the power supply voltage is abnormal, 110 indicates the processing clock signal jitter abnormality and the power supply voltage abnormality, and 111 indicates that the processing clock signal frequency is abnormal. Handle clock signal jitter and power supply voltage abnormality.
在某些实施方式中,锁相环故障监测模块140根据锁相环电源模块130的供电电压和处理时钟信号确定锁相环模块120的工作状态,可以理解为,锁相环故障监测模块140根据锁相环电源模块130的供电电压确定锁相环模块120的工作状态是否包括供电电压异常,还有锁相环故障监测模块140根据处理时钟信号确定锁相环模块120的工作状态是否包括处理时钟信号频率异常和是否包括处理时钟信号抖动异常。In some embodiments, the phase-locked loop fault monitoring module 140 determines the operating state of the phase-locked loop module 120 according to the supply voltage and the processing clock signal of the phase-locked loop power module 130. It can be understood that the phase-locked loop fault monitoring module 140 is The power supply voltage of the phase-locked loop power module 130 determines whether the operating state of the phase-locked loop module 120 includes the power supply voltage abnormality, and the phase-locked loop fault monitoring module 140 determines whether the operating state of the phase-locked loop module 120 includes the processing clock according to the processing clock signal. Abnormal signal frequency and whether the processing clock signal jitter is abnormal.
在某些实施方式中,锁相环故障处理模块150根据锁相环模块120的工作状态控制锁相环模块120和/或锁相环电源模块130,可以理解为,锁相环故障处理模块150根据锁相环模块120的工作状态控制锁相环模块120,或锁相环故障处理模块150根据锁相环模块120的工作状态控制锁相环电源模块130,或锁相环故障处理模块150根据锁相环模块120的工作状态控制锁相环模块120和锁相环电源模块130。例如,在锁相环模块120的工作状态包括处理时钟信号频率异常和/或处理时钟信号抖动异常时,锁相环故障处理模块150可以控制锁相环模块120;在锁相环模块120的工作状态包括供电电压异常时,锁相环故障处理模块150可以控制锁相环电源模块130。In some embodiments, the phase-locked loop fault processing module 150 controls the phase-locked loop module 120 and/or the phase-locked loop power module 130 according to the operating state of the phase-locked loop module 120. It can be understood that the phase-locked loop fault processing module 150 The phase-locked loop module 120 is controlled according to the working state of the phase-locked loop module 120, or the phase-locked loop fault processing module 150 controls the phase-locked loop power module 130 according to the working state of the phase-locked loop module 120, or the phase-locked loop fault processing module 150 is The working state of the phase locked loop module 120 controls the phase locked loop module 120 and the phase locked loop power module 130. For example, when the operating state of the phase locked loop module 120 includes abnormality of the processing clock signal frequency and/or abnormality of the processing clock signal, the phase locked loop fault processing module 150 can control the phase locked loop module 120; the operation of the phase locked loop module 120 When the state includes the abnormality of the power supply voltage, the phase locked loop fault processing module 150 can control the phase locked loop power supply module 130.
在某些实施方式中,锁相环故障处理模块150包括微控制单元(MCU),微控制单元用于控制参考时钟模块110、锁相环模块120,其中微控制单元存储有配置寄存器,微控制单元根据配置寄存器中的倍频数控制锁相环模块120输出对应的处理时钟信号。 In some embodiments, the phase locked loop fault processing module 150 includes a micro control unit (MCU) for controlling the reference clock module 110 and the phase locked loop module 120, wherein the micro control unit stores a configuration register, and the micro control The unit controls the phase locked loop module 120 to output a corresponding processing clock signal according to the multiplication frequency in the configuration register.
在某些实施方式中,在锁相环电源模块130的供电电压出现异常时,锁相环模块120处于工作异常状态,因此锁相环电源模块130可以将供电电压发送给锁相环故障监测模块140,锁相环故障监测模块140判断接收到的供电电压是否异常,在供电电压异常时确定锁相环模块120的工作状态包括供电电压异常。锁相环故障处理模块150在锁相环电源模块130的供电电压异常时,可以改变锁相环电压控制寄存器中的参数(锁相环电压控制寄存器可以位于锁相环故障处理模块150的微控制单元中),并根据该锁相环电压控制寄存器中的参数控制锁相环电源模块130以使锁相环电源模块130输出的供电电压恢复正常。在一个实施例中,锁相环故障监测模块140判断锁相环电源模块130输出的供电电压不足,则锁相环故障处理模块150调高锁相环电压控制寄存器中的电压值参数,从而根据调高后的电压值参数控制锁相环电源模块130提高供电电压。In some embodiments, when the power supply voltage of the phase-locked loop power module 130 is abnormal, the phase-locked loop module 120 is in an abnormal working state, so the phase-locked loop power module 130 can send the power supply voltage to the phase-locked loop fault monitoring module. 140. The phase-locked loop fault monitoring module 140 determines whether the received power supply voltage is abnormal. When the power supply voltage is abnormal, determining the working state of the phase-locked loop module 120 includes the abnormality of the power supply voltage. The phase locked loop fault processing module 150 can change the parameters in the phase locked loop voltage control register when the power supply voltage of the phase locked loop power supply module 130 is abnormal (the phase locked loop voltage control register can be located in the micro control of the phase locked loop fault processing module 150) In the unit), and controlling the phase-locked loop power module 130 according to the parameters in the phase-locked loop voltage control register to restore the power supply voltage output by the phase-locked loop power module 130 to normal. In one embodiment, the phase-locked loop fault monitoring module 140 determines that the power supply voltage output by the phase-locked loop power module 130 is insufficient, and the phase-locked loop fault processing module 150 increases the voltage value parameter in the phase-locked loop voltage control register, thereby The voltage value parameter after the increase is controlled to control the phase locked loop power supply module 130 to increase the supply voltage.
在某些实施方式中,参考时钟信号为参考时钟模块110输出的时钟信号。处理时钟信号为锁相环模块120输出的时钟信号,处理时钟信号一般为参考时钟信号的倍频,比如处理时钟信号为参考时钟信号的一倍频、二倍频、三倍频等,其中处理时钟信号为参考时钟信号的一倍频时,处理时钟信号与参考时钟信号近似相同。输出时钟信号为时钟系统100最终输出的时钟信号。In some embodiments, the reference clock signal is a clock signal output by reference clock module 110. The processing clock signal is a clock signal output by the phase locked loop module 120, and the processing clock signal is generally a frequency multiplication of the reference clock signal, for example, the processing clock signal is a multiple of the reference clock signal, a double frequency, a triple frequency, etc., wherein the processing When the clock signal is a multiple of the reference clock signal, the processing clock signal is approximately the same as the reference clock signal. The output clock signal is the clock signal that is ultimately output by the clock system 100.
请参阅图3,在某些实施方式中,锁相环故障监测模块140包括模数转换器(Analog-to-Digital Converter,ADC)142,模数转换器142用于将供电电压转换为数字电压,锁相环故障监测模块140用于比较数字电压和预定电压以确定锁相环模块120的工作状态。Referring to FIG. 3, in some embodiments, the phase-locked loop fault monitoring module 140 includes an Analog-to-Digital Converter (ADC) 142 for converting a supply voltage to a digital voltage. The phase locked loop fault monitoring module 140 is configured to compare the digital voltage with a predetermined voltage to determine an operating state of the phase locked loop module 120.
请参阅图4,在某些实施方式中,锁相环故障监测模块140包括模数转换器142,步骤S130包括:Referring to FIG. 4, in some embodiments, the phase locked loop fault monitoring module 140 includes an analog to digital converter 142, and step S130 includes:
步骤S132:模数转换器142将供电电压转换为数字电压;Step S132: The analog-to-digital converter 142 converts the power supply voltage into a digital voltage;
步骤S134:锁相环故障监测模块140比较数字电压和预定电压以确定锁相环模块120的工作状态。Step S134: The phase locked loop fault monitoring module 140 compares the digital voltage with the predetermined voltage to determine the operating state of the phase locked loop module 120.
也即是说,步骤S132可以由模数转换器142实现,步骤S134可以由锁相环故障监测模块140实现。That is, step S132 can be implemented by analog to digital converter 142, which can be implemented by phase locked loop fault monitoring module 140.
如此,可以通过模数转换器142判断供电电压是否异常。In this manner, it is possible to determine whether the power supply voltage is abnormal by the analog-to-digital converter 142.
具体地,由于锁相环电源模块130的供电电压一般为模拟电压,为了方便判断供电电压是否异常,可以先将模拟供电电压转换为数字电压,从而利用锁相环故障监测模块140比较数字电压和预定电压,例如判断数字电压是否处于预定电压的电压误差范围内,若数字电压位于预定电压的电压误差范围内,则可以判断供电电压正常,从而确定锁相环模块120的工作状态包括供电电压正常,若数字电压位于预定电压的电压误差范围外,则可以 判断供电电压异常,从而确定锁相环模块120的工作状态包括供电电压异常。Specifically, since the power supply voltage of the phase-locked loop power supply module 130 is generally an analog voltage, in order to conveniently determine whether the power supply voltage is abnormal, the analog power supply voltage may be first converted into a digital voltage, thereby using the phase-locked loop fault monitoring module 140 to compare the digital voltage and The predetermined voltage, for example, determines whether the digital voltage is within a voltage error range of the predetermined voltage. If the digital voltage is within the voltage error range of the predetermined voltage, it may be determined that the power supply voltage is normal, thereby determining the operating state of the phase locked loop module 120 including the normal supply voltage. If the digital voltage is outside the voltage error range of the predetermined voltage, then It is judged that the power supply voltage is abnormal, thereby determining that the operating state of the phase locked loop module 120 includes the abnormality of the power supply voltage.
需要说明的是,预定电压和电压误差范围可以根据实际采用的锁相环模块120所需的工作电压确定,也可以根据工作人员预先输入确定,在此不做具体限定。在一个实施例中,预定电压为3V,电压误差范围为±0.1V,即供电电压在2.9V-3.1V的范围时,供电电压正常,供电电压小于2.9V或大于3.1V时,供电电压异常。It should be noted that the predetermined voltage and voltage error ranges may be determined according to the operating voltage required by the phase-locked loop module 120 actually used, or may be determined according to the input of the staff in advance, and are not specifically limited herein. In one embodiment, the predetermined voltage is 3V, and the voltage error range is ±0.1V, that is, when the power supply voltage is in the range of 2.9V-3.1V, the power supply voltage is normal, and when the power supply voltage is less than 2.9V or greater than 3.1V, the power supply voltage is abnormal. .
在某些实施方式中,模数转换器142包括逐次逼近寄存器型的模数转换器(SAR ADC),采用SAR ADC可以降低时钟系统100的功耗。In some embodiments, the analog to digital converter 142 includes a successive approximation register type analog to digital converter (SAR ADC) that can be used to reduce the power consumption of the clock system 100.
请参阅图5,在某些实施方式中,锁相环故障监测模块140包括锁相环时钟频率分析单元144,锁相环时钟频率分析单元144用于获取处理时钟信号的频率并根据处理时钟信号的频率和预定频率的比较结果确定锁相环模块120的工作状态。Referring to FIG. 5, in some embodiments, the phase locked loop fault monitoring module 140 includes a phase locked loop clock frequency analyzing unit 144, and the phase locked loop clock frequency analyzing unit 144 is configured to acquire a frequency of the processing clock signal according to the processing clock signal. The comparison of the frequency and the predetermined frequency determines the operational state of the phase locked loop module 120.
请参阅图6,在某些实施方式中,锁相环故障监测模块140包括锁相环时钟频率分析单元144,步骤S130包括:Referring to FIG. 6, in some embodiments, the phase-locked loop fault monitoring module 140 includes a phase-locked loop clock frequency analyzing unit 144, and the step S130 includes:
步骤S136:锁相环时钟频率分析单元144获取处理时钟信号的频率并根据处理时钟信号的频率和预定频率的比较结果确定锁相环模块120的工作状态。Step S136: The phase locked loop clock frequency analyzing unit 144 acquires the frequency of the processing clock signal and determines the operating state of the phase locked loop module 120 according to the comparison result of the frequency of the processing clock signal and the predetermined frequency.
也即是说,步骤S136可以由锁相环时钟频率分析单元144实现。That is to say, step S136 can be implemented by the phase locked loop clock frequency analyzing unit 144.
如此,可以判断处理时钟信号的频率是否异常,从而确定锁相环模块120的工作状态。In this way, it can be determined whether the frequency of the processing clock signal is abnormal, thereby determining the operating state of the phase locked loop module 120.
具体地,锁相环时钟频率分析单元144通过处理处理时钟信号以获取处理时钟信号的频率,再将处理时钟信号的频率与预定频率进行比较,判断处理时钟信号的频率是否处于预定频率的频率误差范围内,在处理时钟信号的频率处于预定频率的误差范围内时,则可以判断锁相环模块120的工作状态包括处理时钟信号频率正常,若处理时钟信号的频率处于预定频率的误差范围外时,则可以判断锁相环模块120的工作状态包括处理时钟信号频率异常。Specifically, the phase locked loop clock frequency analyzing unit 144 processes the processing clock signal to obtain the frequency of the processing clock signal, compares the frequency of the processing clock signal with a predetermined frequency, and determines whether the frequency of the processing clock signal is at a frequency error of a predetermined frequency. In the range, when the frequency of the processing clock signal is within the error range of the predetermined frequency, it can be determined that the operating state of the phase locked loop module 120 includes the processing clock signal frequency being normal, and if the frequency of the processing clock signal is outside the error range of the predetermined frequency Then, it can be determined that the operating state of the phase locked loop module 120 includes processing the clock signal frequency abnormality.
需要说明的是,预定频率和频率误差范围可以根据实际所需的时钟频率确定,也可以根据工作人员预先输入确定,在此不做具体限定。在一个实施例中,预定频率为200MHz,频率误差范围为±1MHz,即处理时钟信号的频率在199MHz-201MHz的范围时,处理时钟信号频率正常,处理时钟信号的频率小于199MHz或大于201MHz时,处理时钟信号频率异常。It should be noted that the predetermined frequency and the frequency error range may be determined according to the actual required clock frequency, or may be determined according to the input of the staff in advance, and are not specifically limited herein. In one embodiment, the predetermined frequency is 200 MHz, and the frequency error range is ±1 MHz, that is, when the frequency of the processing clock signal is in the range of 199 MHz to 201 MHz, the processing clock signal frequency is normal, and when the frequency of the processing clock signal is less than 199 MHz or greater than 201 MHz, The clock signal processing frequency is abnormal.
在某些实施方式中,在处理时钟信号频率异常时,可以改变锁相环频率控制寄存器中的参数(锁相环频率控制寄存器可以位于锁相环故障处理模块150的微控制单元中),并根据该锁相环频率控制寄存器中的参数控制锁相环模块120以使锁相环模块120输出的处理时钟信号恢复正常。在一个实施例中,锁相环时钟频率分析单元144判断处理时钟信号频率偏高,则锁相环故障处理模块150调低锁相环频率控制寄存器中的频率值参数,从而根 据调低后的频率值参数控制锁相环模块120降低输出的处理时钟信号的频率。In some embodiments, the parameters in the phase locked loop frequency control register can be changed when the frequency of the processing clock signal is abnormal (the phase locked loop frequency control register can be located in the micro control unit of the phase locked loop fault processing module 150), and The phase locked loop module 120 is controlled according to the parameters in the phase locked loop frequency control register to restore the processing clock signal output by the phase locked loop module 120 to normal. In one embodiment, the phase-locked loop clock frequency analysis unit 144 determines that the frequency of the processing clock signal is too high, and the phase-locked loop fault processing module 150 lowers the frequency value parameter in the phase-locked loop frequency control register, thereby The frequency-locked loop module 120 controls the phase-locked loop module 120 to reduce the frequency of the output processing clock signal.
请参阅图7,在某些实施方式中,锁相环故障监测模块140包括锁相环时钟抖动分析单元146,锁相环时钟抖动分析单元146用于接收参考时钟信号并比较参考时钟信号和处理时钟信号以确定锁相环模块120的工作状态。Referring to FIG. 7, in some embodiments, the phase locked loop fault monitoring module 140 includes a phase locked loop clock jitter analysis unit 146 for receiving a reference clock signal and comparing the reference clock signal and processing. The clock signal determines the operational state of the phase locked loop module 120.
请参阅图8,在某些实施方式中,锁相环故障监测模块140包括锁相环时钟抖动分析单元146,步骤S130包括:Referring to FIG. 8, in some embodiments, the phase-locked loop fault monitoring module 140 includes a phase-locked loop clock jitter analysis unit 146, and the step S130 includes:
步骤S138:锁相环时钟抖动分析单元146接收参考时钟信号并比较参考时钟信号和处理时钟信号以确定锁相环模块120的工作状态。Step S138: The phase locked loop clock jitter analysis unit 146 receives the reference clock signal and compares the reference clock signal and the processing clock signal to determine the operating state of the phase locked loop module 120.
也即是说,步骤S138可以由锁相环时钟抖动分析单元146实现。That is to say, step S138 can be implemented by the phase locked loop clock jitter analysis unit 146.
如此,可以判断处理时钟信号是否出现抖动,从而确定锁相环模块120的工作状态。In this way, it can be determined whether the processing clock signal has jitter, thereby determining the operating state of the phase locked loop module 120.
具体地,锁相环时钟抖动分析单元146将参考时钟信号和处理时钟信号进行比较,从而判断出处理时钟信号是否出现抖动,例如在一个上升沿后,获取参考时钟信号的高电平持续时间,在相同的一个上升沿后,获取处理时钟信号的高电平持续时间,在参考时钟信号的高电平持续时间与处理时钟信号的高电平持续时间一致时,判断处理时钟信号没出现抖动,锁相环模块120的工作状态包括处理时钟信号抖动正常,在参考时钟信号的高电平持续时间与处理时钟信号的高电平持续时间不一致时,判断处理时钟信号出现抖动,锁相环模块120的工作状态包括处理时钟信号抖动异常。Specifically, the phase-locked loop clock jitter analysis unit 146 compares the reference clock signal with the processing clock signal to determine whether the processing clock signal has jitter, for example, after a rising edge, acquires a high-level duration of the reference clock signal, After the same rising edge, the high-level duration of the processing clock signal is obtained. When the high-level duration of the reference clock signal coincides with the high-level duration of the processing clock signal, it is determined that the processing clock signal does not exhibit jitter. The working state of the phase locked loop module 120 includes that the processing clock signal jitter is normal. When the high level duration of the reference clock signal does not coincide with the high level duration of the processing clock signal, it is determined that the processing clock signal is jittery, and the phase locked loop module 120 The working state includes handling clock signal jitter anomalies.
在某些实施方式中,在处理时钟信号抖动异常时,可以改变锁相环电压控制寄存器中的参数和/或锁相环频率控制寄存器中的参数以调节锁相环模块120(锁相环电压控制寄存器中的参数和/或锁相环频率控制寄存器中的参数,可以理解为,锁相环电压控制寄存器中的参数,或锁相环频率控制寄存器中的参数,或锁相环电压控制寄存器中的参数和锁相环频率控制寄存器中的参数)。在一个实施例中,在处理时钟信号抖动异常时,通过锁相环电压控制寄存器中的参数控制锁相环电源模块130停止向锁相环模块120供电,在预定停止时间后,重新控制锁相环电源模块130向锁相环模块120供电。其中,预定停止时间可根据用户实际需求进行设置,为了减少锁相环电源模块130停止向锁相环模块120供电带来的不利影响,预定停止时间可以取较小值,例如小于50毫秒。In some embodiments, when processing the clock signal jitter anomaly, the parameters in the phase locked loop voltage control register and/or the parameters in the phase locked loop frequency control register can be changed to adjust the phase locked loop module 120 (phase locked loop voltage) The parameters in the control register and/or the parameters in the phase-locked loop frequency control register can be understood as parameters in the phase-locked loop voltage control register, or in the phase-locked loop frequency control register, or in the phase-locked loop voltage control register. The parameters in the parameters and the parameters in the phase-locked loop frequency control register). In one embodiment, when the processing clock signal jitter is abnormal, the phase-locked loop power module 130 is controlled to stop supplying power to the phase-locked loop module 120 through a parameter in the phase-locked loop voltage control register, and after the predetermined stop time, the phase-locked loop is re-controlled. The ring power module 130 supplies power to the phase locked loop module 120. The predetermined stop time may be set according to the actual needs of the user. To reduce the adverse effect of the phase-locked loop power module 130 stopping the power supply to the phase-locked loop module 120, the predetermined stop time may take a small value, for example, less than 50 milliseconds.
请参阅图9,在某些实施方式中,锁相环模块120包括鉴相器122、滤波器124、压控振荡器126和分频器128,鉴相器122用于处理参考时钟信号和反馈时钟信号以判断参考时钟信号和反馈时钟信号的相位差并将相位差转换为误差电压,滤波器124用于对误差电压进行滤波,压控振荡器126用于根据滤波后的误差电压输出处理时钟信号,分频器128用于对处理时钟信号进行分频以获得反馈时钟信号。Referring to FIG. 9, in some embodiments, the phase locked loop module 120 includes a phase detector 122, a filter 124, a voltage controlled oscillator 126, and a frequency divider 128 for processing a reference clock signal and feedback. The clock signal determines the phase difference between the reference clock signal and the feedback clock signal and converts the phase difference into an error voltage, the filter 124 is used to filter the error voltage, and the voltage controlled oscillator 126 is configured to output the processing clock according to the filtered error voltage. The signal, frequency divider 128 is used to divide the processed clock signal to obtain a feedback clock signal.
请参阅图10,在某些实施方式中,锁相环模块120包括鉴相器122、滤波器124、压 控振荡器126和分频器128,步骤S120包括:Referring to FIG. 10, in some embodiments, the phase locked loop module 120 includes a phase detector 122, a filter 124, and a voltage Controlling the oscillator 126 and the frequency divider 128, the step S120 includes:
步骤S122:鉴相器122处理参考时钟信号和反馈时钟信号以判断参考时钟信号和反馈时钟信号的相位差并将相位差转换为误差电压;Step S122: the phase detector 122 processes the reference clock signal and the feedback clock signal to determine a phase difference between the reference clock signal and the feedback clock signal and convert the phase difference into an error voltage;
步骤S124:滤波器124对误差电压进行滤波;Step S124: The filter 124 filters the error voltage;
步骤S126:压控振荡器126根据滤波后的误差电压输出处理时钟信号;Step S126: the voltage controlled oscillator 126 outputs a processing clock signal according to the filtered error voltage;
步骤S128:分频器128对处理时钟信号进行分频以获得反馈时钟信号。Step S128: The frequency divider 128 divides the processing clock signal to obtain a feedback clock signal.
也即是说,步骤S122可以由鉴相器122实现,步骤S124可以由滤波器124实现,步骤S126可以由压控振荡器126实现,步骤S128可以由分频器128实现。That is to say, step S122 can be implemented by phase detector 122, step S124 can be implemented by filter 124, step S126 can be implemented by voltage controlled oscillator 126, and step S128 can be implemented by frequency divider 128.
如此,锁相环模块120可以根据参考时钟信号输出处理时钟信号。As such, the phase locked loop module 120 can output a processing clock signal according to the reference clock signal.
在某些实施方式中,鉴相器122包括电荷泵,电荷泵用于放大误差电压。滤波器可以为低通滤波器,用于滤除放大后的误差电压中的噪声部分,从而获得更加准确的误差电压。In some embodiments, phase detector 122 includes a charge pump for amplifying the error voltage. The filter can be a low pass filter that filters out the noise portion of the amplified error voltage to obtain a more accurate error voltage.
请参阅图11,在某些实施方式中,锁相环模块120的数量为多个,多个锁相环模块120用于输出多个处理时钟信号,锁相环故障监测模块140用于根据供电电压和多个处理时钟信号确定每个锁相环模块120的工作状态,锁相环故障处理模块150用于根据每个锁相环模块120的工作状态控制每个锁相环模块120和/或锁相环电源模块130及确定输出时钟信号。Referring to FIG. 11 , in some embodiments, the number of phase locked loop modules 120 is multiple, and the plurality of phase locked loop modules 120 are configured to output a plurality of processing clock signals, and the phase locked loop fault monitoring module 140 is configured to supply power according to the power supply. The voltage and the plurality of processing clock signals determine an operational state of each phase locked loop module 120, and the phase locked loop fault processing module 150 is configured to control each phase locked loop module 120 and/or according to the operating state of each phase locked loop module 120. The phase locked loop power module 130 and the output clock signal are determined.
请参阅图12,在某些实施方式中,锁相环模块120的数量为多个,步骤S120包括:Referring to FIG. 12, in some embodiments, the number of phase-locked loop modules 120 is multiple, and step S120 includes:
步骤S129:多个锁相环模块120输出多个处理时钟信号;Step S129: The plurality of phase locked loop modules 120 output a plurality of processing clock signals;
步骤S130包括:Step S130 includes:
步骤S139:锁相环故障监测模块140根据供电电压和多个处理时钟信号确定每个锁相环模块120的工作状态;Step S139: The phase locked loop fault monitoring module 140 determines the working state of each phase locked loop module 120 according to the power supply voltage and the plurality of processing clock signals;
步骤S140包括:Step S140 includes:
步骤S144:锁相环故障处理模块150根据每个锁相环模块120的工作状态控制每个锁相环模块120和/或锁相环电源模块130及确定输出时钟信号。Step S144: The phase locked loop fault processing module 150 controls each phase locked loop module 120 and/or the phase locked loop power supply module 130 according to the working state of each phase locked loop module 120 and determines an output clock signal.
也即是说,步骤S129可以由锁相环模块120实现,步骤S139可以由锁相环故障监测模块140实现,步骤S144可以由锁相环故障处理模块150实现。That is to say, step S129 can be implemented by the phase locked loop module 120, step S139 can be implemented by the phase locked loop fault monitoring module 140, and step S144 can be implemented by the phase locked loop fault processing module 150.
如此,在锁相环模块120的数量为多个时,锁相环故障监测模块140可以确定每个锁相环模块120的工作状态。As such, when the number of phase locked loop modules 120 is multiple, the phase locked loop fault monitoring module 140 can determine the operating state of each phase locked loop module 120.
具体地,为了提高时钟系统100工作的可靠性,时钟系统100可以包括多个锁相环模块120,多个锁相环模块120用于输出多个处理时钟信号。每个锁相环模块120的工作状态可能不相同,锁相环故障监测模块140可以根据供电电压和每个处理时钟信号确定对应的锁相环模块120的工作状态。 Specifically, in order to improve the reliability of the operation of the clock system 100, the clock system 100 may include a plurality of phase locked loop modules 120 for outputting a plurality of processing clock signals. The operating state of each phase-locked loop module 120 may be different. The phase-locked loop fault monitoring module 140 may determine the operating state of the corresponding phase-locked loop module 120 according to the power supply voltage and each processing clock signal.
在某些实施方式中,多个锁相环模块120共用一个锁相环电源模块130,确定该锁相环电源模块130的供电电压是否异常即可确定每个锁相环模块120的工作状态是否包括供电异常。在某些实施方式中,多个锁相环模块120采用不同锁相环电源模块130,可以通过分别确定多个锁相环电源模块130的供电电压是否异常来确定每个锁相环模块120的工作状态是否包括供电异常。In some embodiments, the plurality of phase-locked loop modules 120 share a phase-locked loop power module 130, and determine whether the power-on voltage of the phase-locked loop power module 130 is abnormal, and whether the working state of each phase-locked loop module 120 is determined. Including power supply anomalies. In some embodiments, the plurality of phase-locked loop modules 120 employ different phase-locked loop power modules 130, and each phase-locked loop module 120 can be determined by determining whether the supply voltages of the plurality of phase-locked loop power modules 130 are abnormal. Whether the working status includes abnormal power supply.
请参阅图11,在某些实施方式中,锁相环故障处理模块150用于控制多个锁相环模块120中的至少两个锁相环模块120同时工作。Referring to FIG. 11 , in some embodiments, the phase locked loop fault processing module 150 is configured to control at least two phase locked loop modules 120 of the plurality of phase locked loop modules 120 to operate simultaneously.
请参阅图13,在某些实施方式中,步骤S140包括:Referring to FIG. 13, in some embodiments, step S140 includes:
步骤S146:锁相环故障处理模块150控制多个锁相环模块120中的至少两个锁相环模块120同时工作。Step S146: The phase locked loop fault processing module 150 controls at least two phase locked loop modules 120 of the plurality of phase locked loop modules 120 to work simultaneously.
也即是说,步骤S146可以由锁相环故障处理模块150实现。That is to say, step S146 can be implemented by the phase locked loop fault processing module 150.
如此,在锁相环模块120的工作状态为异常时,可以及时切换到另一个锁相环模块120以保证时钟系统100能够正常工作。Thus, when the working state of the phase locked loop module 120 is abnormal, it can be switched to another phase locked loop module 120 in time to ensure that the clock system 100 can work normally.
具体地,由于锁相环模块120需要根据参考时钟信号和反馈时钟信号不断调整处理时钟信号,一般在稳定时间后锁相环模块120才能获得稳定的处理时钟信号,为了避免稳定时间对时钟系统100的正常工作造成影响,锁相环故障处理模块150可以控制多个锁相环模块120中的至少两个锁相环模块120同时工作,从而在一个锁相环模块120的工作状态异常时,可以利用另外一个已经能够稳定输出处理时钟信号的锁相环模块120来保证时钟系统100能够正常工作。Specifically, since the phase-locked loop module 120 needs to continuously adjust the processing clock signal according to the reference clock signal and the feedback clock signal, the phase-locked loop module 120 can generally obtain a stable processing clock signal after the stabilization time, in order to avoid the stabilization time for the clock system 100. The normal operation of the phase-locked loop fault processing module 150 can control at least two phase-locked loop modules 120 of the plurality of phase-locked loop modules 120 to work simultaneously, so that when the working state of a phase-locked loop module 120 is abnormal, The clocked loop module 120, which has been able to stably output the processed clock signal, is utilized to ensure that the clock system 100 is functioning properly.
请参阅图14,在某些实施方式中,锁相环故障处理模块150包括时钟输出控制单元152,时钟输出控制单元152用于在存在至少一个符合预定工作状态的锁相环模块120时输出一个符合预定工作状态的锁相环模块120的处理时钟信号以作为输出时钟信号,及用于在不存在符合预定工作状态的锁相环模块120时输出参考时钟信号以作为输出时钟信号。Referring to FIG. 14, in some embodiments, the phase locked loop fault processing module 150 includes a clock output control unit 152 for outputting one when there is at least one phase locked loop module 120 that meets a predetermined working state. The processing clock signal of the phase locked loop module 120 conforming to the predetermined working state is used as an output clock signal, and is used to output a reference clock signal as an output clock signal when there is no phase locked loop module 120 conforming to a predetermined operating state.
请参阅图15,在某些实施方式中,锁相环故障处理模块150包括时钟输出控制单元152,步骤S140包括:Referring to FIG. 15, in some embodiments, the phase locked loop fault processing module 150 includes a clock output control unit 152, and the step S140 includes:
步骤S148:在存在至少一个符合预定工作状态的锁相环模块120时,时钟输出控制单元152输出一个符合预定工作状态的锁相环模块120的处理时钟信号以作为输出时钟信号;和Step S148: when there is at least one phase locked loop module 120 that meets a predetermined working state, the clock output control unit 152 outputs a processing clock signal of the phase locked loop module 120 that meets a predetermined working state as an output clock signal;
步骤S149:在不存在符合预定工作状态的锁相环模块120时,时钟输出控制单元152输出参考时钟信号以作为输出时钟信号。Step S149: When there is no phase locked loop module 120 that meets the predetermined working state, the clock output control unit 152 outputs the reference clock signal as an output clock signal.
也即是说,步骤S148和S149可以由时钟输出控制单元152实现。That is to say, steps S148 and S149 can be implemented by the clock output control unit 152.
如此,时钟系统100可以通过时钟输出控制单元152输出合适的输出时钟信号。 As such, the clock system 100 can output a suitable output clock signal through the clock output control unit 152.
具体地,预定工作状态可以是指锁相环模块120的工作状态为正常,即在存在至少一个正常的锁相环模块120时,时钟输出控制单元152输出一个正常的锁相环模块120的处理时钟信号以作为输出时钟信号,在不存在正常的锁相环模块120时,时钟输出控制单元152输出参考信号以作为输出时钟信号。Specifically, the predetermined working state may refer to that the working state of the phase locked loop module 120 is normal, that is, when there is at least one normal phase locked loop module 120, the clock output control unit 152 outputs a normal phase locked loop module 120. The clock signal is used as an output clock signal, and when there is no normal phase-locked loop module 120, the clock output control unit 152 outputs a reference signal as an output clock signal.
在本发明中,除非另有明确的规定和限定,第一特征在第二特征之“上”或之“下”可以包括第一和第二特征直接接触,也可以包括第一和第二特征不是直接接触而是通过它们之间的另外的特征接触。而且,第一特征在第二特征“之上”、“上方”和“上面”包括第一特征在第二特征正上方和斜上方,或仅仅表示第一特征水平高度高于第二特征。第一特征在第二特征“之下”、“下方”和“下面”包括第一特征在第二特征正下方和斜下方,或仅仅表示第一特征水平高度小于第二特征。In the present invention, the first feature "on" or "under" the second feature may include direct contact of the first and second features, and may also include first and second features, unless otherwise specifically defined and defined. It is not in direct contact but through additional features between them. Moreover, the first feature "above", "above" and "above" the second feature includes the first feature directly above and above the second feature, or merely indicating that the first feature level is higher than the second feature. The first feature "below", "below" and "below" the second feature includes the first feature directly below and below the second feature, or merely the first feature level being less than the second feature.
下文的公开提供了许多不同的实施方式或例子用来实现本发明的不同结构。为了简化本发明的公开,下文中对特定例子的部件和设置进行描述。当然,它们仅仅为示例,并且目的不在于限制本发明。此外,本发明可以在不同例子中重复参考数字和/或参考字母,这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施方式和/或设置之间的关系。此外,本发明提供了的各种特定的工艺和材料的例子,但是本领域普通技术人员可以意识到其他工艺的应用和/或其他材料的使用。The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and arrangements of the specific examples are described below. Of course, they are merely examples and are not intended to limit the invention. In addition, the present invention may be repeated with reference to the numerals and/or reference numerals in the various examples, which are for the purpose of simplicity and clarity, and do not indicate the relationship between the various embodiments and/or arrangements discussed. Moreover, the present invention provides examples of various specific processes and materials, but one of ordinary skill in the art will recognize the use of other processes and/or the use of other materials.
在本说明书的描述中,参考术语“一个实施方式”、“一些实施方式”、“示意性实施方式”、“示例”、“具体示例”、或“一些示例”等的描述意指结合实施方式或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施方式或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施方式或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施方式或示例中以合适的方式结合。In the description of the present specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiment", "example", "specific example", or "some examples", etc. Particular features, structures, materials or features described in the examples are included in at least one embodiment or example of the invention. In the present specification, the schematic representation of the above terms does not necessarily mean the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method description in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a particular logical function or process. And the scope of the preferred embodiments of the invention includes additional implementations, in which the functions may be performed in a substantially simultaneous manner or in an opposite order depending on the functions involved, in the order shown or discussed. It will be understood by those skilled in the art to which the embodiments of the present invention pertain.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理模块的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的 装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(IPM过流保护电路),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer readable medium, Used in conjunction with, or in conjunction with, an instruction execution system, apparatus, or device (eg, a computer-based system, a system including a processing module, or other system that can fetch instructions and execute instructions from an instruction execution system, apparatus, or device) Or use with equipment. For the purposes of this specification, a "computer-readable medium" can be any any program that can contain, store, communicate, propagate, or transport the program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device. Device. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections (IPM overcurrent protection circuits) with one or more wires, portable computer disk cartridges (magnetic devices), random access memories ( RAM), read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM). In addition, the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
应当理解,本发明的实施方式的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that portions of the embodiments of the invention may be implemented in hardware, software, firmware or a combination thereof. In the above-described embodiments, multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art can understand that all or part of the steps carried by the method of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, one or a combination of the steps of the method embodiments is included.
此外,在本发明的各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。上述提到的存储介质可以是只读存储器,磁盘或光盘等。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium. The above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
尽管上面已经示出和描述了本发明的实施方式,可以理解的是,上述实施方式是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施实施进行变化、修改、替换和变型。 Although the embodiments of the present invention have been shown and described, it is understood that the above-described embodiments are illustrative and are not to be construed as limiting the scope of the invention. Implementations are subject to change, modification, substitution, and variation.

Claims (15)

  1. 一种时钟系统,其特征在于,包括:A clock system, comprising:
    参考时钟模块,所述参考时钟模块用于输出参考时钟信号;a reference clock module, the reference clock module is configured to output a reference clock signal;
    锁相环模块,所述锁相环模块用于根据所述参考时钟信号输出处理时钟信号;a phase locked loop module, wherein the phase locked loop module is configured to output a processing clock signal according to the reference clock signal;
    锁相环电源模块,所述锁相环电源模块用于为所述锁相环模块供电;a phase-locked loop power module, wherein the phase-locked loop power module is configured to supply power to the phase-locked loop module;
    锁相环故障监测模块,所述锁相环故障监测模块用于根据所述锁相环电源模块的供电电压和所述处理时钟信号确定所述锁相环模块的工作状态;和a phase-locked loop fault monitoring module, wherein the phase-locked loop fault monitoring module is configured to determine an operating state of the phase-locked loop module according to a power supply voltage of the phase-locked loop power supply module and the processing clock signal; and
    锁相环故障处理模块,所述锁相环故障处理模块用于根据所述锁相环模块的工作状态控制所述锁相环模块和/或所述锁相环电源模块及确定输出时钟信号。The phase-locked loop fault processing module is configured to control the phase-locked loop module and/or the phase-locked loop power module according to an operating state of the phase-locked loop module and determine an output clock signal.
  2. 如权利要求1所述的时钟系统,其特征在于,所述锁相环故障监测模块包括模数转换器,所述模数转换器用于将所述供电电压转换为数字电压,所述锁相环故障监测模块用于比较所述数字电压和预定电压以确定所述锁相环模块的工作状态。The clock system of claim 1 wherein said phase locked loop fault monitoring module comprises an analog to digital converter for converting said supply voltage to a digital voltage, said phase locked loop The fault monitoring module is configured to compare the digital voltage and the predetermined voltage to determine an operating state of the phase locked loop module.
  3. 如权利要求1所述的时钟系统,其特征在于,所述锁相环故障监测模块包括锁相环时钟频率分析单元,所述锁相环时钟频率分析单元用于获取所述处理时钟信号的频率并根据所述处理时钟信号的频率和预定频率的比较结果确定所述锁相环模块的工作状态。The clock system according to claim 1, wherein said phase locked loop fault monitoring module comprises a phase locked loop clock frequency analyzing unit, and said phase locked loop clock frequency analyzing unit is configured to obtain a frequency of said processed clock signal And determining an operating state of the phase locked loop module according to a comparison result of the frequency of the processing clock signal and a predetermined frequency.
  4. 如权利要求1所述的时钟系统,其特征在于,所述锁相环故障监测模块包括锁相环时钟抖动分析单元,所述锁相环时钟抖动分析单元用于接收所述参考时钟信号并比较所述参考时钟信号和所述处理时钟信号以确定所述锁相环模块的工作状态。The clock system of claim 1 wherein said phase locked loop fault monitoring module comprises a phase locked loop clock jitter analysis unit, said phase locked loop clock jitter analysis unit for receiving said reference clock signals and comparing The reference clock signal and the processing clock signal determine an operational state of the phase locked loop module.
  5. 如权利要求1所述的时钟系统,其特征在于,所述锁相环模块的数量为多个,多个所述锁相环模块用于输出多个所述处理时钟信号,所述锁相环故障监测模块用于根据所述供电电压和多个所述处理时钟信号确定每个所述锁相环模块的工作状态,所述锁相环故障处理模块用于根据每个所述锁相环模块的工作状态控制每个所述锁相环模块和/或所述锁相环电源模块及确定所述输出时钟信号。The clock system according to claim 1, wherein the number of the phase locked loop modules is plural, and the plurality of phase locked loop modules are configured to output a plurality of the processing clock signals, the phase locked loop The fault monitoring module is configured to determine an operating state of each of the phase locked loop modules according to the power supply voltage and a plurality of the processing clock signals, where the phase locked loop fault processing module is configured to perform according to each of the phase locked loop modules The operational state controls each of the phase locked loop modules and/or the phase locked loop power supply module and determines the output clock signal.
  6. 如权利要求5所述的时钟系统,其特征在于,所述锁相环故障处理模块用于控制多个所述锁相环模块中的至少两个锁相环模块同时工作。The clock system according to claim 5, wherein said phase locked loop fault processing module is configured to control at least two phase locked loop modules of said plurality of phase locked loop modules to operate simultaneously.
  7. 如权利要求5所述的时钟系统,其特征在于,所述锁相环故障处理模块包括时钟输出控制单元,所述时钟输出控制单元用于在存在至少一个符合预定工作状态的所述锁相环模块时输出一个符合所述预定工作状态的所述锁相环模块的所述处理时钟信号以作为所述输出时钟信号,及用于在不存在符合所述预定工作状态的所述锁相环模块时输出所述参考时钟信号以作为所述输出时钟信号。A clock system according to claim 5, wherein said phase locked loop fault processing module comprises a clock output control unit for said at least one phase locked loop in accordance with a predetermined operational state And outputting, by the module, the processing clock signal of the phase locked loop module that meets the predetermined working state as the output clock signal, and for not using the phase locked loop module that meets the predetermined working state. The reference clock signal is output as the output clock signal.
  8. 一种电子装置,其特征在于,包括权利要求1-7任意一项所述的时钟系统。An electronic device comprising the clock system of any of claims 1-7.
  9. 一种处理方法,用于时钟系统,其特征在于,所述时钟系统包括参考时钟模块、锁 相环模块、锁相环电源模块、锁相环故障监测模块和锁相环故障处理模块,所述锁相环电源模块用于为所述锁相环模块供电,所述处理方法包括:A processing method for a clock system, wherein the clock system includes a reference clock module and a lock The phase loop module, the phase locked loop power module, the phase locked loop fault monitoring module, and the phase locked loop fault processing module, the phase locked loop power module is configured to supply power to the phase locked loop module, and the processing method includes:
    所述参考时钟模块输出参考时钟信号;The reference clock module outputs a reference clock signal;
    所述锁相环模块根据所述参考时钟信号输出处理时钟信号;The phase locked loop module outputs a processing clock signal according to the reference clock signal;
    所述锁相环故障监测模块根据所述锁相环电源模块的供电电压和所述处理时钟信号确定所述锁相环模块的工作状态;和The phase-locked loop fault monitoring module determines an operating state of the phase-locked loop module according to a power supply voltage of the phase-locked loop power module and the processing clock signal; and
    所述锁相环故障处理模块根据所述锁相环模块的工作状态控制所述锁相环模块和/或所述锁相环电源模块及确定输出时钟信号。The phase-locked loop fault processing module controls the phase-locked loop module and/or the phase-locked loop power module according to an operating state of the phase-locked loop module and determines an output clock signal.
  10. 如权利要求9所述的处理方法,其特征在于,所述锁相环故障监测模块包括模数转换器,所述锁相环故障监测模块根据所述锁相环电源模块的供电电压和所述处理时钟信号确定所述锁相环模块的工作状态包括:The processing method according to claim 9, wherein the phase-locked loop fault monitoring module comprises an analog-to-digital converter, and the phase-locked loop fault monitoring module is configured according to a supply voltage of the phase-locked loop power module and Processing the clock signal to determine the operating state of the phase locked loop module includes:
    所述模数转换器将所述供电电压转换为数字电压;The analog to digital converter converts the supply voltage into a digital voltage;
    所述锁相环故障监测模块比较所述数字电压和预定电压以确定所述锁相环模块的工作状态。The phase locked loop fault monitoring module compares the digital voltage with a predetermined voltage to determine an operating state of the phase locked loop module.
  11. 如权利要求9所述的处理方法,其特征在于,所述锁相环故障监测模块包括锁相环时钟频率分析单元,所述锁相环故障监测模块根据所述锁相环电源模块的供电电压和所述处理时钟信号确定所述锁相环模块的工作状态包括:The processing method according to claim 9, wherein the phase locked loop fault monitoring module comprises a phase locked loop clock frequency analyzing unit, and the phase locked loop fault monitoring module is configured according to a supply voltage of the phase locked loop power module. And determining, by the processing clock signal, an operating state of the phase locked loop module includes:
    所述锁相环时钟频率分析单元获取所述处理时钟信号的频率并根据所述处理时钟信号的频率和预定频率的比较结果确定所述锁相环模块的工作状态。The phase locked loop clock frequency analyzing unit acquires a frequency of the processing clock signal and determines an operating state of the phase locked loop module according to a comparison result of a frequency of the processing clock signal and a predetermined frequency.
  12. 如权利要求9所述的处理方法,其特征在于,所述锁相环故障监测模块包括锁相环时钟抖动分析单元,所述锁相环故障监测模块根据所述锁相环电源模块的供电电压和所述处理时钟信号确定所述锁相环模块的工作状态包括:The processing method according to claim 9, wherein the phase-locked loop fault monitoring module comprises a phase-locked loop clock jitter analysis unit, and the phase-locked loop fault monitoring module is configured according to a supply voltage of the phase-locked loop power module. And determining, by the processing clock signal, an operating state of the phase locked loop module includes:
    所述锁相环时钟抖动分析单元接收所述参考时钟信号并比较所述参考时钟信号和所述处理时钟信号以确定所述锁相环模块的工作状态。The phase locked loop clock jitter analysis unit receives the reference clock signal and compares the reference clock signal and the processed clock signal to determine an operating state of the phase locked loop module.
  13. 如权利要求9所述的处理方法,其特征在于,所述锁相环模块的数量为多个,所述锁相环模块根据所述参考时钟信号输出处理时钟信号包括:The processing method according to claim 9, wherein the number of the phase-locked loop modules is plural, and the phase-locked loop module outputs a processing clock signal according to the reference clock signal, including:
    多个所述锁相环模块输出多个所述处理时钟信号;a plurality of the phase locked loop modules outputting a plurality of the processing clock signals;
    所述锁相环故障监测模块根据所述锁相环电源模块的供电电压和所述处理时钟信号确定所述锁相环模块的工作状态包括:The phase-locked loop fault monitoring module determines, according to the power supply voltage of the phase-locked loop power module and the processing clock signal, the working state of the phase-locked loop module, including:
    所述锁相环故障监测模块根据所述供电电压和多个所述处理时钟信号确定每个所述锁相环模块的工作状态;The phase locked loop fault monitoring module determines an operating state of each of the phase locked loop modules according to the power supply voltage and the plurality of processing clock signals;
    所述锁相环故障处理模块根据所述锁相环模块的工作状态控制所述锁相环模块和/或 所述锁相环电源模块及确定输出时钟信号包括:The phase locked loop fault processing module controls the phase locked loop module according to an operating state of the phase locked loop module and/or The phase-locked loop power module and the determined output clock signal include:
    所述锁相环故障处理模块根据每个所述锁相环模块的工作状态控制每个所述锁相环模块和/或所述锁相环电源模块及确定所述输出时钟信号。The phase locked loop fault processing module controls each of the phase locked loop modules and/or the phase locked loop power supply module according to an operating state of each of the phase locked loop modules and determines the output clock signal.
  14. 如权利要求13所述的处理方法,其特征在于,所述锁相环故障处理模块根据所述锁相环模块的工作状态控制所述锁相环模块和/或所述锁相环电源模块及确定输出时钟信号包括:The processing method according to claim 13, wherein the phase-locked loop fault processing module controls the phase-locked loop module and/or the phase-locked loop power module according to an operating state of the phase-locked loop module and Determining the output clock signal includes:
    所述锁相环故障处理模块控制多个所述锁相环模块中的至少两个锁相环模块同时工作。The phase locked loop fault processing module controls at least two phase locked loop modules of the plurality of phase locked loop modules to work simultaneously.
  15. 如权利要求13所述的处理方法,其特征在于,所述锁相环故障处理模块包括时钟输出控制单元,所述锁相环故障处理模块根据所述锁相环模块的工作状态控制所述锁相环模块和/或所述锁相环电源模块及确定输出时钟信号包括:The processing method according to claim 13, wherein the phase locked loop fault processing module comprises a clock output control unit, and the phase locked loop fault processing module controls the lock according to an operating state of the phase locked loop module The phase loop module and/or the phase locked loop power module and the determined output clock signal include:
    在存在至少一个符合预定工作状态的所述锁相环模块时,所述时钟输出控制单元输出一个符合所述预定工作状态的所述锁相环模块的所述处理时钟信号以作为所述输出时钟信号;和The clock output control unit outputs the processing clock signal of the phase locked loop module in accordance with the predetermined operating state as the output clock when there is at least one phase locked loop module that meets a predetermined working state Signal; and
    在不存在符合所述预定工作状态的所述锁相环模块时,所述时钟输出控制单元输出所述参考时钟信号以作为所述输出时钟信号。 The clock output control unit outputs the reference clock signal as the output clock signal when there is no phase locked loop module that conforms to the predetermined operating state.
PCT/CN2017/115321 2017-12-08 2017-12-08 Clock system, electronic apparatus, and processing method WO2019109356A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/115321 WO2019109356A1 (en) 2017-12-08 2017-12-08 Clock system, electronic apparatus, and processing method
CN201780091708.4A CN111418158B (en) 2017-12-08 2017-12-08 Clock system, electronic device and processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/115321 WO2019109356A1 (en) 2017-12-08 2017-12-08 Clock system, electronic apparatus, and processing method

Publications (1)

Publication Number Publication Date
WO2019109356A1 true WO2019109356A1 (en) 2019-06-13

Family

ID=66750702

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/115321 WO2019109356A1 (en) 2017-12-08 2017-12-08 Clock system, electronic apparatus, and processing method

Country Status (2)

Country Link
CN (1) CN111418158B (en)
WO (1) WO2019109356A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145837A (en) * 2006-09-13 2008-03-19 中兴通讯股份有限公司 A circuit system and method of automatically recoverable available service clock
CN101183928A (en) * 2007-12-13 2008-05-21 华为技术有限公司 Clock switch method, clock switch unit, clock device and system
CN101252405A (en) * 2008-03-27 2008-08-27 华为技术有限公司 Clock detection and auto switching method, system and testing circuit
CN104821819A (en) * 2014-01-31 2015-08-05 赫梯特微波公司 Apparatus and methods with soft transition from holdover circuit to reacquiring phase lock

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4336239A1 (en) * 1993-10-23 1995-04-27 Sel Alcatel Ag Circuit arrangement for a clock generator
US5754607A (en) * 1995-05-10 1998-05-19 Alcatel Network Systems, Inc. Method and apparatus for achieving fast phase settling in a phase locked loop
CN101079630B (en) * 2006-05-23 2010-05-12 中兴通讯股份有限公司 A digital phase lock loop device for smooth switching of clock phase and its method
KR101047727B1 (en) * 2008-12-09 2011-07-08 숭실대학교산학협력단 Seamless Frequency Tracking Control Dual Loop Digital Phase-locked Loop Circuit Apparatus and Its Method
CN102045062B (en) * 2011-01-27 2013-02-06 中山大学 Digital phase-locked loop based on Cordic algorithm
CN103248445B (en) * 2012-02-09 2018-01-05 中兴通讯股份有限公司 A kind of clock synchronizing method and device
CN104022778B (en) * 2014-06-24 2017-06-27 瑞斯康达科技发展股份有限公司 A kind of analog phase-locked loop circuit and its signal processing method
CN106656392A (en) * 2016-12-26 2017-05-10 广东大普通信技术有限公司 Clock reference seamless switching method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145837A (en) * 2006-09-13 2008-03-19 中兴通讯股份有限公司 A circuit system and method of automatically recoverable available service clock
CN101183928A (en) * 2007-12-13 2008-05-21 华为技术有限公司 Clock switch method, clock switch unit, clock device and system
CN101252405A (en) * 2008-03-27 2008-08-27 华为技术有限公司 Clock detection and auto switching method, system and testing circuit
CN104821819A (en) * 2014-01-31 2015-08-05 赫梯特微波公司 Apparatus and methods with soft transition from holdover circuit to reacquiring phase lock

Also Published As

Publication number Publication date
CN111418158A (en) 2020-07-14
CN111418158B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
US10164649B2 (en) Hybrid phase lock loop
TWI381646B (en) Loop bandwidth control apparatus and method of phase locked loop
US20170264306A1 (en) Compensation for digitally controlled oscillator apparatus and method
US9602113B2 (en) Fast frequency throttling and re-locking technique for phase-locked loops
US20110121910A1 (en) Phase locked loop apparatus with selectable capacitance device
US8923468B2 (en) Clock and data recovery circuit selectively configured to operate in one of a plurality of stages and related method thereof
WO2007062577A1 (en) A phase-locked loop and method of improving clock precision
US8922253B2 (en) Hybrid phase-locked loops
CN108306638B (en) Configurable locking detection circuit suitable for charge pump phase-locked loop
EP2797235B1 (en) Phase-locked loop device with managed transition to random noise operation mode
US7990192B2 (en) Phase locked loop and method for charging phase locked loop
US8237513B2 (en) Phase locked loop with startup oscillator and primary oscillator
JP2012005124A (en) Phase locked loop and operation method of the same
WO2019109356A1 (en) Clock system, electronic apparatus, and processing method
US8872558B1 (en) Hybrid phase-locked loops
US9467154B2 (en) Low power and integrable on-chip architecture for low frequency PLL
US6958636B2 (en) Charge leakage correction circuit for applications in PLLs
US6369625B1 (en) Phase locked loop circuit
US20150358025A1 (en) Phase locked loop circuit equipped with unity gain bandwidth adjustment
TWI523433B (en) Input signal voltage detection module and method, and related data transmission system
US9350364B1 (en) Phase-locked loop circuit having low close-in phase noise
TWI502897B (en) Voltage controlled oscillator and phase locked loop
JP2004080357A (en) Lock discrimination circuit and pll frequency synthesizer

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17934018

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 14/10/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17934018

Country of ref document: EP

Kind code of ref document: A1