Cookware type judgment method and system based on chip built-in comparator and ADC

By using the linkage mechanism of the chip built-in comparator and ADC module in the pot type judgment system, the reference voltage is dynamically adjusted, the conduction pulse width and voltage data are collected, and the pattern recognition algorithm is used to judge the pot type, the problem of low accuracy in the judgment of pot type in the existing technology is solved, and more efficient and accurate pot type recognition is achieved.

CN120177907APending Publication Date: 2025-06-20CHINA MICRO SEMICON (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510323518.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-19
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

The existing method of judging pot types relies on a single sensor or simple logical judgment, resulting in limited detection range and accuracy, making it difficult to adapt to complex and diverse pot materials and usage scenarios, resulting in frequent adjustment of parameters during heating, affecting cooking effect and equipment stability.

Method used

The cookware type judgment method based on the chip built-in comparator and ADC is adopted, and the reference voltage is dynamically adjusted through the DAC module, the analog comparator detects signal flip, the timer times, the ADC module collects voltage, establishes a power point-on pulse width T and on voltage AD value database, and matches the preset feature library with a pattern recognition algorithm to determine the cookware type.

Benefits of technology

It realizes accurate identification of the type of pot, breaks through the limitations of low judgment accuracy of traditional single sensors, optimizes the heating power output, and improves the safe operation level and heating efficiency of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120177907A_ABST
    Figure CN120177907A_ABST
Patent Text Reader

Abstract

The invention discloses a cookware type judgment method and system based on a chip built-in comparator and an ADC, and is applied to the field of electromagnetic heating equipment. According to the method, key parameters are captured and analyzed through chip hardware linkage; in the initialization stage, DAC output reference voltage is dynamically adjusted to adapt to different power scenes; the timer timing and ADC voltage acquisition are respectively triggered by using the signal overturning of the double analog comparators ACMP0 / ACMP1, and the conduction pulse width T and the conduction voltage AD value are accurately obtained; a power point location database is established, a pattern recognition algorithm is adopted to match a preset cookware type feature library, and cookware type judgment is achieved. The system comprises a chip module, a storage module and a processing module. The method breaks through the limitation of a traditional single sensor, remarkably improves the instantaneity and accuracy of judgment of the type of the cookware through hardware collaborative operation and multi-dimensional data analysis, optimizes the heating efficiency and the equipment safety, and is suitable for intelligent upgrading of kitchen appliances such as an electromagnetic range and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cookware type judgment, and particularly to a method and system for judging cookware type based on a built-in comparator and ADC of a chip. Background Art

[0002] In the field of modern kitchen appliances, electromagnetic heating devices are widely used due to their advantages of high efficiency and energy conservation, and can be seen everywhere from household kitchens to commercial catering scenarios. For such devices, accurately judging the type of cookware is the core link to achieve safe operation and optimize heating efficiency. During the electromagnetic induction heating process, cookware of different materials and shapes will exhibit different electrical characteristics and thermal effects. If the type of cookware cannot be accurately identified, the heating power matching of the device may be unbalanced, resulting in energy waste and low heating efficiency at best, and safety hazards such as overcurrent and overheating, and even damage to the device itself at worst. Therefore, in the process of the intelligent development of electromagnetic heating devices, the cookware type judgment technology has always been a key research direction, and its accuracy directly affects the user experience and the market competitiveness of the device.

[0003] Looking back at traditional cookware type judgment methods, most rely on a single sensor for data collection or complete type identification through simple logical judgment. This technical path has significant defects: the detection range and accuracy of a single sensor are limited. For example, when relying solely on a temperature sensor, it is impossible to comprehensively perceive the changes in the electromagnetic characteristics of the cookware and is easily interfered by the ambient temperature and cause misjudgment; while simple logical judgment is often based on fixed thresholds and is difficult to adapt to complex and diverse cookware materials and usage scenarios. When facing new types of composite material cookware, these methods will more prominently expose problems such as slow response speed and large deviation in judgment results, resulting in frequent parameter adjustment of the device during the heating process, which not only affects the cooking effect but also reduces the stability and reliability of the device.

[0004] With the rapid development of chip technology, the built-in analog comparator, timer, ADC module and other hardware resources of the chip provide a new opportunity to solve the above problems. However, the existing technology has not fully explored the collaborative potential of these hardware modules and has not established an efficient linkage mechanism. For example, the signal flip detection of the analog comparator, the precise timing of the timer, and the voltage acquisition function of the ADC module could have formed a complete chain of data collection and processing, but in the existing solutions, most of them work independently, unable to efficiently capture key parameters such as conduction pulse width and voltage, and even more difficult to deeply analyze these parameters. In view of this technical gap, the present invention proposes a method and system for judging cookware type based on a built-in comparator and ADC of a chip. Summary of the Invention

[0005] In order to overcome the disadvantages and deficiencies existing in the prior art, the present invention provides a method and system for judging cookware type based on a built-in comparator and ADC of a chip.

[0006] A method for judging the type of cookware based on an in-chip comparator and ADC, the method comprising the following steps:

[0007] Step S1: Initialization settings, configuring the DAC module built into the chip, setting its output of a suitable reference voltage to the analog comparator ACMP, and dynamically adjusting the output value of the DAC according to different target powers;

[0008] Step S2: Conductive pulse width capture, when the analog comparator ACMP1 flips, triggering the capture timer inside the chip to start timing, and stopping timing until the analog comparator ACMP0 flips, recording and storing the captured clock pulse width time T in the corresponding storage unit;

[0009] Step S3: Conductive voltage acquisition, when the built-in analog comparator ACMP0 flips, automatically triggering the ADC conversion module to collect the voltage of the VPC port, and recording and storing the collected AD value in the corresponding storage unit;

[0010] Step S4: Cookware type judgment, at different power points, respectively obtaining the conductive pulse width T and the conductive voltage AD value, and judging the cookware type according to the change curves of the conductive pulse width T and the conductive voltage AD value.

[0011] Further, the conductive pulse width capture step includes a rising edge trigger mode, a falling edge trigger mode, and a level trigger mode; when ACMP1 meets the corresponding trigger condition, the chip hardware immediately starts the capture timer, and performs timing based on the internal clock signal of the chip until ACMP0 meets the corresponding trigger condition and stops counting.

[0012] Further, in the conductive voltage acquisition step, when a falling edge appears in ACMP0, synchronously triggering the ADC module to capture the VPC port voltage, and at the same time triggering the internal module to output a PWM signal to turn on the IGBT; based on the captured VPC voltage value ADDATA, the voltage value of the IGBT C pole is deduced by combining a preset voltage conversion formula.

[0013] Further, the cookware type judgment step specifically includes: establishing a power point - conductive pulse width T database and a power point - conductive voltage AD value database; by comparing the T value curve characteristics and AD value curve characteristics of different cookwares at the same power point, using a pattern recognition algorithm to match a preset cookware type feature library to complete the cookware type judgment.

[0014] A cookware type judgment system based on an in-chip comparator and ADC, the system comprising:

[0015] A chip module, which is built-in with an analog comparator ACMP, a timer, an ADC module and a DAC module. The analog comparator ACMP is used to detect signal inversion, the timer is used for pulse width timing, the ADC module is used for voltage acquisition, and the DAC module is used to provide a reference voltage for the analog comparator ACMP;

[0016] A storage module, which is used to store the captured conduction pulse width T, the conduction voltage AD value, and the preset data of the cookware type feature library;

[0017] A processing module, which calls the data in the storage module, analyzes the change curves of the conduction pulse width T and the conduction voltage AD value at different power points, and judges the cookware type.

[0018] Further, the analog comparator ACMP in the chip module includes ACMP0 and ACMP1. When ACMP1 is inverted, it triggers the timer to start timing. When ACMP0 is inverted, it triggers the timer to stop timing and simultaneously triggers the ADC module to start the acquisition operation.

[0019] Further, the storage module uses a non-volatile memory, which at least includes a first storage unit, a second storage unit and a feature library storage unit; the first storage unit stores the conduction pulse width T, the second storage unit stores the conduction voltage AD value, and the feature library storage unit stores the cookware type feature data.

[0020] Further, the processing module integrates a data processing unit and a judgment unit; the data processing unit performs filtering processing and normalization processing on the collected T value and AD value; the judgment unit uses a curve analysis algorithm to match the processed T value curve and AD value curve with the preset feature library to judge the cookware type.

[0021] Beneficial effects:

[0022] A method and system for judging the type of cookware based on an in-chip comparator and ADC. At the method level, relying on the hardware linkage mechanism of the in-chip DAC, analog comparator ACMP, timer, and ADC module, the present invention efficiently captures key parameters: dynamically adjusts the DAC output during the initialization phase to adapt to different target powers, enhancing the system's compatibility with diverse heating scenarios; the conduction pulse width capture supports rising edge, falling edge, and level trigger modes, accurately timing with the internal clock of the chip to comprehensively cover signal change scenarios and ensure the accuracy of pulse width data; when collecting the conduction voltage, the flip of ACMP0 synchronously triggers the ADC and PWM signals, and calculates the IGBT C pole voltage in combination with a preset formula to improve the reliability of voltage data; in the judgment link, by establishing a power point database, using a pattern recognition algorithm to match a preset feature library, and based on the change curves of the conduction pulse width T and the conduction voltage AD value, it breaks through the limitation of the low judgment accuracy of traditional single sensors and realizes the accurate identification of cookware types. At the system level, ACMP0, ACMP1, timer, ADC, and DAC in the chip module cooperate, the storage module classifies and stores data and the feature library, and the processing module integrates a data processing unit (filtering, normalization processing) and a judgment unit (curve analysis algorithm) to further optimize data quality and judgment logic. When applied to a kitchen electromagnetic heating device, this method and system can optimize the heating power output according to the cookware type, improving the safe operation level and heating efficiency of the device. At the same time, a computer-readable storage medium ensures the stable implementation of the method, fully exploiting the potential of the chip hardware. With a scientific data processing process and accurate judgment logic, it effectively solves problems such as slow response and low accuracy in traditional solutions, demonstrating the comprehensive advantages of full hardware utilization, fine data processing, and reliable judgment results, providing core technical support for the development of intelligent kitchen appliances. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 is a flowchart of the method of the present invention;

[0024] Figure 2 is a block diagram of the system implementation of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0025] In order to enable those skilled in the art to better understand the technical solutions in this application, the following will clearly and completely describe the technical solutions in the embodiments of this application in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.

