Continuous detection method and system for short circuit or open circuit of magnetron power supply
The method and system for continuous detection of magnetron power supply short and open circuits address the limitations of traditional systems by enabling pre-start detection and automatic restarts, reducing component stress and eliminating the need for manual intervention.
Patent Information
- Application Number
- CN202310646818.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-02
- Publication Date
- 2024-12-03
AI Technical Summary
Traditional magnetron power supply protection circuits can only detect short circuits and open circuits after the power supply is actually started, requiring manual restarts when protection is triggered, and are not capable of continuous detection.
A method and system for continuous detection of short circuits and open circuits involving initialization, starting at minimum power, incrementally increasing PWM duty cycle, and real-time current detection to prevent damage by gradually increasing power.
Enables pre-start detection of short and open circuits, minimizing component stress and avoiding manual restarts by allowing the power supply to restart automatically after a delay, thus extending component life and reducing false protection triggers.
Smart Images

Figure CN119064819A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of magnetron power supply detection, and in particular to a method and system for continuous detection of short circuit or open circuit of a magnetron power supply. Background Art
[0002] The method used in the previous magnetron power supply protection circuit is usually: the power supply starts after power is turned on, and the power is gradually increased. If the short-circuit protection circuit is triggered during the power increase process, the power supply enters the short-circuit protection mode and shuts off the output. The power supply will only restart after power is turned on again. If the power supply has no current output during the power increase process, and there is still no current output after waiting for 10 seconds, it is considered that the power supply output is open-circuited. The power supply enters the open-circuit protection mode and shuts off the output. The power supply will restart after power is turned on again. The biggest disadvantage of this method of detecting short circuits and open circuits is that it can only be detected after the power supply is actually working. At the same time, after protection, the power supply directly shuts off the output and will not automatically restart. In this way, when the ambient temperature changes or the load heat dissipation is abnormal, the power supply needs to be manually restarted after the protection is triggered. Summary of the invention
[0003] The purpose of the present invention is to provide a method and system for continuous detection of short circuit or open circuit of magnetron power supply, so as to solve the problem that the traditional magnetron power supply protection circuit can only detect after the power supply is actually started and needs to be manually restarted when the protection is triggered.
[0004] To achieve the above object, the present invention provides the following technical solution: a method and system for continuous detection of short circuit or open circuit of a magnetron power supply, the detection method comprising the following steps:
[0005] (1) The system is powered on to initialize the peripherals;
[0006] (2) Start at minimum power;
[0007] (3) Increase PWM duty cycle
[0008] (4) Detect output current value
[0009] (5) Determine whether short-circuit protection is triggered
[0010] If the short-circuit protection is triggered, the PWM is turned off, the delay is two minutes, the MCU is reset, and the system is restarted with minimum power; if the short-circuit protection is not triggered, proceed to step (6)
[0011] (6) Determine whether there is output current
[0012] If there is no output current and the duration exceeds 10S, the load is open, the MCU turns off the PWM, waits for two minutes for the MCU to reset, restarts the system with minimum power, and proceeds to step (2) and subsequent detection steps. If there is output current, proceed to step (7)
[0013] (7) Check whether the current reaches the preset value
[0014] If the current does not reach the preset value, then step (3) and subsequent detection steps are repeated. If the current reaches the preset value, then step (8) is performed.
[0015] (8) Determine whether it is the maximum output power
[0016] If it is the maximum power, the startup ends. If it has not reached the maximum power, continue with step (3) and subsequent detection steps until the maximum output power is reached.
[0017] Preferably, the detection system includes: a rectifier filter circuit, a drive circuit, a short-circuit protection circuit, an MCU, a sampling circuit, and an ADC.
[0018] Preferably, the rectifier and filter circuit is used to distill and filter 220V AC power into 310V AC power.
[0019] Preferably, the driving circuit is used to boost 310V AC power to 4200V high voltage output through a boost circuit.
[0020] Beneficial effects of the present invention: The detection method and system of the present invention detect whether the power supply is short-circuited or open-circuited before the power supply is fully started. If the power supply is found to be short-circuited or open-circuited, the power supply stops starting, and after waiting for a period of time, the power supply will try to restart again. This is equivalent to a low-power trial startup process before the power supply is turned on each time. When the power supply is really damaged, since the startup power is very small, the impact on the components is very small, so the power can be turned on repeatedly without worrying about the damage of components due to the impact when the power supply is restarted. At the same time, repeated startup can also avoid the trouble of manually restarting after the power supply triggers the protection shutdown. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 Hardware circuit diagram for detecting system power supply
[0022] Figure 2 Flow chart of the magnetron power supply detection method DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0024] 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 invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0026] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate positions or positional device relationships based on the positions or positional device relationships shown in the accompanying drawings, or the positions or positional device relationships in which the invention product is usually placed when in use, which are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0027] In addition, the terms "horizontal", "vertical" and the like do not mean that the components are required to be absolutely horizontal or suspended, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", and does not mean that the structure must be completely horizontal, but can be slightly tilted.
[0028] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "device", "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0029] Figure 1 is the power supply hardware circuit block diagram of the detection system, Figure 2 The flowchart of the magnetron power supply detection method is now explained in conjunction with the accompanying drawings.
[0030] like Figure 1 As shown, after the AC 220V mains electricity enters the power board, it is rectified and filtered by the rectifier and filter circuit, and the 220V AC power is rectified and filtered into 310V AC power. Then, the 310V power is boosted to 4200V high voltage output through the boost circuit by the drive circuit, and the high voltage signal is added to the magnetron to drive the magnetron to output microwaves. A short-circuit protection circuit is provided after the rectifier and filter circuit. When the current of the power supply is too large during the startup process, the protection circuit will be triggered, and the protection circuit will output a signal to the MCU, and the MCU (single-chip microcomputer, also known as single-chip microcomputer) will stop starting. After waiting for a period of time, the MCU will try to start again. If the protection circuit is still triggered, the MCU will continue to wait. This process repeats until the power supply is successfully started.
[0031] like Figure 2 As shown in the figure, after the system is powered on, the peripherals are initialized first. After the initialization is completed, the control system starts to start with the minimum power. The MCU outputs PWM waves, and the PWM duty cycle increases from the minimum. Each time a PWM wave is output, the feedback value of the output current is read once. When the feedback value is less than the preset value, the PWM duty cycle is gradually increased. When the output feedback value is within the preset value range, the PWM remains unchanged. At this time, the power supply enters a stable working state, so that the output current is maintained at the minimum power preset value. When the output current is stable, the MCU will increase the output power by one level. When the current of this level is stable, the MCU will increase the output power again. This cycle repeats until the output power reaches the maximum output power value. From then on, the power supply will maintain the maximum output power.
[0032] If the MCU detects the output signal of the external short-circuit protection circuit during the minimum output power startup phase, it means that the load is short-circuited, and the MCU immediately turns off the PWM wave output and starts timing waiting. After the 2-minute waiting time is over, the MCU resets the system and restarts the system at the minimum power.
[0033] If the MCU does not detect the short-circuit protection signal during the startup phase with minimum output power, the MCU will detect the voltage value of the output sampling circuit in real time. If the voltage value of the sampling circuit is always 0 during the startup phase and lasts for more than 10 seconds, it means that the load has been open-circuited. The MCU will immediately shut down the PWM wave output and start the timing wait. After the 2-minute waiting time is over, the MCU resets the system and restarts the system with minimum power.
[0034] By increasing the power step by step and detecting short circuits and open circuits in real time, the power supply can be protected step by step during the startup phase, avoiding the impact on components when the power supply is started at maximum power. This effectively extends the life of components. When the power supply enters the protection mode, the MCU will try to start again after waiting for 2 minutes, thus avoiding load fluctuations caused by changes in the external environment, which may lead to false protection of the power supply. At the same time, it saves the trouble of manual restart after the power supply is falsely protected.
[0035] At the same time, this detection and protection method allows the power supply to continue to work when the load is short-circuited or open-circuited. When the power supply output load is continuously short-circuited, the instantaneous output current value is very large. When the MCU detects that the load is short-circuited, it will immediately shut down the output. At this time, the load is still short-circuited, but the output current will become 0, avoiding the risk of large currents continuously impacting components. Moreover, when the load is really short-circuited, the time from the MCU detecting the short signal to shutting down the output is very short. When the output current has not yet increased to the maximum, the MCU has already shut down the output, thus avoiding the opportunity of large currents impacting components. Similarly, when the power supply output is open-circuited, the output voltage will be very high. The MCU will shut down the output in time after detecting the open circuit, which will effectively avoid the impact of large voltages on components and greatly improve the service life of the power supply.
[0036] The present invention provides a method and system for continuous detection of short circuit or open circuit of magnetron power supply. The detection method detects whether the power supply is short circuit or open circuit when the power supply has not been fully started. If the power supply is found to be short circuit or open circuit, the power supply stops starting. After waiting for a period of time, the power supply will try to restart again. This is equivalent to a small power trial start process before each start of the power supply. When the power supply is really damaged, since the starting power is very small, the impact on components is very small, so the power can be repeatedly started many times without worrying about damage to components due to impact at the moment of restarting the power supply. At the same time, repeated startup can also avoid the trouble of manual restart after the power supply triggers the protection shutdown, and can be widely used in the field of magnetron circuit short circuit or open circuit detection.
[0037] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method and system for continuous detection of magnetron short circuit or open circuit, Features: The detection method comprises the following steps: (1) The system is powered on to initialize the peripherals; (2) Start at minimum power; (3) Increase PWM duty cycle (4) Detect output current value (5) Determine whether short-circuit protection is triggered If the short-circuit protection is triggered, the PWM is turned off, the delay is two minutes, the MCU is reset, and the system is restarted with minimum power; if the short-circuit protection is not triggered, proceed to step (6) (6) Determine whether there is output current If there is no output current and the duration exceeds 10S, the load is open, the MCU turns off the PWM, waits for two minutes for the MCU to reset, restarts the system with minimum power, and proceeds to step (2) and subsequent detection steps. If there is output current, proceed to step (7) (7) Check whether the current reaches the preset value If the current does not reach the preset value, then step (3) and subsequent detection steps are repeated. If the current reaches the preset value, then step (8) is performed. (8) Determine whether it is the maximum output power If it is the maximum power, the startup is terminated. If it has not reached the maximum power, step (3) and subsequent detection steps are continued until the maximum output power is reached.
2. A method and system for continuous detection of short circuit or open circuit of a magnetron power supply according to claim 1, Features: The detection system comprises: a rectifier and filter circuit, a drive circuit, a short-circuit protection circuit, an MCU, a sampling circuit, and an ADC.
3. A method and system for continuous detection of short circuit or open circuit of a magnetron power supply according to claim 2, Features: The rectifier and filter circuit is used for distilling and filtering 220V AC power into 310V AC power.
4. A method and system for continuous detection of short circuit or open circuit of a magnetron power supply according to claim 2, Features :The driving circuit is used to boost 310V AC power to 4200V high voltage output through a boost circuit.
