Heating control circuit control method based on ac voltage protection and related device
By introducing a multi-frequency sampling and consistency determination mechanism into the electric ceramic furnace, the problem of false protection of the electric ceramic furnace under transient disturbances of the power grid is solved, achieving higher operational reliability and user experience, and reducing resource consumption and equipment wear.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGDONG ARCAIR APPLIANCE CO LTD
- Filing Date
- 2026-05-13
- Publication Date
- 2026-08-04
AI Technical Summary
The AC voltage protection mechanism of traditional electric ceramic cooktops is prone to false triggering when faced with transient disturbances in the power grid, resulting in equipment false locking and a decline in user experience. It also consumes a lot of resources and lacks fault tolerance.
A multi-frequency sampling and consistency judgment mechanism is adopted. After initial frequency sampling, the system switches to a high-frequency verification mode to continuously sample multiple data points for consistency judgment, distinguishing between continuous anomalies and instantaneous fluctuations.
It effectively avoids false protection caused by transient disturbances in the power grid, improves the operational reliability and user experience of the electric ceramic stove, reduces equipment wear and tear, and extends equipment life.
Smart Images

Figure CN122205660B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electric heating equipment control technology, and more specifically, to a heating control circuit control method and related equipment based on AC voltage protection. Background Technology
[0002] In applications of electric heating equipment, especially ceramic kilns, AC voltage protection mechanisms are crucial for ensuring safe operation. Traditional solutions achieve protection by comparing voltage samples at a fixed frequency with static thresholds. This design has two significant drawbacks: first, using a single sampling frequency may cause low-frequency sampling to miss the complete characteristics of transient disturbances in the power grid, while high-frequency sampling increases system resource consumption; second, binary decision logic based on a single sampling result cannot distinguish between persistent voltage anomalies and transient fluctuations, resulting in a lack of necessary fault tolerance in protection actions.
[0003] The prevalent voltage dips in power grid environments pose a significant challenge to traditional protection schemes. When high-power appliances start or stop, the millisecond-level voltage drops in the line may be captured by periodic sampling, triggering false protection. Such malfunctions not only disrupt normal user operation, but their latching protection logic also requires manual reset, significantly reducing product availability. More seriously, frequent false protection accelerates the mechanical wear of actuators such as relays, shortening equipment lifespan.
[0004] Existing technologies attempt to improve this problem through hardware filtering or software delays, but hardware solutions increase circuit complexity, while simple software delays may delay response to actual faults. Especially in devices like ceramic cooktops that require rapid power regulation, excessively long protection delays can cause power devices to continue operating under abnormal voltages, exacerbating safety hazards. This contradiction between protection sensitivity and interference immunity has become a key bottleneck restricting the improvement of the reliability of electric heating equipment.
[0005] There is currently no effective technical solution to the above problems. Summary of the Invention
[0006] The purpose of this invention is to provide a heating control circuit control method and related equipment based on AC voltage protection, which aims to solve the technical problems of electric heating equipment being prone to false protection under transient disturbances of the power grid, high system resource consumption, and lack of fault tolerance of protection actions, and effectively improve the operational reliability and user experience of electric ceramic stoves.
[0007] In a first aspect, the present invention provides a heating control circuit control method based on AC voltage protection, applied to an electric ceramic stove, comprising the following steps: S1. Periodically sample the input voltage according to a first preset frequency to obtain a first sample value; S2. Determine whether the first sampled value is outside the preset normal voltage range; S3. When the first sampled value is outside the normal voltage range, a verification mode is activated, the verification mode including switching the sampling frequency to a second preset frequency; the second preset frequency is greater than the first preset frequency; S4. Within the preset verification time, the input voltage is continuously sampled at the second preset frequency to obtain multiple second sample values; S5. Perform a consistency determination on multiple second sampled values, specifically including: S51. If multiple second sampled values are outside the normal voltage range, the input voltage is determined to be in a continuous abnormal state, triggering the heating protection action and locking the device status; S52. If at least one of the multiple second sampled values is within the normal voltage range, the input voltage is determined to be in a state of instantaneous fluctuation, the heating function is maintained, and the process returns to step S1 to sample the input voltage according to the first preset frequency.
[0008] The heating control circuit control method based on AC voltage protection provided by this invention can effectively distinguish between continuous voltage abnormalities and instantaneous fluctuations, avoid false protection caused by transient disturbances in the power grid, and improve the operational reliability and user experience of the electric ceramic stove.
[0009] Secondly, the present invention provides a heating control circuit control device based on AC voltage protection, applied to an electric ceramic stove, comprising: The first sampling module is used to periodically sample the input voltage at a first preset frequency to obtain a first sample value; The judgment module is used to determine whether the first sampled value is outside the preset normal voltage range; The verification module is configured to activate a verification mode when the first sampled value is outside the normal voltage range. The verification mode includes switching the sampling frequency to a second preset frequency, wherein the second preset frequency is greater than the first preset frequency. The second sampling module is used to continuously sample the input voltage at the second preset frequency within a preset verification time to obtain multiple second sampling values. The determination module is used to determine the consistency of multiple second sampled values, specifically including: S51. If multiple second sampled values are outside the normal voltage range, the input voltage is determined to be in a continuous abnormal state, triggering the heating protection action and locking the device status; S52. If at least one of the multiple second sampled values is within the normal voltage range, the input voltage is determined to be in a state of instantaneous fluctuation, the heating function is maintained, and the control of the first sampling module to sample the input voltage according to the first preset frequency is returned.
[0010] Thirdly, the present invention provides an electronic device including a processor and a memory, the memory storing computer-readable instructions, which, when executed by the processor, perform the steps of the heating control circuit control method based on AC voltage protection provided in the first aspect above.
[0011] Fourthly, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the heating control circuit control method based on AC voltage protection provided in the first aspect above.
[0012] As can be seen from the above, the heating control circuit control method based on AC voltage protection provided by this invention effectively solves the problems of existing technologies where a single sampling frequency cannot fully capture the transient disturbance characteristics of the power grid, and where binary judgment logic easily leads to false protection, by introducing a multi-frequency sampling and consistency judgment mechanism. Specifically, when an abnormal voltage is detected by initial sampling, the system switches to a higher sampling frequency for verification. By performing consistency judgment on multiple consecutive sampled values, it can accurately distinguish between continuous voltage abnormalities and instantaneous fluctuations. This hierarchical judgment strategy avoids the false protection triggered by instantaneous voltage drops in traditional solutions, significantly improving the anti-interference capability and operational stability of the electric ceramic furnace. In addition, by avoiding unnecessary protection actions, the need for equipment latching and manual reset is reduced, improving user experience and equipment availability, while reducing the wear and tear on actuators such as relays and extending equipment life. Therefore, the method of this application effectively improves the anti-interference capability while ensuring protection sensitivity, overcoming the shortcomings of existing technologies such as frequent false protection, high resource consumption, and lack of fault tolerance in protection actions.
[0013] Other features and advantages of the invention will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing embodiments of the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description and the accompanying drawings. Attached Figure Description
[0014] Figure 1 This is a flowchart of a heating control circuit control method based on AC voltage protection provided in an embodiment of the present invention.
[0015] Figure 2 This is a circuit diagram of the heating control circuit in an embodiment of the present invention.
[0016] Figure 3 This is a schematic diagram of a heating control circuit control device based on AC voltage protection provided in an embodiment of the present invention.
[0017] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention.
[0018] Label Explanation: 100. First sampling module; 200. Judgment module; 300. Verification module; 400. Second sampling module; 500. Judgment module; R1. First resistor; R2. Second resistor; R4. Fourth resistor; R5. Fifth resistor; R6. Sixth resistor; R13. Thirteenth resistor; R14. Fourteenth resistor; R15. Fifteenth resistor; C1. First capacitor; EC1. First electrolytic capacitor; EC2. Second electrolytic capacitor; EC8. Eighth electrolytic capacitor; DB1. First rectifier bridge; L1. First inductor; VOL. Sampling signal; L. Live wire; N. Neutral wire; 13. Electronic equipment; 1301. Processor; 1302. Memory; 1303. Communication bus. Detailed Implementation
[0019] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0020] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this invention, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0021] In traditional electric ceramic cooker heating control circuits, the AC voltage protection function monitors the input mains voltage through periodic sampling. When a single sampled value exceeds the preset normal voltage range, the system immediately triggers the protection mechanism, suspending the heating function and displaying a fault code. However, in actual power grid environments, there are transient voltage fluctuations, including voltage sags and surges, which are characterized by short durations but large amplitudes. Due to the low sampling frequency, a single sample may capture abnormal voltage values during the fluctuation period, causing the system to misjudge it as a continuous power connection error. Therefore, the protection mechanism is overly sensitive to transient disturbances, causing the equipment to be incorrectly locked under normal power supply conditions, affecting system reliability and the continuity of user operation.
[0022] For example, in a residential power supply environment, an electric ceramic cooker is connected to a 220V AC power outlet. When the user activates the heating function, an elevator on the same power supply branch starts operating, causing a momentary voltage dip. The main control unit performs a voltage sampling during the voltage dip, and the first sampled value is below the lower limit of the normal range. Based on this single sampling result, the system determines it to be an undervoltage fault, disables the heating plate, and displays a power error code on the display panel. Although the voltage quickly returns to normal after the dip, the protection mechanism enters a locked state, requiring the user to manually power off and restart to restore operation. Faced with the device malfunctioning, the user may mistakenly believe there is a quality problem with the product, leading to unnecessary complaints or returns for repair.
[0023] If the aforementioned problems are not addressed, electric ceramic cooktops will frequently trigger false protection actions due to momentary disturbances in the power grid during actual use. This will cause equipment operation interruptions, requiring users to repeatedly perform restart operations, reducing ease of use. Simultaneously, users may attribute such malfunctions to product defects, leading to numerous after-sales inquiries and repair requests, increasing the manufacturer's maintenance costs. Furthermore, frequent false alarms will damage the product's market reputation and affect user trust in the brand. Therefore, there is an urgent need for a voltage monitoring mechanism that can effectively distinguish between momentary voltage fluctuations and continuous abnormal states.
[0024] For this, please refer to Figure 1 , Figure 1 This is a flowchart of a heating control circuit control method based on AC voltage protection. This AC voltage protection-based heating control circuit control method, applied to an electric ceramic stove, includes the following steps: S1. Periodically sample the input voltage according to a first preset frequency to obtain a first sample value; S2. Determine whether the first sampled value is outside the preset normal voltage range; S3. When the first sampled value is outside the normal voltage range, start the verification mode. The verification mode includes switching the sampling frequency to a second preset frequency; the second preset frequency is greater than the first preset frequency. S4. Within the preset verification time, the input voltage is continuously sampled at a second preset frequency to obtain multiple second sample values; S5. Perform consistency determination on multiple second sampled values, specifically including: S51. If multiple second sampled values are outside the normal voltage range, the input voltage is determined to be in a continuous abnormal state, triggering the heating protection action and locking the equipment status; S52. If at least one of the multiple second sampled values is within the normal voltage range, the input voltage is determined to be in a state of instantaneous fluctuation. The heating function is maintained, and the process returns to step S1 to sample the input voltage according to the first preset frequency.
[0025] For ease of understanding, the following explains some key terms in this embodiment: Input voltage: This refers to the AC voltage obtained by the electric ceramic cooker from an external power source, usually the mains voltage. This voltage is the energy source for the normal operation of the equipment, and its stability and range directly affect the performance and safety of the equipment.
[0026] First preset frequency: refers to the frequency at which the input voltage is periodically sampled in normal monitoring mode. This frequency is usually low, aiming to achieve continuous basic voltage monitoring with low system resource consumption.
[0027] First sample value: refers to the instantaneous value of the input voltage obtained in each sampling operation at a first preset frequency. This value is used to initially determine whether the input voltage is within the normal operating range.
[0028] Normal voltage range: This refers to the upper and lower limits of the input voltage allowed for the operation of the electric ceramic cooker. Voltages exceeding this range may cause damage to the equipment or malfunction.
[0029] Verification Mode: This refers to a special operating mode activated by the system to further confirm the abnormal state when the first sampled value indicates an abnormal input voltage. In this mode, the system increases the sampling frequency to acquire voltage data more frequently.
[0030] The second preset frequency refers to the frequency at which the input voltage is continuously sampled in verification mode. This frequency is significantly higher than the first preset frequency, aiming to quickly capture instantaneous changes in voltage and distinguish between continuous anomalies and transient fluctuations.
[0031] Verification duration: refers to the length of time during which the system continuously samples at a second preset frequency in verification mode. This duration should be sufficient to obtain a sufficient number of second sample values for reliable consistency determination.
[0032] The second sampled value refers to the multiple instantaneous input voltage values obtained by continuous sampling at a second preset frequency within the verification duration in verification mode. These values are used for consistency determination.
[0033] Consistency determination: This involves analyzing multiple second-sampled values to determine whether all of them are in an abnormal state, or whether some of them have returned to normal. This determination is crucial for distinguishing between persistent anomalies and transient fluctuations.
[0034] Persistent Abnormal State: This refers to a situation where, after intensive sampling in verification mode, all second-sampled values show that the input voltage remains within an abnormal range. This indicates a real, non-transient fault in the power supply.
[0035] Transient fluctuation state: This refers to a situation where, after intensive sampling in verification mode, some second-sampled values show that the input voltage has returned to the normal range. This indicates that the previous anomaly was merely a brief fluctuation in the power grid.
[0036] Heating protection action: refers to the measures taken by the system to protect the equipment when a continuous abnormal state is determined, such as cutting off the power supply to the heating plate or disabling the pulse width modulation (PWM) output of the heating control.
[0037] Locked device status: This refers to the device entering a non-working state after the heating protection action is triggered, which usually requires manual intervention by the user (such as power off and restart) to unlock.
[0038] This application proposes a heating control circuit control method based on AC voltage protection, which is applied to electric ceramic stoves. It aims to solve the problem that the protection mechanism of electric ceramic stoves is erroneously triggered due to single sampling abnormality when the instantaneous voltage of the power grid fluctuates, so as to avoid the equipment being locked incorrectly and improve the user experience.
[0039] Specifically, the method includes the following steps: In step S1, the input voltage is periodically sampled at a first preset frequency to obtain a first sampled value. During the normal operation of the ceramic cooker, its main control unit samples the connected mains voltage at a preset periodic time interval, such as every 100 milliseconds. This periodic sampling method can achieve basic monitoring of the input voltage with low system resource consumption. For example, the main control unit can trigger a voltage conversion at the beginning of each sampling period through the built-in analog-to-digital converter (ADC) module and use the conversion result as the first sampled value. The first preset frequency can be adjusted according to the actual application scenario and the requirements for system response speed, but a relatively low frequency is usually chosen to balance the monitoring effect and system overhead.
[0040] In step S2, it is determined whether the first sampled value is outside the preset normal voltage range. After acquiring the first sampled value, the main control unit compares it with the preset normal voltage range in the program. For example, the normal voltage range can be set to a lower limit of 185V to an upper limit of 265V. If the first sampled value is lower than 185V or higher than 265V, it is determined that it is outside the normal voltage range. This determination is a key step in the initial identification of potential voltage anomalies.
[0041] In step S3, when the first sampled value is outside the normal voltage range, a verification mode is initiated. This verification mode involves switching the sampling frequency to a second preset frequency, which is greater than the first preset frequency. When the main control unit detects the first sampled value exceeding the preset normal range for the first time during regular periodic sampling, it does not immediately determine a power supply error and lock the heating function. Instead, the main control unit's program immediately adjusts its operating state, suspends other lower-priority tasks currently being executed, and enters a "fast confirmation mode"—the verification mode—specifically designed to confirm voltage anomalies by setting an internal status flag. In verification mode, the main control unit significantly increases the voltage sampling frequency, switching it to the second preset frequency. For example, the second preset frequency can be set to once every 5 to 10 milliseconds, while the first preset frequency is once every 100 milliseconds; clearly, the second preset frequency is greater than the first preset frequency. This frequency switching aims to quickly acquire more voltage data to cope with instantaneous voltage fluctuations.
[0042] In step S4, within a preset verification duration, the input voltage is continuously sampled at a second preset frequency to obtain multiple second sample values. In verification mode, the main control unit performs continuous voltage sampling at the second preset frequency within a preset short time window, such as 50 milliseconds. For example, if the second preset frequency is once every 5 milliseconds, then 10 consecutive samples will be performed within the 50-millisecond verification duration, resulting in 10 second sample values. These densely sampled data are crucial for subsequent consistency determination.
[0043] In step S5, a consistency determination is performed on multiple second sampled values. This determination specifically includes the following two cases: In step S51, if multiple second sample values are outside the normal voltage range, the input voltage is determined to be in a continuous abnormal state, triggering the heating protection action and locking the device status. If, within this short 50-millisecond time window, all 5 to 10 samples continuously show voltage values within the abnormal range (i.e., all below 185V or all above 265V), the main control unit will ultimately determine that the currently connected power supply does indeed have a continuous error. At this time, the system will trigger the heating protection lockout mechanism, cut off the power supply to the heating plate, disable the pulse width modulation (PWM) output of the heating control, and display the corresponding fault code on the display panel of the ceramic cooker.
[0044] In step S52, if at least one of the multiple second sampled values is within the normal voltage range, the input voltage is determined to be in a state of transient fluctuation. The heating function is maintained, and the process returns to step S1 to sample the input voltage at the first preset frequency. If, within this short 50-millisecond time window, any one or more sampling results show that the voltage value has returned to the normal range (i.e., between 185V and 265V), the main control unit will determine that the previously detected anomaly was merely a brief power grid fluctuation. At this time, the main control unit will immediately clear the internal voltage anomaly status flag and fully restore normal monitoring, i.e., return to step S1 to continue sampling the input voltage at the first preset frequency.
[0045] The following example will provide a more detailed explanation of the above technical solution: Suppose user A uses an electric ceramic cooktop for cooking at home. When the cooktop's main control unit is working normally, it periodically samples the input voltage at a first preset frequency (e.g., every 100 milliseconds). The normal voltage range is set to 185V to 265V.
[0046] At a certain moment, due to the startup of high-power electrical appliances (such as elevators) in the same building, the main grid voltage experiences a momentary drop. In a routine sampling, the main control unit obtains a first sample value of 170V. At this time, 170V is lower than the lower limit of the normal voltage range of 185V, so the main control unit determines that the first sample value is outside the normal voltage range.
[0047] According to the method of this application, the main control unit does not immediately trigger the protection action, but instead starts the verification mode. In the verification mode, the sampling frequency is switched to a second preset frequency, which is significantly higher than the first preset frequency, for example, once every 5 milliseconds. Within a preset verification duration (e.g., 50 milliseconds), the main control unit continuously samples the input voltage at a frequency of once every 5 milliseconds, acquiring a total of 10 second sample values.
[0048] During the verification period, the elevator started up and the grid voltage quickly returned to normal. Therefore, of the 10 second sampled values obtained, the first 2 sampled values may still be abnormal (e.g., 170V, 175V), but the subsequent 8 sampled values have returned to the normal range (e.g., 220V, 221V, etc.).
[0049] The main control unit performs a consistency check on these 10 second sampled values. Since at least one sampled value (i.e., the last 8 sampled values) is within the normal voltage range, the main control unit determines that the current input voltage is in a state of transient fluctuation rather than continuous abnormality. Therefore, the heating function of the ceramic cooker is maintained and will not be erroneously locked. Subsequently, the system returns to step S1 and continues to periodically sample the input voltage at the first preset frequency (every 100 milliseconds) to resume normal monitoring.
[0050] As can be seen from the above examples, the method of this application effectively solves the problem of false triggering of protection mechanisms in traditional ceramic cooktops when faced with instantaneous voltage fluctuations by introducing verification modes and consistency judgments. Traditional solutions often immediately determine a fault and lock the device upon detecting a single voltage anomaly, requiring users to manually restart the device and impacting the user experience. In contrast, the method of this application, after initially detecting an anomaly, performs rapid and intensive secondary verification by increasing the sampling frequency, accurately distinguishing between instantaneous fluctuations and continuous anomalies. This step-by-step verification mechanism avoids misjudgments caused by brief voltage disturbances, ensuring continuous operation of the device under normal power supply conditions.
[0051] Compared with existing technologies, the key technological contribution of this application lies in its introduction of a "verification mode" and a "consistency judgment" mechanism. Traditional methods typically rely on single or a few low-frequency sampling results for judgment, directly triggering protection once an abnormal value is sampled, lacking consideration of the duration of voltage anomalies. For example, in the above example, if the traditional method is used, the ceramic cooktop will be immediately locked when 170V is sampled for the first time. However, this application significantly improves the accuracy and robustness of voltage anomaly judgment by dynamically increasing the sampling frequency when an anomaly occurs and acquiring multiple sampling values in a short period of time for comprehensive judgment. This mechanism allows the ceramic cooktop to "tolerate" instantaneous voltage fluctuations, only activating protection when a sustained voltage anomaly is confirmed, thereby avoiding unnecessary device locking and user inconvenience, improving user experience and device reliability.
[0052] In some embodiments, reference is made to the appendix. Figure 2 The heating control circuit specifically includes a first resistor R1, a second resistor R2, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a thirteenth resistor R13, a fourteenth resistor R14, a fifteenth resistor R15, a first capacitor C1, a first electrolytic capacitor EC1, a second electrolytic capacitor EC2, an eighth electrolytic capacitor EC8, a first rectifier bridge DB1, and a first inductor L1. In this circuit, the first terminal of the first resistor R1 is connected to the mains live wire L, and the second terminal of the first resistor R1 is simultaneously connected to the first terminals of the fourth resistor R4, the second resistor R2, the first capacitor C1, the fourteenth resistor R14, and the AC1 terminal of the first rectifier bridge DB1; the second terminal of the fourth resistor R4 is connected to the first terminal of the fifth resistor R5, the second terminal of the fifth resistor R5 is connected to the first terminal of the sixth resistor R6, the second terminal of the sixth resistor R6 is simultaneously connected to the positive terminal of the eighth electrolytic capacitor EC8 and the first terminal of the thirteenth resistor R13, and the second terminal of the sixth resistor R6 also serves as a sampling terminal for outputting the sampling signal VOL (in this embodiment, the first, second, and third sampling values are all derived from this sampling terminal). (The corresponding sampling signal is obtained at the sampling end); the negative terminal of the eighth electrolytic capacitor EC8 is connected to the second terminal of the thirteenth resistor R13 and grounded; the second terminal of the second resistor R2, the second terminal of the first capacitor C1, the second terminal of the fifteenth resistor R15, and the AC2 terminal of the first rectifier bridge DB1 are simultaneously connected to the neutral line N of the mains; the second terminal of the fourteenth resistor R14 is connected to the first terminal of the fifteenth resistor R15; the V+ terminal of the first rectifier bridge DB1 is simultaneously connected to the positive terminal of the first electrolytic capacitor EC1 and the first terminal of the first inductor L1; the second terminal of the first inductor L1 is connected to the positive terminal of the second electrolytic capacitor EC2; the V- terminal of the first rectifier bridge DB1 is simultaneously connected to the negative terminal of the first electrolytic capacitor EC1 and the negative terminal of the second electrolytic capacitor EC2.
[0053] In this circuit, the first terminal of the first resistor R1 is connected to the mains power line L. This means that the first resistor R1 serves as the circuit's input, bringing the mains power line L into the circuit. Specifically, this can be achieved by directly connecting the mains power line L to one pin of the first resistor R1, ensuring the power input to the circuit.
[0054] The second terminal of the first resistor R1 is simultaneously connected to the first terminals of the fourth resistor R4, the second resistor R2, the first capacitor C1, the fourteenth resistor R14, and the AC1 terminal of the first rectifier bridge DB1. This means that the output terminal of the first resistor R1 is connected to the input terminals of multiple functional modules in parallel. Specifically, this can be achieved by connecting the second terminal of the first resistor R1 to the corresponding pins of these components with wires. This connection method allows the mains voltage to simultaneously supply different paths such as voltage sampling, filtering, and rectification, providing a foundation for subsequent voltage detection and power conversion.
[0055] The second terminal of the fourth resistor R4 is connected to the first terminal of the fifth resistor R5, and the second terminal of the fifth resistor R5 is connected to the first terminal of the sixth resistor R6. This means that the fourth resistor R4, the fifth resistor R5, and the sixth resistor R6 are connected in series to form a voltage divider network. Specifically, this can be achieved by connecting these resistors in series sequentially. For example, the output terminal of the fourth resistor R4 is connected to the input terminal of the fifth resistor R5, and the output terminal of the fifth resistor R5 is connected to the input terminal of the sixth resistor R6. The function of this voltage divider network is to generate a proportionally scaled-down sampling signal based on the mains voltage. This sampling signal VOL accurately reflects changes in the input voltage, providing a data basis for subsequent abnormal voltage detection.
[0056] The second terminal of the sixth resistor R6 is connected to both the positive terminal of the eighth electrolytic capacitor EC8 and the first terminal of the thirteenth resistor R13. Furthermore, the second terminal of the sixth resistor R6 also serves as a sampling terminal for outputting the sampled signal VOL. This means the output terminal of the voltage divider network is connected to a filter capacitor and another resistor, serving as the output point of the sampled signal. Specifically, this can be achieved by connecting the second terminal of R6 to the positive terminal of the eighth electrolytic capacitor EC8 and the first terminal of the thirteenth resistor R13 via a wire, and then using this connection as the output terminal of the sampled signal VOL. The eighth electrolytic capacitor EC8 acts as a filter here, smoothing the sampled signal, reducing the impact of high-frequency noise on sampling accuracy, and thus improving the accuracy of voltage detection.
[0057] The negative terminal of the eighth electrolytic capacitor EC8 is connected to the second terminal of the thirteenth resistor R13 and grounded. This means that the negative terminal of the eighth electrolytic capacitor EC8 and the other terminal of the thirteenth resistor R13 are connected to the circuit's reference ground. Specifically, this can be achieved by connecting the negative terminal of the eighth electrolytic capacitor EC8 and the second terminal of the thirteenth resistor R13 to the circuit's common ground line, which provides a path for filtering the sampled signal and for the reference potential.
[0058] The second terminal of the second resistor R2, the second terminal of the first capacitor C1, the second terminal of the fifteenth resistor R15, and the AC2 terminal of the first rectifier bridge DB1 are all connected to the neutral line N of the mains power supply. This means that the corresponding pins of these components are connected to the neutral line N of the mains power supply. Specifically, this can be achieved by connecting the pins of these components to the neutral line N of the mains power supply through wires. This ensures the neutral connection of the circuit, forms a complete loop, and provides a reference potential for different functional modules.
[0059] Connecting the second terminal of the fourteenth resistor R14 to the first terminal of the fifteenth resistor R15 means that the fourteenth resistor R14 and the fifteenth resistor R15 are connected in series. Specifically, this can be achieved by connecting the output terminal of the fourteenth resistor R14 to the input terminal of the fifteenth resistor R15. The fourteenth resistor R14 and the fifteenth resistor R15 may form another voltage divider or current limiting path for other control or protection functions.
[0060] When this heating control circuit is used in conjunction with a heating control method based on AC voltage protection, it can effectively support voltage sampling in steps S1, S4, and S521, as well as voltage judgment in steps S2, S5, and S522, through precise voltage sampling and a stable DC power supply. For example, the sampling signal output from the sampling terminal VOL is directly used as the first, second, and third sampled values in the method, providing accurate input data for the control method. The stable DC power supply provided by the LC filter circuit ensures that the control unit can obtain reliable power supply when executing complex judgment logic and switching sampling frequencies, avoiding misjudgments or system instability caused by power fluctuations. This combination enables the control method to accurately identify instantaneous fluctuations and continuous anomalies, avoid false protection, and respond quickly in abnormal situations to ensure equipment safety.
[0061] Specifically, this solution provides a heating control circuit to implement a heating control method with AC voltage protection. Through sophisticated component configuration and connection methods, this circuit ensures accurate voltage sampling, stable power supply, and effective response to abnormal voltages.
[0062] In the circuit, the first terminal of the first resistor R1 is connected to the live wire L of the mains, serving as the power input for the entire circuit and ensuring the introduction of mains voltage. The second terminal of the first resistor R1 is simultaneously connected to the first terminals of the fourth resistor R4, the second resistor R2, the first capacitor C1, the fourteenth resistor R14, and the AC1 terminal of the first rectifier bridge DB1. This multi-path parallel connection allows the mains voltage to simultaneously supply different functional modules, including the voltage sampling path, the filtering path, and the rectification path, laying the foundation for subsequent voltage detection and power conversion.
[0063] The fourth resistor R4, the fifth resistor R5, and the sixth resistor R6 are connected in series to form a voltage divider network. The second terminal of the fourth resistor R4 is connected to the first terminal of the fifth resistor R5, and the second terminal of the fifth resistor R5 is connected to the first terminal of the sixth resistor R6. The second terminal of the sixth resistor R6 is simultaneously connected to the positive terminal of the eighth electrolytic capacitor EC8 and the first terminal of the thirteenth resistor R13, and also serves as a sampling terminal for outputting the sampling signal VOL. The function of this voltage divider network is to generate a proportionally scaled-down sampling signal based on the mains voltage. This sampling signal VOL accurately reflects changes in the input voltage, providing a data basis for subsequent abnormal voltage detection. The positive terminal of the eighth electrolytic capacitor EC8 is connected to the second terminal of the sixth resistor R6, and its negative terminal is connected to the second terminal of the thirteenth resistor R13 and grounded. The eighth electrolytic capacitor EC8 acts as a filter here, smoothing the sampling signal, reducing the impact of high-frequency noise on sampling accuracy, and thus improving the accuracy of voltage detection.
[0064] The second terminal of the second resistor R2, the second terminal of the first capacitor C1, the second terminal of the fifteenth resistor R15, and the AC2 terminal of the first rectifier bridge DB1 are all connected to the neutral line N of the mains power supply. This ensures the neutral line connection of the circuit, forms a complete loop, and provides a reference potential for different functional modules.
[0065] The second terminal of the fourteenth resistor R14 is connected to the first terminal of the fifteenth resistor R15. The fourteenth resistor R14 and the fifteenth resistor R15 may form another voltage divider or current limiting path for other control or protection functions.
[0066] The V+ terminal of the first rectifier bridge DB1 is connected to both the positive terminal of the first electrolytic capacitor EC1 and the first terminal of the first inductor L1. The first rectifier bridge DB1 converts the input AC voltage into a pulsating DC voltage, providing the foundation for the subsequent DC power supply. The positive terminal of the first electrolytic capacitor EC1 is connected to the output of the rectifier bridge, and its negative terminal is connected to the V- terminal of the first rectifier bridge DB1. The first electrolytic capacitor EC1 acts as a filter capacitor, performing preliminary filtering on the pulsating DC voltage after rectification to reduce ripple. The first terminal of the first inductor L1 is connected to the output of the rectifier bridge, and its second terminal is connected to the positive terminal of the second electrolytic capacitor EC2. The first inductor L1 and the second electrolytic capacitor EC2 together form an LC filter circuit, further smoothing the DC voltage and providing a more stable DC power supply for use by other components in the heating control circuit.
[0067] The V- terminal of the first rectifier bridge DB1 is connected to the negative terminal of both the first electrolytic capacitor EC1 and the second electrolytic capacitor EC2. This ensures that the negative terminal of the rectifier bridge output is connected to the negative terminal of the filter capacitor, forming a complete DC power supply circuit.
[0068] Through the coordinated operation of the aforementioned components, this heating control circuit can accurately acquire the input voltage signal and convert it into a sampling signal that can be processed by the control unit. Simultaneously, it provides a stable DC power supply, effectively supporting the implementation of heating control methods based on AC voltage protection and ensuring the safe operation of electric ceramic cookers and other electric heating equipment under abnormal voltage conditions. Compared to traditional solutions, this circuit provides a concrete hardware foundation, enabling the control method to more accurately identify voltage anomalies, avoid false protection, and improve equipment reliability and user experience.
[0069] In some embodiments, before performing step S2, the method further includes: S61. Obtain the zero-crossing signal of the input voltage and determine the current phase angle of the input voltage based on the zero-crossing signal; S62. Determine whether the current phase angle is within the preset interference shielding phase range; S63. If the current phase angle is within the interference shielding phase range, the first sampled value is marked as a phase-related characteristic value, and the sampling logic of the first preset frequency is maintained without triggering the start verification mode.
[0070] Specifically, the process involves acquiring the zero-crossing signal of the input voltage and determining the current phase angle of the input voltage based on this signal. The aim is to accurately identify specific points in the AC voltage waveform cycle, providing a time reference for subsequent judgments regarding whether the sampling time falls within the interference-shielded phase interval. This process can be implemented in several ways. For example, a hardware comparator circuit can be used to detect the crossover point between the input voltage and zero level. When the voltage crosses zero from negative to positive or from positive to negative, an interrupt signal or level transition signal is generated as the zero-crossing signal. The main control unit receives this signal and starts a timer to measure the time from the zero-crossing point, thereby calculating the current phase angle. Alternatively, the input voltage can be continuously sampled using an analog-to-digital converter (ADC). The main control unit analyzes the sampled data using software algorithms to identify the region near zero where the voltage value changes from positive to negative or from negative to positive, and accurately interpolates to determine the zero-crossing time. Subsequently, based on the AC cycle and the time difference between the zero-crossing time and the current sampling time, the current phase angle is calculated.
[0071] Determining whether the current phase angle is within a preset interference-shielded phase range aims to identify specific phase regions in the AC voltage waveform that are susceptible to transient interference, thus preventing samples taken within these regions from being misjudged as abnormal. This can be achieved by pre-setting one or more phase angle ranges in the main control unit's memory. For example, specific regions along the rising and falling edges of the AC voltage waveform (such as near peak or valley points, or a small interval immediately after a zero-crossing point) may be more prone to transient voltage fluctuations due to switching inductive or capacitive loads. The program compares the calculated current phase angle with these preset ranges. Furthermore, through experiments or simulation analysis, it can be determined which phase angle regions of the ceramic cooker are most susceptible to transient voltage disturbances caused by factors such as the start-up and shutdown of external high-power appliances in the actual working environment. These high-risk phase angle ranges are then programmed and stored for querying before each sampling.
[0072] If the current phase angle is within the interference-shielded phase range, the first sampled value is marked as a phase-related characteristic value, and the sampling logic at the first preset frequency is maintained, without triggering the verification mode. This step is designed to specially process the sampling result when sampling occurs in a vulnerable phase range, avoiding misjudgments caused by transient interference and thus improving system robustness. Specifically, when the main control unit detects that the current phase angle is within the interference-shielded phase range, it sets an internal flag to mark the first sampled value as a "phase-related characteristic value." This flag indicates that the sampled value may be affected by phase-related interference and should not be immediately used to trigger the verification mode. The system will continue to perform regular sampling at the first preset frequency without immediately switching to the verification mode at the second preset frequency. Alternatively, if the judgment result is "yes," the system will temporarily ignore the abnormal state of the first sampled value and not use it as a condition for triggering the verification mode. Instead, it will continue to execute step S1, sampling the input voltage at the first preset frequency, i.e., performing the next periodic sampling at the first preset frequency. At the same time, the first sampled value can be stored along with its phase information for subsequent statistical analysis or as a historical data reference, but the verification mode will not be started immediately.
[0073] This application's solution introduces a phase angle checking mechanism. Before determining whether a sampled value is abnormal, it first determines whether the phase angle at the current sampling moment is within a susceptible interference range. This avoids misjudging the sampled value as abnormal and triggering the verification mode in interference-prone areas, reducing system malfunctions and resource waste. In this solution, the main control unit of the electric ceramic furnace periodically samples the input voltage at a first preset frequency. After obtaining the first sampled value, it does not immediately determine whether the first sampled value is outside the preset normal voltage range. Instead, it first acquires the zero-crossing signal of the input voltage and determines the phase angle at the current sampling moment based on this signal. Subsequently, the system determines whether the current phase angle is within a preset interference-shielded phase range. If the current phase angle is indeed within the interference-shielded phase range, even if the first sampled value shows an anomaly, the system will not trigger the verification mode. Instead, it marks the first sampled value as a phase-related characteristic value and maintains the sampling logic at the first preset frequency. This mechanism ensures that when the system detects a voltage anomaly, it does not blindly initiate high-frequency verification but performs intelligent filtering first. By identifying the phase angle at the sampling time, the system can distinguish between "false anomalies" that may be caused by transient power grid interference and "potential anomalies" that truly require further verification. This avoids unnecessary verification mode switching and high-frequency sampling in areas with high incidence of transient interference, thereby reducing the waste of system resources, lowering the false positive rate, and improving the accuracy and efficiency of the protection mechanism. Without sacrificing its ability to protect against persistent anomalies, it significantly improves the system's anti-interference capability against transient fluctuations, solving the problem of traditional solutions being overly sensitive to transient disturbances and leading to false locking.
[0074] The following is a concrete example. When the ceramic cooker is operating normally, its main control unit periodically samples the input voltage at a first preset frequency (e.g., every 100 milliseconds). To improve the accuracy of protection, the main control unit obtains the zero-crossing signal through a zero-crossing detection circuit connected to the AC input. For example, when the mains voltage changes from the negative half-cycle to the positive half-cycle, the zero-crossing detection circuit generates a rising edge signal. Upon receiving this signal, the main control unit's timer starts counting and calculates the phase angle at the current sampling moment based on the current timing value and the AC cycle (e.g., 20 milliseconds corresponds to 360 degrees). Assume that the system's preset interference shielding phase range is 10 to 30 degrees and 190 to 210 degrees after the AC voltage waveform crosses zero (i.e., the initial stages of rising and falling from zero), these ranges are considered susceptible to external transient interference. The main control unit compares the calculated current phase angle with these ranges. If the phase angle at the current sampling moment happens to fall within 15 degrees, which is within the preset interference shielding phase range (10-30 degrees), even if the first sampled value is lower than the normal voltage range due to external transient interference (such as elevator startup), the main control unit will not immediately initiate the verification mode. Instead, it will mark this abnormal first sampled value as "phase-related abnormal" and continue to perform the next regular sampling at a frequency of 100 milliseconds. In this way, the system avoids erroneously triggering high-frequency verification due to an abnormal sampling occurring in a vulnerable phase, thereby reducing unnecessary processing burden.
[0075] Through the above technical solution, this application can effectively identify and shield instantaneous voltage fluctuations occurring in the susceptible phase interval. When the sampled value shows an anomaly within the interference shielding phase interval, the system will not immediately activate the verification mode, but will instead mark it and maintain the normal sampling frequency. This significantly reduces misjudgments caused by instantaneous interference, avoids unnecessary activation of the verification mode and high-frequency sampling, thereby reducing the system's computational burden, improving the accuracy and reliability of the protection mechanism, reducing the possibility of equipment being falsely locked due to instantaneous power grid fluctuations, and enhancing the user experience.
[0076] In some embodiments, the ratio of the second preset frequency to the first preset frequency is greater than or equal to 5; The specific steps in step S4 include: S41. Obtain the preset total number of verification samples; S42. Determine the verification duration based on the second preset frequency and the total number of verification samples; S43. During the verification period, voltage data of the total number of verification samples are continuously collected at a second preset frequency as the sampling interval, and used as multiple second sampling values.
[0077] The ratio of the second preset frequency to the first preset frequency is greater than or equal to 5, designed to ensure that the voltage sampling frequency is significantly higher than the conventional sampling frequency in verification mode. This high-frequency sampling capability allows the system to capture extremely short-duration instantaneous voltage fluctuations without missing crucial information due to excessively long sampling intervals. For example, if the sampling period corresponding to the first preset frequency is 100 milliseconds, the sampling period corresponding to the second preset frequency can be 20 milliseconds or shorter, thereby acquiring more data points within the same time frame.
[0078] The preset total number of verification samples refers to the number of voltage data points that the system needs to collect after starting the verification mode. This total number of samples is preset to ensure sufficient data support for consistency judgment and to avoid misjudgment due to insufficient samples. For example, 5, 10 or more samples can be preset to be collected.
[0079] Determining the verification duration based on the second preset frequency and the total number of verification samples means that the system accurately calculates the total time required to complete all verification sampling based on the set high-frequency sampling frequency and the number of samples to be collected. This dynamic calculation method ensures that the verification process duration matches the actual sampling requirements, preventing incomplete sampling due to excessively short duration and delays in protection actions or restoration of normal operation due to excessively long duration. Specifically, the verification duration can be calculated using the formula "total number of verification samples / second preset frequency" or "total number of verification samples * sampling interval".
[0080] Within the verification period, voltage data of the total number of verification samples is continuously collected at a second preset frequency as the sampling interval, serving as multiple second sample values. This means that after determining the verification period and sampling frequency, the system will continuously collect voltage data within this limited time, according to the sampling interval corresponding to the second preset frequency, until the preset total number of samples is reached. This continuous acquisition mechanism ensures the temporal tightness and sequence of the acquired second sample values, providing a reliable and time-correlated data foundation for subsequent voltage state consistency determination.
[0081] This application's solution addresses the uncertainty of verification duration and sampling quantity in traditional methods by immediately entering a high-frequency, quantitative verification mode after detecting an initial anomaly. Specifically, when the first sampled value is outside the normal voltage range, the system activates the verification mode, switching the sampling frequency to a second preset frequency, significantly higher than the first preset frequency. Based on this, by pre-setting the total number of verification samples to be collected and precisely calculating the verification duration based on this total number of samples and the second preset frequency, a sufficient number of second sampled values can be continuously collected at high density within a limited and controllable time window. This mechanism enables the system to perform a rapid and comprehensive "secondary confirmation" of the voltage state within a short time, effectively distinguishing between transient fluctuations and persistent anomalies. This combination with the basic solution allows the system to avoid blindly performing protection actions when facing transient disturbances to the power grid. Instead, it avoids misjudgment through a rapid and accurate verification process, significantly improving the intelligence and robustness of the protection mechanism.
[0082] The following is a concrete example. In the main control unit of an electric ceramic cooker, when it first detects that the mains voltage exceeds the preset normal range (e.g., below 185V) during regular periodic sampling (e.g., a first preset frequency of 10Hz, i.e., sampling once every 100 milliseconds), the main control unit immediately activates the verification mode. In this mode, the main control unit switches the sampling frequency to a second preset frequency, for example, shortening the sampling interval from 100 milliseconds to 5 milliseconds, at which point the second preset frequency is 200Hz. Thus, the ratio of the second preset frequency to the first preset frequency is 200Hz / 10Hz = 20, satisfying the requirement of being greater than or equal to 5. The main control unit presets a total number of verification samples, for example, 10 samples. Based on the 5-millisecond sampling interval and 10 samples, the system determines the verification duration to be 10 * 5 milliseconds = 50 milliseconds. During these next 50 milliseconds, the main control unit continuously performs 10 voltage samples at a rate of once every 5 milliseconds, obtaining 10 second sample values. Subsequently, the system performs a consistency check on these 10 second sample values. If all 10 sampled values continuously show abnormal voltage, it is determined to be a continuous abnormal state; if any one or more sampled values return to the normal range, it is determined to be a transient fluctuation state.
[0083] Through the above technical solution, this application can precisely control the sampling process of the verification mode, ensuring that sufficient and time-correlated voltage data is acquired in a short time. This enables the system to more accurately and efficiently identify instantaneous voltage fluctuations in the power grid, avoiding misjudgments and unnecessary equipment lock-up caused by a single abnormal sampling. Therefore, while ensuring equipment safety, it significantly improves the operational stability and user experience of the ceramic cooker in complex power grid environments, and reduces after-sales issues caused by "false faults."
[0084] In some embodiments, after determining that the input voltage is in a state of transient fluctuation, the method further includes: S521. Enter the flexible observation period. During the flexible observation period, the input voltage is sampled according to the third preset frequency to obtain the third sampled value. The first preset frequency is less than the third preset frequency, and the third preset frequency is less than the second preset frequency. S522. Based on the third sampled value, obtain the fluctuation characteristic information corresponding to the instantaneous fluctuation state, and determine the observation duration of the elastic observation period based on the fluctuation characteristic information.
[0085] Furthermore, the fluctuation characteristic information includes the maximum amplitude of the voltage deviation from the normal voltage range and the number of samples required for the voltage to recover to the normal voltage range in verification mode; In step S522, the specific steps for determining the observation duration of the elasticity observation period based on the fluctuation characteristic information include: The observation duration is calculated using the following formula: T_obs=T_base+K_amp*Delta_V_max+K_rec*N_recovery; Where T_obs is the observation duration, T_base is the preset base observation duration, K_amp is the preset amplitude influence factor, Delta_V_max is the maximum amplitude value of the voltage deviating from the normal voltage range, K_rec is the preset recovery speed influence factor, and N_recovery is the number of samplings required for the voltage to recover to the normal voltage range in verification mode.
[0086] After determining that the input voltage is in a state of transient fluctuation and maintaining the execution of the heating function, this method does not directly return to the regular low-frequency sampling mode, but first enters a flexible observation period. This flexible observation period is a specific working phase set up after the system determines that the input voltage is in a state of transient fluctuation and maintains the execution of the heating function, in order to continuously but not frequently monitor the subsequent stability of the power grid. This phase aims to provide a buffer and verification time window to confirm whether the grid voltage has completely stabilized or whether there is a risk of further fluctuations, thereby avoiding missing subsequent voltage anomalies due to premature resumption of regular low-frequency sampling, or frequently triggering protection due to excessive sensitivity. For example, an internal status flag, such as a "flexible observation mode" flag, can be set. When the system returns from verification mode and determines that it is a transient fluctuation, this flag is set, and a dedicated timer or counter is started to manage the duration of the observation period. Alternatively, in the software logic of the main control unit, a specific function or subroutine can be defined. When the conditions for entering the flexible observation period are met, this function is called, and the corresponding sampling frequency adjustment and observation duration management logic is executed within it.
[0087] During the flexible observation period, the system continuously samples the input voltage at a third preset frequency to obtain a third sampled value. This step ensures that during the flexible observation period, the system can continuously monitor the voltage at a frequency that is more frequent than regular sampling but more economical than verification mode, thereby promptly detecting potential voltage anomalies while avoiding unnecessary system resource consumption. The third sampled value is the voltage data acquired at this stage and is used for subsequent fluctuation characteristic analysis. For example, the main control unit can configure the sampling trigger period of its internal analog-to-digital converter (ADC) module to sample the voltage at the third preset frequency. If the third preset frequency is once every 30 milliseconds, the ADC will perform a conversion every 30 milliseconds and store the result as the third sampled value. Alternatively, the main control unit's timer interrupt mechanism can be used to set an interrupt with a period equal to the reciprocal of the third preset frequency. Each time the interrupt occurs, the ADC is triggered to perform a voltage sampling, and the sampling result is processed as the third sampled value. It is worth noting that the first preset frequency is less than the third preset frequency, and the third preset frequency is less than the second preset frequency. This frequency setting relationship aims to achieve a hierarchical and intelligent voltage monitoring strategy, balancing response speed, detection accuracy, and system resource consumption. For example, during system initialization, these three frequency values are preset and stored in the memory, and the operating frequency of the voltage sampling module is configured by reading the corresponding frequency parameters under different operating modes (normal mode, verification mode, and flexible observation mode).
[0088] Subsequently, the system acquires the fluctuation characteristic information corresponding to the instantaneous fluctuation state based on the third sampled value. This step aims to extract key quantitative data from the instantaneous fluctuation event. This data reflects the severity, duration, and recovery characteristics of the fluctuation, providing a basis for dynamically adjusting the observation duration. For example, in verification mode, when the voltage is detected to recover from an abnormal state to normal, the maximum deviation of the abnormal voltage (e.g., the maximum difference below the lower limit of normal or the maximum difference above the upper limit of normal) and the number of samples required to recover from the abnormal state to the normal state can be recorded. This data is saved at the end of the verification mode as fluctuation characteristic information.
[0089] The maximum deviation of the voltage from the normal voltage range (Delta_V_max) refers to the maximum difference between the input voltage value and the preset normal voltage range boundary (whether upper or lower limit) during a transient voltage fluctuation. This value directly reflects the severity of the voltage fluctuation. It can be implemented in verification mode by continuously monitoring and recording all abnormal sampled values and calculating the maximum difference between these abnormal values and the normal range boundary; or by the system tracking and updating the currently detected maximum deviation value in real time.
[0090] In verification mode, the number of samples required for the voltage to recover to the normal voltage range (N_recovery) refers to the number of sampling points required from the first detection of an abnormal voltage state to the first recovery of the input voltage to within the preset normal voltage range after verification mode is activated. This value reflects the speed of voltage recovery. It can be implemented by setting a counter internally after verification mode is activated, incrementing the counter with each voltage sample until the voltage value is detected to have returned to normal; the counter value at this point is the required number of samples. Alternatively, the system can record the timestamp of each sample and determine the number of samples by calculating the time difference and combining it with the sampling frequency.
[0091] Finally, the system determines the observation duration of the flexible observation period based on the fluctuation characteristic information. This step is the core of achieving the "flexible" observation period, allowing the system to adaptively adjust the subsequent monitoring duration according to the actual power grid fluctuations. For example, a base observation duration can be preset, and the observation duration can be dynamically increased or decreased based on the maximum amplitude value in the fluctuation characteristic information and the number of samplings required for recovery, through a weighted calculation. The larger the amplitude and the slower the recovery, the longer the observation duration. Alternatively, based on the fluctuation characteristic information, a preset lookup table can be consulted, which stores the observation durations corresponding to different combinations of fluctuation characteristics, thereby quickly determining the duration of the flexible observation period.
[0092] The following is a concrete example. When the main control unit of the ceramic cooker (e.g., an embedded processor based on an ARM Cortex-M series microcontroller) executes step S52, i.e., determines that the input voltage is in a state of transient fluctuation and maintains the heating function, the main control unit immediately enters a flexible observation period. Specifically, the main control unit modifies the configuration register of its internal timer (e.g., the TIMx timer) to adjust the voltage sampling interrupt period from a regular first preset frequency (e.g., once every 100 milliseconds) to a third preset frequency (e.g., once every 30 milliseconds). During the flexible observation period, each time a timer interrupt is triggered, the analog-to-digital converter (ADC) of the main control unit performs a voltage sampling and processes the sampling result as the third sample value. At the same time, the main control unit obtains the fluctuation characteristic information corresponding to the current transient fluctuation state based on the data collected in the previous verification mode. For example, in verification mode, if the input voltage drops from 220V to 170V (maximum deviation of 50V) and recovers to 220V after 3 samples, the fluctuation characteristic information will record "maximum amplitude value Delta_V_max = 50V" and "number of samples required to recover to the normal range N_recovery = 3". Subsequently, the main control unit will determine the observation duration of this elastic observation period based on this fluctuation characteristic information. For example, a base observation duration T_base can be preset to 1000 milliseconds, an amplitude influence factor K_amp to 0.1 milliseconds / V, and a recovery speed influence factor K_rec to 50 milliseconds / sample. Then, the observation duration T_obs of this elastic observation period will be calculated using the formula T_obs = T_base + K_amp * Delta_V_max + K_rec * N_recovery. Substituting the values from the example above, T_obs = 1000 + 0.1 * 50 + 50 * 3 = 1000 + 5 + 150 = 1155 milliseconds. The main control unit will start a timer and end the elastic observation period after 1155 milliseconds, reverting to the normal first preset frequency sampling mode.
[0093] It should be noted that, from the perspective of its implementation in digital systems (such as microcontrollers), the calculation of the formula T_obs = T_base + K_amp * Delta_V_max + K_rec * N_recovery can be viewed as a combination and scaling of dimensionless values. Specifically, Delta_V_max (maximum voltage deviation) and N_recovery (number of samples required for recovery) are typically processed in numerical form when input to the calculation unit; these values can be considered as dimensionless pure numbers. The preset base observation time T_base, as well as the amplitude influence factor K_amp and recovery speed influence factor K_rec, are also stored and participate in the calculation in numerical form. During the calculation, the combination and weighting of these values make the entire calculation dimensionless at the numerical level. The final calculation result T_obs, although physically representing an observation time (e.g., in milliseconds), is initially a dimensionless numerical result within the calculation unit, and is subsequently interpreted and applied by the system according to preset units (e.g., milliseconds). Therefore, the calculation logic of this formula embodies the dimensionless characteristic at the numerical processing level, while the influence factors such as K_amp and K_rec ensure that the contribution of each component to the final time dimension is physically reasonable.
[0094] Through the above technical solution, the present application introduces a flexible observation period mechanism after determining that the input voltage is in a transient fluctuation state. This effectively solves the problem that traditional methods lack follow-up monitoring after transient fluctuations, which may lead to the equipment immediately triggering protection actions again after the fluctuation, increasing the risk of misjudgment and affecting user experience. Specifically, after a transient fluctuation state, the system does not immediately return to low-frequency sampling, but enters a flexible observation period and samples at a third preset frequency between the regular sampling frequency and the verification mode sampling frequency. This medium-frequency continuous monitoring allows the system to maintain a high level of vigilance during the sensitive period after the fluctuation, promptly detecting possible voltage anomalies and avoiding secondary misjudgments caused by premature relaxation of vigilance. Furthermore, by obtaining the fluctuation characteristic information corresponding to this transient fluctuation state based on the third sample value, and dynamically determining the observation duration of the flexible observation period based on this information, the present application's solution achieves intelligent adaptation to power grid fluctuations. Fluctuation characteristic information (such as maximum amplitude value and recovery speed) can quantify the severity of the fluctuation, and the system adjusts the observation duration accordingly, allowing the observation period to be extended or shortened based on the actual situation. For example, for fluctuations with large amplitude and slow recovery, the observation period will be extended accordingly, providing more buffer time for the grid to stabilize completely; while for minor fluctuations with rapid recovery, the observation period can be appropriately shortened to avoid unnecessary long-term high-frequency monitoring. Through the above technical solutions, the voltage protection function of the ceramic cooktop exhibits higher intelligence and robustness when handling instantaneous grid fluctuations. It not only avoids overreacting to instantaneous fluctuations and reduces the possibility of equipment being erroneously locked, but also ensures effective voltage monitoring during critical periods after fluctuations through an adaptive observation mechanism. This significantly improves equipment stability and user experience, and reduces unnecessary after-sales service costs.
[0095] Please refer to Figure 3 , Figure 3 This invention relates to a heating control circuit control device based on AC voltage protection, as described in some embodiments of the present invention (the heating control circuit control system based on AC voltage protection adopts the heating control circuit control method based on AC voltage protection described in the above embodiments, and the specific process is described in the corresponding steps above). It is applied to an electric ceramic stove. This heating control circuit control device based on AC voltage protection is integrated into the back-end control equipment in the form of a computer program, and includes: The first sampling module 100 is used to periodically sample the input voltage according to a first preset frequency to obtain a first sample value; The judgment module 200 is used to determine whether the first sampled value is outside the preset normal voltage range; The verification module 300 is used to activate the verification mode when the first sampled value is outside the normal voltage range. The verification mode includes switching the sampling frequency to a second preset frequency, where the second preset frequency is greater than the first preset frequency. The second sampling module 400 is used to continuously sample the input voltage at a second preset frequency within a preset verification time to obtain multiple second sampling values. The determination module 500 is used to determine the consistency of multiple second sampled values, specifically including: S51. If multiple second sampled values are outside the normal voltage range, the input voltage is determined to be in a continuous abnormal state, triggering the heating protection action and locking the equipment status; S52. If at least one of the multiple second sample values is within the normal voltage range, the input voltage is determined to be in a state of instantaneous fluctuation, the heating function is maintained, and the control of the first sampling module 100 to sample the input voltage according to the first preset frequency is returned.
[0096] Please refer to Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. The present invention provides an electronic device 13, including: a processor 1301 and a memory 1302. The processor 1301 and the memory 1302 are interconnected and communicate with each other through a communication bus 1303 and / or other forms of connection mechanism (not shown). The memory 1302 stores computer-readable instructions executable by the processor 1301. When the electronic device is running, the processor 1301 executes the computer-readable instructions to execute the method in any optional implementation of the above embodiments, so as to achieve the following functions: periodically sampling the input voltage at a first preset frequency to obtain a first sample value; determining whether the first sample value is outside a preset normal voltage range. When the first sampled value is outside the normal voltage range, the verification mode is activated. The verification mode includes switching the sampling frequency to a second preset frequency. The second preset frequency is greater than the first preset frequency. Within a preset verification duration, the input voltage is continuously sampled at the second preset frequency to obtain multiple second sampled values. The consistency of the multiple second sampled values is determined, specifically including: if all the multiple second sampled values are outside the normal voltage range, the input voltage is determined to be in a continuous abnormal state, the heating protection action is triggered, and the device state is locked; if at least one of the multiple second sampled values is within the normal voltage range, the input voltage is determined to be in a momentary fluctuation state, the heating function is maintained, and the sampling of the input voltage is returned to the first preset frequency.
[0097] This invention provides a computer-readable storage medium storing a computer program thereon. When the computer program is executed by a processor, it executes the method in any optional implementation of the above embodiments to achieve the following functions: periodically sampling the input voltage at a first preset frequency to obtain a first sample value; determining whether the first sample value is outside a preset normal voltage range; when the first sample value is outside the normal voltage range, initiating a verification mode, the verification mode including switching the sampling frequency to a second preset frequency; the second preset frequency being greater than the first preset frequency; continuously sampling the input voltage at the second preset frequency within a preset verification duration to obtain multiple second sample values; performing a consistency determination on the multiple second sample values, specifically including: if all multiple second sample values are outside the normal voltage range, determining that the input voltage is in a continuous abnormal state, triggering a heating protection action and locking the device state; if at least one of the multiple second sample values is within the normal voltage range, determining that the input voltage is in a transient fluctuation state, maintaining the execution of the heating function, and returning to sampling the input voltage at the first preset frequency.
[0098] The computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Red-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0099] In the embodiments provided by this invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some communication interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.
[0100] Furthermore, the units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0101] Furthermore, the functional modules in the various embodiments of the present invention can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0102] In this document, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, without necessarily requiring or implying any such actual relationship or order between these entities or operations.
[0103] The above description is merely an embodiment of the present invention and is not intended to limit the scope of protection of the present invention. For those skilled in the art, the present invention can have various modifications and variations. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A heating control circuit control method based on AC voltage protection, applied to an electric ceramic stove, characterized in that, Includes the following steps: S1. Periodically sample the input voltage according to a first preset frequency to obtain a first sample value; S2. Determine whether the first sampled value is outside the preset normal voltage range; S3. When the first sampled value is outside the normal voltage range, a verification mode is activated, the verification mode including switching the sampling frequency to a second preset frequency; the second preset frequency is greater than the first preset frequency; S4. Within the preset verification time, the input voltage is continuously sampled at the second preset frequency to obtain multiple second sample values; S5. Perform a consistency determination on multiple second sampled values, specifically including: S51. If multiple second sampled values are outside the normal voltage range, the input voltage is determined to be in a continuous abnormal state, triggering the heating protection action and locking the device status; S52. If at least one of the multiple second sampled values is within the normal voltage range, the input voltage is determined to be in a state of instantaneous fluctuation, the heating function is maintained, and the process returns to step S1 to sample the input voltage according to the first preset frequency.
2. The heating control circuit control method based on AC voltage protection according to claim 1, characterized in that, Before performing step S2, the following is also included: S61. Obtain the zero-crossing signal of the input voltage, and determine the current phase angle of the input voltage based on the zero-crossing signal; S62. Determine whether the current phase angle is within a preset interference shielding phase range; S63. If the current phase angle is within the interference shielding phase interval, the first sampled value is marked as a phase-related feature value, and the sampling logic of the first preset frequency is maintained without triggering the start of the verification mode.
3. The heating control circuit control method based on AC voltage protection according to claim 1, characterized in that, The ratio of the second preset frequency to the first preset frequency is greater than or equal to 5.
4. The heating control circuit control method based on AC voltage protection according to claim 3, characterized in that, The specific steps in step S4 include: S41. Obtain the preset total number of verification samples; S42. Determine the verification duration based on the second preset frequency and the total number of verification samples; S43. During the verification period, voltage data of the total number of verification samples are continuously collected at the second preset frequency as the sampling interval, and used as the plurality of second sampling values.
5. The heating control circuit control method based on AC voltage protection according to claim 1, characterized in that, After determining that the input voltage is in a state of instantaneous fluctuation, the method further includes: S521. Enter the flexible observation period. During the flexible observation period, the input voltage is sampled at a third preset frequency to obtain a third sampled value. The first preset frequency is less than the third preset frequency, and the third preset frequency is less than the second preset frequency. S522. Based on the third sampled value, obtain the fluctuation characteristic information corresponding to the instantaneous fluctuation state, and determine the observation duration of the elastic observation period based on the fluctuation characteristic information.
6. The heating control circuit control method based on AC voltage protection according to claim 5, characterized in that, The fluctuation characteristic information includes the maximum magnitude of the voltage deviation from the normal voltage range and the number of samplings required for the voltage to recover to the normal voltage range in the verification mode.
7. The heating control circuit control method based on AC voltage protection according to claim 6, characterized in that, In step S522, the specific steps for determining the observation duration of the elastic observation period based on the fluctuation characteristic information include: The observation duration is calculated using the following formula: T_obs=T_base+K_amp*Delta_V_max+K_rec*N_recovery; Wherein, T_obs is the observation duration, T_base is the preset base observation duration, K_amp is the preset amplitude influence factor, Delta_V_max is the maximum amplitude value of the voltage deviating from the normal voltage range, K_rec is the preset recovery speed influence factor, and N_recovery is the number of samplings required for the voltage to recover to the normal voltage range in the verification mode.
8. A heating control circuit control device based on AC voltage protection, applied to an electric ceramic stove, characterized in that, include: The first sampling module is used to periodically sample the input voltage at a first preset frequency to obtain a first sample value; The judgment module is used to determine whether the first sampled value is outside the preset normal voltage range; The verification module is configured to activate a verification mode when the first sampled value is outside the normal voltage range. The verification mode includes switching the sampling frequency to a second preset frequency, wherein the second preset frequency is greater than the first preset frequency. The second sampling module is used to continuously sample the input voltage at the second preset frequency within a preset verification time to obtain multiple second sampling values. The determination module is used to determine the consistency of multiple second sampled values, specifically including: S51. If multiple second sampled values are outside the normal voltage range, the input voltage is determined to be in a continuous abnormal state, triggering the heating protection action and locking the device status; S52. If at least one of the multiple second sampled values is within the normal voltage range, the input voltage is determined to be in a state of instantaneous fluctuation, the heating function is maintained, and the control of the first sampling module to sample the input voltage according to the first preset frequency is returned.
9. An electronic device, characterized in that, It includes a processor and a memory, the memory storing computer-readable instructions, which, when executed by the processor, perform the steps of the heating control circuit control method based on AC voltage protection as described in any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it performs the steps in the heating control circuit control method based on AC voltage protection as described in any one of claims 1-7.