[0026] As Figure 1 described, a method for judging the type of cookware based on an in-chip comparator and ADC, the method includes:

[0027] Step S1: Initialize settings, configure the built-in DAC module of the chip, set its output to a suitable reference voltage to the analog comparator ACMP, and dynamically adjust the output value of the DAC according to different target powers;

[0028] Specifically, this step is the basic preparation link for the system operation. The core lies in configuring the built-in DAC (digital-to-analog converter) module of the chip. By setting the DAC to output a suitable reference voltage to the analog comparator ACMP, a benchmark is provided for subsequent signal comparison. Since the electrical characteristics of the cookware during heating are different at different target powers and need to match different detection thresholds, it is necessary to dynamically adjust the DAC output value according to the target power. For example, when heating at low power, the reference voltage is reduced, and when at high power, it is increased, ensuring that the analog comparator ACMP can accurately sense signal changes, laying a stable foundation for subsequent operations such as conduction pulse width capture and voltage acquisition, enabling the system to start and operate accurately under various power scenarios.

[0029] Step S2: Conduction pulse width capture. When the analog comparator ACMP1 flips, trigger the internal capture timer of the chip to start timing until the analog comparator ACMP0 flips and then stop timing. Record and store the captured clock pulse width time T in the corresponding storage unit;

[0030] Specifically, this step realizes the accurate acquisition of the key pulse width time through hardware linkage. When the analog comparator ACMP1 detects a signal flip (supporting rising edge, falling edge or level trigger), it immediately triggers the internal capture timer of the chip, and starts timing based on the chip clock. Until the analog comparator ACMP0 flips, the timer stops counting, and the recorded clock pulse width time T is stored in the corresponding unit. This hardware-triggered timing method can quickly and accurately capture the time interval T between the flips of the two comparators. This data directly reflects the pulse width characteristics of the signal change and is one of the core parameters for judging the type of cookware, and its accuracy plays a key role in the final result.

