MCU clock has always been one of the required courses for MCU enthusiasts. From all kinds of screens, LCD, digital tube, dot matrix screen, VFD, OLED and even Nixie tube, edge light display, there is a wide variety of them. All those display modules with "inherent potential" are used in their own MCU designs. But many friends have encountered such a problem: the time is not accurate. Sometimes the new work will be 3-8 seconds faster in a day or even a few hours; the clock adjusted two months ago is not accurate after a few months...
I think a large part of the reason is caused by the crystal (some friends have found that it may also be related to the data reading and writing speed, chip quality and even the wiring method, but we will not explore it for the time being). In order to achieve an accurate display effect, many friends have bought real-time clock chips with temperature compensation or built-in crystals. The cumulative method is also used to adjust the travel speed, and the algorithm is optimized in the program for fast or slow clocks. However, it is difficult to make real-time compensation for temperature changes through algorithm optimization, which leads to differences in the travel accuracy of alarm clocks in different seasons. There are many ways to solve this problem. The following two different methods are used to explain the optimization of the temperature-frequency characteristics of crystals.
1. Optimize crystal cutting.
As an important member of the crystal oscillator family, the tuning fork crystal oscillator is widely used in electronic products due to its light, thin and compact features, and therefore plays an important role in the electronics industry. However, due to its frequency characteristics, its frequency-temperature characteristics are not very good.
In the operating temperature range of -10~60℃, Δf0 reaches about 50PPM (Note 1PPM is one part per million)
The crystal frequency of the improved crystal cut
It can be seen that the frequency-temperature characteristic of the sound difference crystal oscillator is a downward-opening parabola, and the frequency accuracy is the highest at 25°C. The frequency-temperature characteristic diagram of an AT-cut crystal oscillator with a cutting angle of 35°15' is a set of curves with 25 degrees Celsius as the symmetric center, which can roughly compensate for the frequency error in winter and summer.
2. Set the constant temperature crystal.
If we set a certain temperature point to keep the crystal constant, we can stabilize the frequency near that point to form a constant temperature crystal. After measuring the temperature of a constant temperature crystal in my hand, I found that the crystal temperature was maintained at 42°C.
Previous article:The difference between microcontroller global variables, local variables, heap and stack
Next article:Make a highly stable constant temperature crystal oscillator for the microcontroller clock
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- Learn ARM development(15)
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Ask: MOS tube switch circuit
- Learn LLC switching power supply calculation from senior engineers
- Problems that should be paid attention to in the development and design of TMS320C2XX
- Goodbye 2018, hello 2019
- "Me and Intel SoC FPGA" + ARM hardcore development that is difficult to understand
- Practical capacitor voltage step-down circuit
- Today's award-winning live broadcast: 5G and edge computing development and technology applications
- [AT-START-F403A Evaluation] 4. QR code scanning test
- MOSFET driver and MOSFET matching design
- How to select common mode inductors and differential mode inductors for circuit boards to suppress EMC and EMI