A power supply control circuit and a numerical control device

By using a power control circuit to prevent malfunctions in the motion control system, delaying power supply and establishing electrical isolation, the problem of unstable I/O signals during CPU power-on is solved, thereby improving the safety and reliability of the system.

CN225033852UActive Publication Date: 2026-11-27GUANGZHOU JSTAR ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522804439.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-12-30
Publication Date
2026-11-27
Estimated Expiration
2035-12-30

AI Technical Summary

Technical Problem

In motion control systems, unstable I/O port signals during CPU power-on can lead to abnormal output signals transmitted to the actuator, causing malfunctions, sequence errors, or unexpected operation, affecting the normal startup process of the system and posing a safety hazard.

Method used

The power control circuit adopts anti-malfunction measures. It delays power supply through switching devices and delay units, and establishes electrical isolation between the microcontroller output IO and the external load by combining isolation device array, ensuring that the external load is driven only after the signal is stable.

Benefits of technology

It eliminates load malfunctions caused by uncertain CPU I/O states at the moment of power-on, improves the safety and operational reliability of the motion control system, simplifies the system architecture, and reduces design difficulty.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN225033852U_ABST
    Figure CN225033852U_ABST
Patent Text Reader

Abstract

The utility model provides a kind of power control circuit and numerical control device of preventing misoperation, its circuit includes: switching device, its input end is connected to first power supply, its output end is used to provide controlled second power supply;Delay unit, the input end of delay unit is connected to first power supply, output end is connected to the control end of switching device, for delaying the conduction of switching device in power-on process;Isolator device array, the power supply side of isolator device array is connected with second power supply, its output side is used to connect and drive external load, its signal side is used to connect the output IO of microcontroller.This utility model second power supply is delayed to establish relative to first power supply, when second power supply provides stable working voltage for isolator device array, the output IO of microcontroller can effectively drive external load by isolator device array, fundamentally eliminates the load misoperation caused by the IO state of CPU is uncertain in power-on instant, improves motion control system safety and operating reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of power supply circuit technology, and in particular to a power control circuit and a numerical control device for preventing malfunction. Background Technology

[0002] In motion control systems, output I / O serves as a crucial interface between the central processing unit (CPU) and external actuators. The stability of its signals directly determines the control accuracy and operational reliability of the entire system. During system power-up, the CPU typically needs to complete initialization operations. During this period, its I / O ports are often in a transient state, prone to level drift, timing disorders, or uncertain logic states.

[0003] Currently, most motion control systems directly drive or connect to external actuators via simple drive circuits using their output I / O, without designing dedicated suppression or isolation circuits to address the inherent instability of CPU output signals during power-up. Therefore, abnormal signals output by the CPU at power-up may be transmitted to the actuators without processing, leading to malfunctions, sequence errors, or unexpected operation. Such malfunctions not only disrupt the normal system startup process and affect production efficiency but may also cause mechanical collisions, equipment damage, and even personal injury accidents, posing significant operational risks and safety hazards. Utility Model Content

[0004] This utility model provides a power control circuit and electronic device for preventing malfunctions, in order to solve the problems existing in related technologies. The technical solution is as follows: In a first aspect, embodiments of the present invention provide a power control circuit for preventing malfunctions, comprising: A switching device whose input is connected to a first power supply and whose output is used to provide a controlled second power supply; The delay unit has its input connected to the first power supply and its output connected to the control terminal of the switching device. It is used to delay the conduction of the switching device during the power-on process. An isolation device array, the power supply side of which is connected to a second power supply, its output side is used to connect to and drive an external load, and its signal side is used to connect to the output I / O of a microcontroller; When the second power supply provides a stable operating voltage to the isolation device array, the microcontroller's output I / O can effectively drive the external load through the isolation device array.

[0005] In one implementation, the switching device is a MOSFET or a transistor.

[0006] In one embodiment, the switching device is a PMOS transistor, the source of the PMOS transistor is connected to a first power supply, the drain of the PMOS transistor serves as the output terminal to provide a second power supply to the isolation device array, and the gate of the PMOS transistor serves as the control terminal connected to the delay unit.

[0007] In one embodiment, the delay unit includes a resistor R1 and a capacitor C1. A first power supply is connected to one end of the capacitor C1 and to the source of the PMOS transistor. The other end of the capacitor C1 is connected to one end of the resistor R1 and to the gate of the PMOS transistor. The other end of the resistor R1 is grounded.

[0008] In one implementation, when the first power supply is powered on, the gate-source voltage of the PMOS transistor is greater than its turn-on voltage, causing the PMOS transistor to be in a turned-off state, and the second power supply output is 0V.