[0031] Step S3: Conduction voltage acquisition. When the built-in analog comparator ACMP0 flips, automatically trigger the ADC conversion module to collect the voltage of the VPC port, and record and store the collected AD value in the corresponding storage unit;

[0032] Specifically, when the analog comparator ACMP0 flips, the system automatically triggers the ADC (analog-to-digital converter) module to collect the voltage of the VPC port. This process is synchronous: when ACMP0 flips at the falling edge, on the one hand, it triggers the ADC to quickly capture the voltage of the VPC port and convert the analog signal into a digital AD value; on the other hand, it triggers the internal module to output a PWM signal to turn on the IGBT (insulated gate bipolar transistor). By the collected VPC voltage value ADDATA, the IGBT C pole voltage can be deduced in combination with a preset formula. Finally, the AD value is stored in the corresponding unit, and these voltage data reflect the electrical characteristics of the cookware during operation, providing key voltage parameters for judgment and reflecting the influence of the cookware material and structure on the circuit.

[0033] Step S4: Cookware type judgment. At different power points, the conduction pulse width T and the conduction voltage AD value are respectively obtained, and the cookware type is judged according to the change curves of the conduction pulse width T and the conduction voltage AD value.

[0034] Specifically, this step is the core target link of the method. The stored conduction pulse width T and conduction voltage AD value are obtained at different power points, and a database of "power point - conduction pulse width T" and "power point - conduction voltage AD value" is established. By analyzing the change curves of the two groups of data at different powers and using a pattern recognition algorithm, the real-time curve features are matched with the preset cookware type feature library. Since different cookwares (such as iron pans and stainless steel pans) have unique conduction pulse width and voltage curves during electromagnetic heating, for example, the change trend of the T value and AD value curves of an iron pan is different from that of a stainless steel pan. Through accurate curve analysis and matching, the accurate judgment of the cookware type is finally realized, providing a decision basis for the kitchen appliance to adjust the heating strategy (such as power output and heating duration), and optimizing the heating effect and equipment performance.

