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.

Active Publication Date: 2017-12-19
HANGZHOU VANGO TECH
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In this application, the core chip of the main control microcontroller module is the microcontroller chip, and the core chip of the metering module is the metering SoC. Both the microcontroller chip and the metering SoC need an external crystal to achieve the required clock accuracy. Without an external crystal, the metrology SoC cannot acquire the required clock frequency and cannot perform the measurement application
Moreover, the added external crystal will increase the system cost, and the external crystal itself will have the risk of stopping the vibration. Once the vibration stops, the metering SoC will not be able to obtain the required clock frequency, which will reduce the performance of the metering module in the metering SoC. clock reliability

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
  • A crystalless metering SOC chip and its clock acquisition method
  • A crystalless metering SOC chip and its clock acquisition method
  • A crystalless metering SOC chip and its clock acquisition method

Examples

Experimental program
Comparison scheme
Effect test

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...

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 discloses a crystalless metering SoC chip and a clock acquisition method thereof. The method comprises: receiving training bytes sent by an external main control MCU through a serial port UART; Count the time interval Tref between two falling edges to obtain the count value Nrc; use Fideal and Nrc to calculate the estimated baud rate Fibaud of the training byte sent by the external master MCU, and obtain the training byte sent by the external master MCU by looking up the table The actual baud rate Fbaud, the time interval Tref is obtained according to Fbaud; the actual clock frequency Frc of the RC clock module is calculated by using Nrc and Tref, and the clock frequency of the RC clock module is adjusted according to the difference between Frc and the preset clock frequency Fideal to obtain the RC clock The adjusted clock frequency Frcc of the module. The method realizes that the crystal-free metering SoC chip itself can obtain the clock frequency without using an external crystal to provide the clock frequency, thereby reducing the system cost and improving the reliability of obtaining the clock frequency.

Description

technical field [0001] The invention relates to the technical field of electrical parameter measurement, in particular to a crystalless metering SoC chip and a clock acquisition method thereof. Background technique [0002] In electrical parameter measurement applications, such as smart sockets, smart home appliances, and smart meters, the implementation scheme of separating the metering module from the main microcontroller MCU module is often used. With the implementation of the international regulation IR46 for smart meters, the metering module is required to implement For metering functions related to regulations, the external communication control module, that is, the MCU part, cannot affect the function and performance of the metering module. It can be seen that the metering module designed based on the metering SoC (System on Chip) is combined with the multi-functional communication encryption main control MCU module implementations will dominate. [0003] In this app...

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 Patents(China)
IPC IPC(8): G06F1/04
Inventor 门长有谭年熊
Owner HANGZHOU VANGO TECH
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