[0009] In one implementation, when the first power supply is powered on, the first power supply charges the capacitor C1 through the resistor R1.

[0010] In one implementation, during the charging process of capacitor C1, the gate voltage of the PMOS transistor gradually decreases; when the absolute value of the gate-source voltage of the PMOS transistor exceeds the turn-on voltage of the PMOS transistor, the PMOS transistor begins to conduct, causing the second power supply to begin supplying power to the isolation device array.

[0011] In one implementation, when the charging process of capacitor C1 ends, the PMOS transistor enters a fully low-resistance conduction state, and the output voltage of the second power supply is equal to the input voltage of the first power supply, providing a stable operating voltage for the isolation device array.

[0012] In one embodiment, the isolation device array includes multiple independent optical couplers; the light-emitting cathode of each optical coupler forms the signal side of the isolation device array through a corresponding current-limiting resistor, and the light-emitting anode of each optical coupler is connected to a second power supply.

[0013] Secondly, this utility model embodiment provides a numerical control device, including the power control circuit for preventing malfunctions as described above.

[0014] The advantages or beneficial effects of the above technical solutions include at least the following: This invention uses a switching device and a delay unit to form an enable control circuit, which delays the establishment of the second power supply for the isolation device array relative to the first power supply. This ensures that the second power supply is only effectively output after the CPU has completed initialization and its output IO state has stabilized. This fundamentally eliminates the load malfunction caused by the uncertainty of the CPU's IO state at the moment of power-on, and significantly improves the safety and operational reliability of the entire motion control system. This invention establishes a reliable electrical isolation barrier between the microcontroller output I / O and the external load through an array of isolation devices. This not only effectively isolates the core control circuit from potential voltage surges and ground loop interference on the external load side, but also allows the control side and the load side to use independent power supplies with different levels. While achieving strong anti-interference capability, it avoids the design of complex level conversion circuits, simplifies the system architecture, and reduces the overall design difficulty.

[0015] The above overview is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the present invention will become readily apparent from the accompanying drawings and the following detailed description. Attached Figure Description

[0016] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the various drawings denote the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings depict only some embodiments disclosed according to this utility model and should not be construed as limiting the scope of this utility model.

[0017] Figure 1 This is the power control circuit diagram for preventing malfunction of this utility model; Figure 2 This is a schematic diagram showing the location of the power control circuit for preventing malfunctions in the CNC device. Detailed Implementation

[0018] In the following description, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments can be modified in various ways without departing from the spirit or scope of this invention. Therefore, the drawings and description are considered exemplary in nature and not restrictive.

[0019] Example 1 This utility model embodiment provides a power control circuit to prevent malfunctions. The circuit mainly includes: switching devices, delay units, and an array of isolation devices.

[0020] The switching device has an input terminal, an output terminal, and a control terminal. The input terminal of the switching device is connected to the first power supply, and its output terminal is used to provide a controlled second power supply. The control terminal of the switching device is connected to the delay unit. This connection method can delay the conduction when powered on, ensuring that the power supply is stable before supplying power to the isolation array, thus avoiding malfunctions caused by direct power supply when the voltage is unstable.

[0021] The delay unit has an input terminal and an output terminal. The input terminal of the delay unit is connected to the first power supply, and the output terminal is connected to the control terminal of the switching device. It is used to delay the conduction of the switching device during the power-on process.

[0022] An isolation device array consists of multiple isolation devices. The power supply side of the isolation device array is connected to a second power supply, its output side is used to connect to and drive external loads, and its signal side is used to connect to the output I / O of the microcontroller. The advantage of this connection structure is that it centrally manages the power supply, ensures that all channels are enabled synchronously, and maintains signal isolation between channels to avoid mutual interference.

[0023] When the second power supply provides a stable operating voltage to the isolation device array, the microcontroller's output I / O can effectively drive the external load through the isolation device array. This fundamentally eliminates the load malfunction caused by the uncertainty of the CPU's I / O state at the moment of power-on, eliminates the potential risks during the system startup phase, and significantly improves the safety and operational reliability of the entire motion control system.

[0024] The switching device can be a MOSFET or a transistor. In this embodiment, a PMOS transistor is used as the switching device. The source of the PMOS transistor is connected to the first power supply, the drain of the PMOS transistor serves as the output terminal of the switching device to provide a second power supply to the isolation device array, and the gate of the PMOS transistor serves as the control terminal of the switching device to be connected to the delay unit and controlled by the delay unit.