[0035] Further, the conduction pulse width capture step includes a rising edge trigger mode, a falling edge trigger mode, and a level trigger mode; when ACMP1 meets the corresponding trigger condition, the chip hardware immediately starts the capture timer, and uses the chip internal clock signal as the timing reference for timing until ACMP0 meets the corresponding trigger condition and then stops counting.

[0036] Specifically, it focuses on the refined mechanism for capturing the conduction pulse width, integrating three triggering methods: rising edge, falling edge, and level, comprehensively covering various scenarios of signal changes to ensure that the system can respond in a timely manner regardless of how the signal changes. When ACMP1 meets the corresponding triggering conditions (such as the arrival of the signal rising edge, the appearance of the falling edge, or reaching a specific level value), the chip hardware starts the capture timer in a zero-delay state and counts time based on the stable and accurate clock signal inside the chip. This process is directly driven by hardware, avoiding software processing delays and ensuring the real-time and accuracy of timing. The counting stops until the triggering condition of ACMP0 is met, and finally, the accurate clock pulse width time T is obtained. The combination of multiple triggering methods and hardware timing lays a key data foundation for subsequent cookware type judgment, ensuring that the captured pulse width time T truly reflects the essence of signal changes.

[0037] Furthermore, in the step of collecting the conduction voltage, when a falling edge appears in ACMP0, the ADC module is synchronously triggered to capture the voltage of the VPC port, and at the same time, the internal module is triggered to output a PWM signal to turn on the IGBT; based on the captured VPC voltage value ADDATA, the voltage value of the IGBT C pole is calculated by combining a preset voltage conversion formula.

[0038] Specifically, the collaborative operation logic of collecting the conduction voltage is analyzed. When the key signal of the falling edge of ACMP0 appears, the system triggers dual synchronous operations: on the one hand, quickly activates the ADC module to collect the voltage of the VPC port, converting the analog signal into a digital AD value to ensure the accurate acquisition of voltage data; on the other hand, synchronously triggers the internal module to output a PWM signal to turn on the IGBT, enabling the circuit to enter a specific working state. At this time, based on the captured VPC voltage value ADDATA and combined with a preset voltage conversion formula (such as a mathematical model based on the circuit voltage division relationship and component parameters), the voltage value of the IGBT C pole can be accurately calculated. This process not only completes the voltage collection but also obtains the core voltage parameters reflecting the circuit working characteristics by associating the IGBT conduction state. These parameters are strongly related to the cookware type and provide key voltage dimension information for subsequent judgment.

