MCU internal clock calibration system and method and PCB

An internal clock, calibration system technology, applied in general control systems, control/regulation systems, program control, etc., can solve the problems of high design cost, low clock accuracy, noise frequency drift, etc., and achieves low failure probability and cost reduction. Effect

Active Publication Date: 2014-06-11
HAIER GRP CORP +1
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the internal RC oscillation design of the MCU (Micro Control Unit, micro control unit) is usually used to provide the internal clock for the MCU. Due to the error in the internal RC oscillation of the MCU, the clock accuracy is low
Moreover, when the MCU is applied to the PCB (Printed Circuit Board, printed circuit board), the drift of the noise frequency will affect the accuracy of the internal RC oscillator clock due to the influence of the parasitic capacitance of the external device, etc.
In this way, the demand for precise timing cannot be met. If an external ceramic oscillator or crystal oscillator is added, although the clock accuracy can be improved, the design cost is relatively high. At the same time, each additional component also increases a point of failure.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • MCU internal clock calibration system and method and PCB
  • MCU internal clock calibration system and method and PCB
  • MCU internal clock calibration system and method and PCB

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Embodiments of the present invention will be described below with reference to the drawings. Elements and features described in one drawing or one embodiment of the present invention may be combined with elements and features shown in one or more other drawings or embodiments. It should be noted that representation and description of components and processes that are not related to the present invention and known to those of ordinary skill in the art are omitted from the drawings and descriptions for the purpose of clarity.

[0027] The invention provides a kind of MCU internal clock calibration system, comprising:

[0028] The reference clock source is connected to an input / output interface of the MCU for outputting a reference clock square wave;

[0029] The first timer is set in the MCU;

[0030] A count value acquisition module, configured to acquire the count value of the first timer within one period of the square wave of the reference clock;

[0031] A calibra...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to an MCU internal lock calibration system and method and a PCB. The system and method are used for acquiring the actual count value of a second timer to be calibrated in an MCB to calibrate the timing time of the second timer. The method comprises the steps that reference clock square waves are loaded to one input/output interface of the MCU, a first timer of the MCU is used for counting, and counting values in one period of the reference clock square waves of the first timer are acquired; the actual counting values of the second timer are acquired according to the counting values in one period of the reference clock square waves of the first timer; the actual counting values of the second timer are stored to allow the second timer to conduct timing according to the actual counting values. The MCU internal lock calibration system and method and the PCB are low in cost and small in probability of failure.

Description

technical field [0001] The present invention relates to a clock calibration system, in particular to an MCU internal clock calibration system [0002] And method and printed circuit board with the system. Background technique [0003] At present, the internal RC oscillation design scheme of the MCU (Micro Control Unit, micro control unit) is usually used to provide the internal clock for the MCU. Due to the error in the internal RC oscillation of the MCU, the clock accuracy is low. Moreover, when the MCU is applied to a PCB (Printed Circuit Board, printed circuit board), the drift of the noise frequency will affect the accuracy of the internal RC oscillator clock again due to the influence of the parasitic capacitance of the external device. In this way, the demand for precise timing cannot be met. If an external ceramic oscillator or crystal oscillator is added, although the clock accuracy can be improved, the design cost is high. At the same time, each additional componen...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G05B19/042
Inventor 段亚丽董金盛徐勤耀
Owner HAIER GRP CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products