[0025] In this embodiment, the PMOS transistor is connected in series in the power path of the first power supply, making it the "master power switch" of the isolation device array. This connection method enables centralized and synchronous control of the power supply to the entire isolation channel, requiring only one device to manage the power-on and power-off sequence of all subsequent circuits, resulting in a simple and efficient solution.

[0026] In other embodiments, if an NMOS or NPN transistor is used, since it is a normally open device, it needs to be connected in series in the ground path of the controlled power supply. At the same time, its control terminal (gate or base) needs to be driven by a delay unit to cut off the circuit during the power-on delay.

[0027] Regardless of the type of device, its core connection target is controlled by a delay unit, which is connected in series in the power supply or ground path to achieve delayed enable of power supply to the isolation device array.

[0028] In this embodiment, the delay unit is an RC charging circuit consisting of a resistor R1 and a capacitor C1. A first power supply is connected to one end of capacitor C1 and then to the source of the PMOS transistor; the other end of capacitor C1 is connected to one end of resistor R1 and then to the gate of the PMOS transistor; the other end of resistor R1 is grounded. The RC charging circuit formed by resistor R1 and capacitor C1 is used to control the rise rate of the voltage at the control terminal of the switching device.

[0029] At the moment of power-on, the voltage of the first power supply rises from 0V. At this time, since the voltage across capacitor C1 cannot change abruptly, the initial voltage at the second pin of capacitor C1 (i.e., the gate of the PMOS transistor) is approximately equal to that of the first power supply. For the PMOS transistor, its gate-source voltage Vgs is greater than its turn-on voltage Vth, which is typically negative, such as -0.7V; therefore, the PMOS transistor is in the off state. The second power supply outputs 0V, and the output I / O is disabled. During this stage, the first power supply begins charging capacitor C1 through resistor R1.

[0030] like Figure 1 As shown, VCC3V3 is the first power supply for system input, and VCC3V3_IO is the second power supply generated by VCC3V3 through a delay, designed to provide controlled power to the array during subsequent isolation. Figure 1 Q1 is a PMOS transistor.

[0031] As capacitor C1 charges through resistor R1, charge gradually accumulates on C1, and the second pin of C1 (i.e., the gate voltage of the PMOS transistor) is slowly pulled down to the DGND potential through resistor R1. The gate voltage Vg of the PMOS transistor decreases exponentially from the initial voltage of the first power supply, causing the gate-source voltage Vgs (Vgs = Vg - Vs) of the PMOS transistor to gradually become negative. When the absolute value of the gate-source voltage Vgs of the PMOS transistor exceeds the turn-on voltage |Vth|, that is, |Vgs|>|Vth|, the PMOS transistor begins to conduct, and the voltage of the first power supply begins to provide the second power supply to the output terminal through the conducting PMOS transistor.

[0032] After the RC charging process is complete, capacitor C1 is fully charged, and the gate voltage Vg of the PMOS transistor is stably clamped at DGND (0V) by resistor R1. At this time, the gate-source voltage Vgs of the PMOS transistor = 0V - VCC3V3 = -VCC3V3, and its absolute value is much greater than the turn-on voltage |Vth| of the PMOS transistor, causing PMOS transistor Q1 to enter a fully low-resistance conduction state with minimal voltage drop. The output voltage of the second power supply is approximately equal to the input voltage of the first power supply, thus providing full and stable power to the isolation device array. The entire delayed power-on process is complete.

[0033] Since the delay time constant τ = R1 * C1, this embodiment can precisely set the delay time by selecting different resistance values ​​of R1 and capacitance values ​​of C1 to match the initialization time of different CPUs, thus giving the circuit excellent adaptability and flexibility.

[0034] Furthermore, the RC charging circuit itself has low-pass filtering characteristics. The circuit connection method in this embodiment can filter out glitches or high-frequency noise that may occur during power-on, prevent switching devices from being falsely triggered due to momentary interference, and further improve the circuit's anti-interference capability and robustness.

[0035] The second power supply powers the isolation device array, which comprises multiple independent isolation devices forming multiple isolated I / O channels. The isolation devices can be any of the following: optocouplers, magnetic isolation chips, or capacitive isolation chips.

[0036] In this embodiment, the isolation device is at least one independent optical coupler. For example... Figure 1 As shown, the isolation device array consists of multiple optocouplers (U1~Un), each with a light-emitting side and a light-receiving side. The light-emitting side of each optocoupler includes an anode and a cathode. The cathode of each optocoupler forms the signal side of the isolation device array through corresponding current-limiting resistors (R31~R3n), used to connect to the microcontroller's output I / O. The anodes of each optocoupler's light-emitting side are connected to a second power supply. The light-receiving side of the optocoupler is connected to an external load, used to receive the optical signal from the light-emitting side and convert it into an electrical signal, achieving signal transmission under electrical isolation.