[0039] Furthermore, the step of judging the cookware type specifically includes: establishing a power point - conduction pulse width T database and a power point - conduction voltage AD value database; by comparing the T-value curve characteristics and AD-value curve characteristics of different cookwares at the same power point, using a pattern recognition algorithm to match the preset cookware type feature library to complete the judgment of the cookware type.

[0040] Specifically, the implementation logic of cookware type judgment is elaborated in detail. First, two major databases of "power point - conduction pulse width T" and "power point - conduction voltage AD value" are constructed to store the T values and AD values collected at different power points, forming a multi-dimensional data set. Subsequently, by comparing the T-value curve characteristics and AD-value curve characteristics of different cookware at the same power point, pattern recognition algorithms (such as neural networks, feature matching algorithms, etc.) are used to match the real-time curve characteristics with the preset cookware type feature library. Since different material cookware (such as iron cookware, stainless steel cookware) has unique curves of conduction pulse width and voltage varying with power during electromagnetic heating, based on the curve comparison and pattern recognition of the database, the characteristics of the current cookware type can be accurately analyzed, and finally the accuracy of cookware type can be achieved.

[0041] Such as Figure 2 As described above, a cookware type judgment system based on a chip-integrated comparator and ADC, the system includes:

[0042] A chip module, which integrates an analog comparator ACMP, a timer, an ADC module, and a DAC module. The analog comparator ACMP is used to detect signal flipping, the timer is used for pulse width timing, the ADC module is used for voltage acquisition, and the DAC module is used to provide a reference voltage to the analog comparator ACMP;

[0043] Specifically, the chip module is the core hardware unit of the entire system, integrating an analog comparator ACMP, a timer, an ADC module, and a DAC module, and realizing the full-process collaborative operation of signal detection, timing, voltage acquisition, and reference voltage provision through hardware linkage. Among them, the analog comparator ACMP (including ACMP0 and ACMP1) monitors the signal changes of the external circuit in real time. When detecting signal flipping (such as rising edge, falling edge, or specific level), it immediately triggers subsequent operations: ACMP1 flipping starts the timer timing, and ACMP0 flipping stops the timing and triggers the ADC module to collect voltage. The timer is based on the high-precision internal clock of the chip to ensure accurate measurement of the conduction pulse width time T. The ADC module quickly completes the analog-to-digital conversion of the voltage at the VPC port under the trigger of ACMP0 to generate an AD value. The DAC module dynamically adjusts the output reference voltage to ACMP according to the target power to adapt to the signal detection requirements in different heating scenarios. This hardware-level linkage mechanism enables the system to capture the key electrical parameters of the cookware during operation in real time and accurately, providing a reliable data basis for subsequent judgment.

[0044] A storage module, which is used to store the captured conduction pulse width T, conduction voltage AD value, and the data of the preset cookware type feature library;

[0045] Specifically, the storage module, as the data warehouse of the system, uses a non-volatile memory (such as EEPROM) and is responsible for storing the conduction pulse width T, the conduction voltage AD value, and the data of the preset cookware type feature library. The module is internally divided into three functional areas: the first storage unit stores the captured conduction pulse width T in the order of time or power points, the second storage unit stores the corresponding AD value collected synchronously, and the feature library storage unit pre-stores the T-value curve and AD-value curve features of different cookware (such as iron pans, stainless steel pans, ceramic pans, etc.) at typical powers. The storage module supports fast writing and reading of data, ensuring the efficiency and stability when the processing module calls the data. The non-volatile characteristic ensures that historical data is not lost after power-off, facilitating the continuous optimization of the judgment model by the system. Through classified storage and structured management, the storage module provides rich data source support for the analysis and judgment of cookware types.

[0046] The processing module calls the data in the storage module, analyzes the change curves of the conduction pulse width T and the conduction voltage AD value at different power points, and judges the cookware type.

