A crystalless metering SOC chip and its clock acquisition method
An acquisition method and chip technology, applied in the direction of generating/distributing signals, etc., can solve the problems of reducing the clock reliability of the metering SoC, increasing the system cost, and the inability to obtain the clock frequency of the metering SoC.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Please refer to figure 1 , figure 1 It is a flow chart of the clock acquisition method of the crystalless metering SoC chip provided by Embodiment 1 of the present invention, the method includes:
[0043] Step S101: Receive the training bytes sent by the external master control MCU through the serial port UART;
[0044] Step S102: The preset clock frequency F generated by the RC clock module ideal Under the action of the time interval T between the two falling edges of the training byte ref Count to get the count value N rc ;
[0045] Step S103: Using the preset clock frequency F ideal and count value N rc Calculate the estimated baud rate F of the external master MCU to send training bytes ibaud , obtain the actual baud rate F of the training byte sent by the external master MCU by looking up the table baud , according to the actual baud rate F baud Get the time interval T between the two falling edges of the training byte ref ;
[0046] Among them, using th...
Embodiment 2
[0070] Based on the clock acquisition method of the crystalless metering SoC chip disclosed in the first embodiment of the present invention, the second embodiment mainly discloses the steps after step S104, please refer to image 3 , image 3 It is a partial flow chart of the clock acquisition method of the crystalless metering SoC provided in Embodiment 2 of the present invention. Preferably, after step S104, the following steps are further included:
[0071] Step S201: Measure the power through the metering module to obtain the power P;
[0072] Step S202: Using the preset clock frequency F ideal and clock frequency F rcc , according to C rc =F ideal / F rcc -1 to get the compensation value C that needs to be compensated for the power P rc ;
[0073] Step S203: Using the compensation value C rc Compensate the power P according to P c =(1+C rc )×P to obtain the compensated power P c .
[0074] Specifically, because the individual discreteness of the RC clock frequ...
Embodiment 3
[0089] Based on the clock acquisition method of the crystalless metering SoC chip disclosed in Embodiment 1 to Embodiment 2 of the present invention, Embodiment 3 of the present invention also discloses a crystalless metering SoC chip corresponding to the above method. Please refer to Figure 4 , Figure 4 It is a schematic structural diagram of the crystalless metering SoC chip provided by Embodiment 3 of the present invention. The crystalless metering SoC chip 1 includes:
[0090] The serial port UART11 is used to receive the training bytes sent by the external master MCU12;
[0091] The baud rate adjustment module 13 connected with the serial port UART11 is used for the preset clock frequency F generated by the RC clock module 16 ideal Under the action of the time interval T between the two falling edges of the training byte ref Count to get the count value N rc ;
[0092] The internal MCU module 14 connected with the baud rate adjustment module 13 is used to utilize th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com