[0037] It should be explained that external load refers to all actuators, indicating devices, or power units driven by the output side of the isolation device array, including but not limited to relays, solenoid valves, indicator lights, driver enable terminals, and other actuators or indicating devices controlled by electrical signals. For example... Figure 1 As shown, pin 1 of optocouplers U1~Un is used to connect to the second power supply, pin 2 is used to connect to the output IO of the microcontroller, and pins 3 and 4 of optocouplers U1~Un are used to connect to the external load.

[0038] In another embodiment, when the isolation device is a magnetically isolated chip or a capacitively isolated chip, the second power supply (VCC3V3_IO) provides unified power to the input-side circuits of all chips. The operation of the chips depends on this power supply: during the power-on delay phase, the second power supply is not established, the chip's input side is inactive, and no valid signal can be generated to cross the internal isolation barrier (transformer or capacitor), while the output side remains in a safe state; after the second power supply stabilizes, the chip's input side is powered, at which point the microcontroller's output IO signal can be received and modulated by the chip, coupled to the output side through the isolation barrier, and restored to the logic signal driving the load with the support of an independent output-side power supply. This method achieves synchronous and safe enabling of all isolated channels by uniformly controlling the source of the signal chain in hardware.

[0039] In this embodiment, the isolation device array establishes a reliable electrical isolation barrier between the microcontroller output I / O and the external load, effectively isolating the core control circuit from potential voltage surges, ground loop interference, and other impacts and damages that may exist on the external load side.

[0040] Meanwhile, a shared, controlled second power supply is provided for the entire isolation device array, and an array-based layout is adopted to ensure synchronous enabling and disabling of all output channels. During the power-on delay, all optocouplers are absolutely turned off due to the lack of power supply; after the power supply stabilizes, all channels are synchronously ready, avoiding competition or hazards caused by small time differences in power-on between multiple channels.

[0041] The power control circuit in this embodiment consists of common switching transistors, resistors, capacitors, and standard isolation devices, requiring no complex programming or dedicated chips. Its design principle is clear, its structure is compact, and it is easy to implement modularly. This cost-effective and highly reliable standardized hardware solution is very easy to integrate, port, and scale up in various CNC machine tools, industrial robots, automated production lines, and other motion control equipment, demonstrating significant practical value and advantages for widespread adoption.

[0042] Example 2 This embodiment describes a numerical control device, such as... Figure 2 As shown, the CNC device integrates the anti-malfunction power control circuit described in Embodiment 1.

[0043] It should be noted that the power control circuit structure in the CNC device of this utility model can be referred to the corresponding description in Embodiment 1 above, and will not be repeated here.

[0044] The specific form and function of CNC devices vary depending on the external load they drive. The output side of the control circuit can be flexibly adapted to various loads, thus forming devices for different purposes. For example: When the external load is a relay or solenoid valve, the CNC device can be specifically implemented as an auxiliary function control unit of the CNC machine tool, used to precisely control the start and stop of the coolant, the movement of the tool magazine, the tightening and loosening of the clamps, etc.

[0045] When the external load is the enable port of a servo driver or a stepper driver, the CNC device becomes the core part of the multi-axis motion controller, responsible for enabling each motion axis under safe timing, and forming the main control system of equipment such as CNC engraving machines and laser cutting machines.

[0046] When the external load is an indicator light or an audible and visual alarm, this device can serve as a status indication and safety warning module for the CNC system.

[0047] Although the final devices vary in form, they all share a common key hardware foundation for achieving safe and reliable power-on and output. This demonstrates the high adaptability and value of this power control circuit as a universal, low-level safety module.

[0048] Applying this power control circuit to CNC devices, in addition to the aforementioned general beneficial effects, can also solve specific pain points in the CNC field, bringing the following key benefits: 1. Eliminating Dangerous Mechanical Actions such as "Power-On Surge": CNC devices control high-power, high-inertia loads on motors, tool holders, and spindles. If the driver is mistakenly enabled at the moment of power-on, it can easily cause a "power-on surge," leading to serious accidents such as machine collisions and tool breakage. This circuit ensures, through hardware, that the power supply to the driver enable signal or direct power load is absolutely cut off before the controller (such as a CNC system PLC or motion control card) is fully ready, fundamentally eliminating this industry-wide problem and achieving inherent safety.

[0049] 2. Ensuring Reliable Execution of Complex Power-On Initialization Procedures: Modern CNC systems require a series of sophisticated initialization procedures after power-on, including servo system parameter loading, zero-point search, and mechanical error compensation. Any erroneous output during this process can interfere with the procedures, leading to initialization failure. The "hardware silent window" provided by this circuit creates a stable and interference-free electrical environment for software initialization, ensuring 100% reliable execution of complex startup procedures.