[0047] Specifically, the processing module is the intelligent decision-making center of the system, integrating a data processing unit and a judgment unit. By calling the data in the storage module, it realizes the accurate identification of cookware types. The data processing unit first preprocesses the collected T value and AD value, including filtering and denoising (such as mean filtering, Kalman filtering) to eliminate noise interference, and normalization processing (such as unifying the data at different powers to the range of 0-1) to eliminate the influence of dimensions and improve data comparability. The judgment unit then extracts the trend features of the T value and AD value changing with power based on the preprocessed data using curve analysis algorithms (such as polynomial fitting, Fourier transform), and matches them with the preset feature library through pattern recognition algorithms (such as support vector machines, neural networks) to finally determine the cookware type. The processing module can also generate optimized heating strategy instructions according to the judgment result and feedback them to the control unit of the kitchen appliance. Through the integration of in-depth data analysis and intelligent algorithms, this module breaks through the limitations of traditional single-parameter judgment and realizes multi-dimensional and high-precision identification of cookware types.

[0048] Furthermore, the analog comparator ACMP in the chip module includes ACMP0 and ACMP1. When ACMP1 flips, it triggers the timer to start timing. When ACMP0 flips, it triggers the timer to stop timing and simultaneously triggers the ADC module to start the acquisition operation.

[0049] Specifically, this design adopts a cooperative working mechanism of dual comparators, significantly improving the system response speed and data acquisition accuracy. ACMP1 serves as the starting trigger source for pulse width capture, continuously monitoring the changes in external signals. When a signal flip (such as a rising edge or a falling edge) that meets the preset conditions is detected, it immediately triggers the internal timer to start timing through a hardware interrupt, ensuring zero-delay response. ACMP0, on the other hand, serves as a dual trigger node for timing termination and ADC startup. When a signal flip is detected, on the one hand, it sends a stop command to the timer to record the complete conduction pulse width time T; on the other hand, it synchronously activates the ADC module to quickly complete the analog-to-digital conversion of the voltage at the VPC port. This hardware-level linkage avoids the delay caused by software polling, enabling the acquisition of T values and AD values to have strict time synchronization, ensuring the relevance and accuracy of the two sets of data, and providing reliable timing data support for subsequent cookware type judgment.

[0050] Furthermore, the storage module uses a non-volatile memory, which at least includes a first storage unit, a second storage unit, and a feature library storage unit; the first storage unit stores the conduction pulse width T, the second storage unit stores the conduction voltage AD value, and the feature library storage unit stores the cookware type feature data.

[0051] Specifically, this storage architecture realizes efficient data management and fast access through functional partitioning. The non-volatile memory (such as EEPROM or Flash) ensures that data is not lost after power-off, facilitating long-term analysis and system optimization. The first storage unit stores the conduction pulse width T indexed by time or power points, and the second storage unit stores the corresponding AD values collected synchronously, forming a pair of dual-parameter data for subsequent joint analysis. The feature library storage unit pre-stores the characteristic data of typical cookware verified through a large number of experiments, including the T-value curves and AD-value curves of cookware made of different materials (such as iron, stainless steel, and ceramic) at various power points. Through classified storage and structured indexing, the storage module supports the processing module to quickly retrieve target data, improving the pattern matching efficiency. In addition, the non-volatile property also allows the system to dynamically update the feature library during operation to adapt to the expansion requirements of new cookware types.

[0052] Furthermore, the processing module integrates a data processing unit and a judgment unit; the data processing unit performs filtering and normalization processing on the collected T values and AD values; the judgment unit uses a curve analysis algorithm to match the processed T-value curve and AD-value curve with the preset feature library to judge the cookware type.

[0053] Specifically, this design realizes in-depth data analysis and intelligent decision-making through a hierarchical processing architecture. The data processing unit first filters the original T values and AD values (such as moving average filtering or median filtering) to remove high-frequency noise and outliers, improving data quality; subsequently, normalization processing is performed to uniformly map the values at different power points to the 0-1 interval, eliminating dimensional differences and enhancing data comparability. The judgment unit uses curve analysis algorithms (such as spline interpolation or principal component analysis) to extract the trend characteristics of T values and AD values, generate feature vectors, and match them with the reference curves in the feature library through pattern recognition algorithms (such as dynamic time warping or convolutional neural network), calculate the similarity score, and finally determine the cookware type based on the highest matching score. This architecture that integrates data preprocessing and intelligent algorithms effectively solves the problems of original data noise interference and multi-power scenario adaptability, significantly improving the accuracy and robustness of judgment.