[0050] 3. Adaptable to harsh industrial electromagnetic environments: CNC workshops are filled with strong interference sources such as frequency converters and high-power motors. The isolation design of this circuit can effectively block these interferences from being coupled to the core CNC system through the I / O lines, preventing the system from crashing, resetting, or malfunctioning due to interference, and significantly improving the anti-interference capability and reliability of the CNC device in complex industrial environments.

[0051] 4. Reduced overall system cost and maintenance difficulty: Several key safety and reliability issues are solved through a simple, low-cost, general-purpose circuit module. This avoids designing complex protection circuits for each output point and reduces excessive reliance on software security code, making the hardware design of the CNC device simpler, more reliable, and easier to debug and maintain.

[0052] This embodiment demonstrates that integrating the anti-malfunction power control circuit into the CNC device can specifically address core issues such as power-on safety and initialization reliability in this field, achieving hardware-based and standardized improvements in safety and reliability, and has significant practical value and wide applicability.

[0053] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of those different embodiments or examples.

[0054] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this utility model, "a plurality of" means two or more, unless otherwise explicitly specified.

[0055] The above description is merely a specific embodiment of this utility model, but the protection scope of this utility model is not limited thereto. Any person skilled in the art can easily conceive of various variations or substitutions within the technical scope disclosed in this utility model, and these should all be included within the protection scope of this utility model. Therefore, the protection scope of this utility model should be determined by the scope of the claims.

Claims

1. A power control circuit for preventing malfunctions, characterized in that, include: A switching device whose input is connected to a first power supply and whose output is used to provide a controlled second power supply; A delay unit, wherein the input terminal of the delay unit is connected to the first power supply and the output terminal is connected to the control terminal of the switching device, is used to delay the conduction of the switching device during the power-on process; An isolation device array, wherein the power supply side of the isolation device array is connected to the second power supply, its output side is used to connect to and drive an external load, and its signal side is used to connect to the output I / O of a microcontroller; When the second power supply provides a stable operating voltage to the isolation device array, the output I / O of the microcontroller can effectively drive the external load through the isolation device array.

2. The power control circuit for preventing malfunction according to claim 1, characterized in that, The switching device is a MOSFET or a transistor.

3. The power control circuit for preventing malfunction according to claim 2, characterized in that, The switching device is a PMOS transistor. The source of the PMOS transistor is connected to the first power supply, the drain of the PMOS transistor serves as the output terminal to provide the second power supply to the isolation device array, and the gate of the PMOS transistor serves as the control terminal to be connected to the delay unit.

4. The power control circuit for preventing malfunction according to claim 3, characterized in that, The delay unit includes a resistor R1 and a capacitor C1. A first power supply is connected to one end of the capacitor C1 and to the source of the PMOS transistor. The other end of the capacitor C1 is connected to one end of the resistor R1 and to the gate of the PMOS transistor. The other end of the resistor R1 is grounded.

5. The power control circuit for preventing malfunction according to claim 4, characterized in that, When the first power supply is powered on, the gate-source voltage of the PMOS transistor is greater than its turn-on voltage, causing the PMOS transistor to be in the off state, and the output of the second power supply is 0V.

6. The power control circuit for preventing malfunction according to claim 5, characterized in that, When the first power supply is powered on, the first power supply charges the capacitor C1 through the resistor R1.

7. The power control circuit for preventing malfunction according to claim 6, characterized in that, During the charging process of capacitor C1, the gate voltage of the PMOS transistor gradually decreases; when the absolute value of the gate-source voltage of the PMOS transistor exceeds the turn-on voltage of the PMOS transistor, the PMOS transistor begins to conduct, causing the second power supply to begin supplying power to the isolation device array.

8. The power control circuit for preventing malfunction according to claim 7, characterized in that, When the charging process of capacitor C1 ends, the PMOS transistor enters a fully low-resistance conduction state, and the output voltage of the second power supply is equal to the input voltage of the first power supply, providing a stable operating voltage for the isolation device array.

9. The power control circuit for preventing malfunction according to claim 8, characterized in that, The isolation device array includes multiple independent optical couplers; the light-emitting cathodes of each optical coupler are respectively connected to the signal side of the isolation device array through corresponding current-limiting resistors, and the light-emitting anodes of each optical coupler are connected to the second power supply.

10. A numerical control device, characterized in that, Includes a power control circuit for preventing malfunctions as described in any one of claims 1 to 9.