[0054] The above descriptions of the various embodiments of the present application are provided for the purpose of description to those skilled in the art. As described above, various alternatives and variations of the present application will be obvious to those skilled in the art to which the above technology pertains. Therefore, although some alternative embodiments have been specifically discussed, other embodiments will be obvious or relatively easy for those skilled in the art to obtain. The present application is intended to cover all alternatives, modifications, and variations of the present invention that have been discussed herein, as well as other embodiments that fall within the spirit and scope of the above application.

Claims

1. A method for determining the type of a cookware based on a chip built-in comparator and ADC, characterized in that: The following steps are involved: Step S1: Initialization setting, configuring the built-in DAC module of the chip, setting it to output a suitable reference voltage to the analog comparator ACMP, and dynamically adjusting the output value of the DAC according to different target powers; Step S2: Turn on pulse width capture. When the analog comparator ACMP1 flips, the capture timer inside the chip is triggered to start timing, and the timing stops when the analog comparator ACMP0 flips. The captured clock pulse width time T is recorded and stored in the corresponding storage unit; Step S3: conduction voltage collection, when the built-in analog comparator ACMP0 flips, the ADC conversion module is automatically triggered to collect the voltage of the VPC port, and the collected AD value is recorded and stored in the corresponding storage unit; Step S4: judging the type of the cookware, obtaining the conduction pulse width T and the conduction voltage AD value at different power points respectively, and judging the type of the cookware according to the change curves of the conduction pulse width T and the conduction voltage AD value.

2. The method for determining the type of cookware based on chip hardware linkage according to claim 1, characterized in that: The step S2 includes a rising edge trigger mode, a falling edge trigger mode and a level trigger mode; when ACMP1 meets the corresponding trigger condition, the chip hardware immediately starts the capture timer, and counts based on the chip internal clock signal until ACMP0 meets the corresponding trigger condition and stops counting.

3. The method for determining the type of cookware based on chip hardware linkage according to claim 1, characterized in that: In step S3, when a falling edge appears at ACMP0, the ADC module is synchronously triggered to capture the voltage at the VPC port, and the internal module is triggered to output a PWM signal to turn on the IGBT; the voltage value of the IGBT C pole is calculated by combining the captured VPC voltage value ADDATA with a preset voltage conversion formula.

4. The method for determining the type of cookware based on chip hardware linkage according to claim 1, characterized in that: The step S4 includes: establishing a power point-on pulse width T database and a power point-on voltage AD value database; by comparing the T value curve characteristics and AD value curve characteristics of different cookware at the same power point, using a pattern recognition algorithm to match the preset cookware type feature library to complete the cookware type judgment.

5. A cookware type determination system based on a chip built-in comparator and ADC, characterized in that: include: A chip module, with a built-in analog comparator ACMP, a timer, an ADC module and a DAC module, wherein the analog comparator ACMP is used to detect signal flipping, the timer is used for pulse width timing, the ADC module is used for voltage acquisition, and the DAC module is used to provide a reference voltage to the analog comparator ACMP; A storage module, used to store the captured on-pulse width T, on-voltage AD value, and preset cookware type feature library data; The processing module calls the data in the storage module, analyzes the change curves of the conduction pulse width T and the conduction voltage AD value at different power points, and determines the type of the cookware.

6. The cookware type determination system based on chip hardware linkage according to claim 5 is characterized in that: The analog comparator ACMP in the chip module includes ACMP0 and ACMP1. When ACMP1 flips, the timer is triggered to start timing. When ACMP0 flips, the timer is triggered to stop timing and the ADC module is triggered to start the acquisition operation.

7. The cookware type determination system based on chip hardware linkage according to claim 5 is characterized in that: The storage module adopts a non-volatile memory and at least includes a first storage unit, a second storage unit and a feature library storage unit; the first storage unit stores the on-pulse width T, the second storage unit stores the on-voltage AD value, and the feature library storage unit stores the pot type feature data.

8. The cookware type determination system based on chip hardware linkage according to claim 5, characterized in that: The processing module integrates a data processing unit and a judgment unit; the data processing unit performs filtering and normalization processing on the collected T value and AD value; the judgment unit matches the processed T value curve and AD value curve with a preset feature library through a curve analysis algorithm to judge the type of the cookware.