Type-c power supply based programmable logic controller

CN224873868UActive Publication Date: 2026-10-20WUXI XINJIE ELECTRICAL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522453687.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-11-19
Publication Date
2026-10-20
Estimated Expiration
2035-11-19

AI Technical Summary

Technical Problem

[0006]本实用新型的目的在于克服上述现有技术的不足,提供了一种基于Type-C供电的可编程逻辑控制器,以解决现有PLC供电存在的220V高压触电风险、电网电磁干扰、电源设计复杂,及依赖专用适配器导致调试灵活性低的技术问题

Benefits of technology

[0017]本实用新型所提供的一种基于Type-C供电的可编程逻辑控制器,通过Type-C端口5V供电规避高压风险、24V端口适配高功耗场景,借Type-C通用性减少专用适配器需求,搭配防护设计抗干扰,还集成USB-OTG功能,兼具供电安全、场景适配性与调试便捷性,保障设备稳定运行。具体有益效果包括:

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224873868U_ABST
    Figure CN224873868U_ABST
Patent Text Reader

Abstract

The utility model relates to industrial automation control technical field, concretely is a programmable logic controller based on Type C power supply, including main control chip, Type C port, 24V power input port, power management module and CC logic chip, Type C port is connected with CC logic chip, power management module and main control chip respectively, 24V power input port is connected with power management module, CC logic chip is connected with main control chip through I2C communication line, power management module is connected with main control chip, Type C port can be used as 5V power voltage input port to satisfy low -power consumption scene demand, can also be used as USB OTG function interface and host computer data interaction, 24V power input port can be used as high -power consumption scene's power input port. This programmable logic controller can adapt to different power consumption scene, need not special power supply, reduce the debugging difficulty, improve power supply safety and equipment stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of industrial automation control technology, and in particular to a programmable logic controller based on Type-C power supply. Background Technology

[0002] Programmable Logic Controllers (PLCs) are devices used for industrial automation control, widely applied in manufacturing, energy, transportation, and other fields. Currently, the power supply modes for PLCs in China are mainly divided into two types: 220V AC power supply and 24V DC power supply.

[0003] The 220V AC power scheme mainly converts 220V AC power into low-voltage DC power (such as 5V, 12V, 24V, etc.) through rectification, step-down, and filtering circuit designs for use by the PLC internal circuits and control modules; the 24V DC power scheme mainly provides 24V DC power directly to the power input terminal of the PLC, and the PLC internal circuits step down the voltage to 5V or 12V through filtering and other circuit designs for use in internal circuits.

[0004] However, whether it's 220V AC power or 24V DC power, the complex circuit design used to convert it into a power supply solution for the PLC's internal chips has the following drawbacks: 1. High voltage hazard: 220V AC power poses a high risk to the human body and can easily cause electric shock accidents, especially in crowded places or during maintenance. 2. Noise interference: Electromagnetic interference (EMI) from the power grid may enter the PLC through the power line, affecting its stability and control accuracy; 3. Complex power supply design: 220V AC power needs to be converted into low-voltage DC power through a transformer and rectifier circuit, and 24V DC power needs to be filtered through a filter circuit. Both solutions increase the complexity of the power supply module design. 4. Low flexibility: Relying on a separate 24V power adapter or power cabinet limits the flexibility and convenience for personnel when debugging the PLC.

[0005] Therefore, a new technical solution is urgently needed to solve the above-mentioned technical problems. Utility Model Content

[0006] The purpose of this utility model is to overcome the shortcomings of the prior art and provide a programmable logic controller based on Type-C power supply to solve the technical problems of existing PLC power supply, such as the risk of electric shock from 220V high voltage, electromagnetic interference from the power grid, complex power supply design, and low debugging flexibility due to reliance on dedicated adapters.

[0007] The above objectives are achieved through the following technical solutions: A programmable logic controller (PLC) powered by Type-C includes a main control chip, a Type-C port, a 24V power input port, a power management module, and a CC logic chip. The Type-C port is connected to the CC logic chip, the power management module, and the main control chip. The 24V power input port is connected to the power management module. The CC logic chip is connected to the main control chip via an I2C communication line. The power management module is also connected to the main control chip. The Type-C port can be used as a 5V power input port to meet the needs of low-power scenarios and can also be used as a USB-OTG interface for data interaction with a host computer. The 24V power input port can be used as a power input port for high-power scenarios.

[0008] Preferably, the USB differential pair (USB_P, USB_N) of the Type-C port is equipped with an anti-static tube and a common-mode filter, and the USB differential pair is connected to the main control chip after passing through the anti-static tube and the common-mode filter.

[0009] Preferably, the CC logic chip is powered by 3.3V, and the CC1 and CC2 pins of the CC logic chip are respectively connected to the Type-C port to identify the type of device (Host device / Device device) connected to the Type-C port, and transmit the device type information to the main control chip through the SCL communication line and the SDA communication line.

[0010] Preferably, the power management module includes a DC-DC power chip, the input terminal of which is connected to the 24V power input port, and the output terminal of which is connected to the core power supply terminal of the power management module, for stepping down the 24V voltage to 5V to supply power to the power management module.

[0011] Preferably, diodes are provided on the power supply lines of both the 24V power input port and the Type-C port. The diodes are used to prevent power backflow or conflict between the 24V external power supply and the Type-C port power supply.

[0012] Preferably, it also includes a power supply chip, the enable pin of which is connected to the main control chip via a GPIO line; when the Type-C port is connected to a device (such as a USB device), the CC logic chip transmits the status of the Type-C port as a source to the main control chip, and the main control chip enables the power supply chip to output a 5V voltage to power the device by setting the enable pin of the power supply chip high.

[0013] Preferably, the input terminal of the power chip is connected to the VCC_5V_USB voltage, and the output terminal is connected to the USB_OTG_VBUS line; when the host control chip loads the Host driver, the host control chip configures the USB_VBUSEN ​​signal to a high level, so that the output voltage of the power chip is equal to the VCC_5V_USB voltage, thereby making the voltage of the USB_OTG_VBUS line 5V.

[0014] Preferably, when the Type-C port is connected to a host device (such as a laptop), the CC logic chip transmits the Type-C port as a Sink to the main control chip, and the main control chip loads a Device driver that matches the host device to realize data interaction with the host device.

[0015] Preferably, the power management module integrates overvoltage protection, overcurrent protection and short circuit protection mechanisms, and the Type-C port supports hot-swapping, allowing the power supply to be plugged in and unplugged without shutting down the system.

[0016] Preferably, the Type-C port housing (JP1) is provided with a USB_OTG_5V pin, which is connected to the power chip and the power management module respectively, for transmitting 5V power supply voltage; the SBU1 pin and SBU2 pin of the Type-C port are used to assist the data interaction of the USB-OTG function.

[0017] This utility model provides a programmable logic controller based on Type-C power supply. It avoids high-voltage risks by using a 5V power supply through the Type-C port and adapts to high-power scenarios with a 24V port. Leveraging the universality of Type-C reduces the need for dedicated adapters. Combined with a protective design to resist interference, it also integrates USB-OTG functionality, offering power safety, scenario adaptability, and convenient debugging, ensuring stable device operation. Specific beneficial effects include: 1. Safety and scenario adaptability: In low-power scenarios, the Type-C port is used for 5V power supply to avoid the risk of electric shock from 220V high voltage; in high-power scenarios, 24V power supply is used to meet the power requirements of different application scenarios. 2. Convenience and universality: The Type-C interface is a common standard for consumer electronics (such as laptops, power banks, etc.), eliminating the need for a dedicated 24V power supply module during debugging, thus reducing the difficulty of maintenance and debugging; at the same time, the Type-C port integrates power supply and USB-OTG functions, facilitating fast data exchange with host computers; 3. Stability and Reliability: The anti-static tubes and common-mode filters of the USB differential pairs reduce electromagnetic interference (EMI) from the power grid. Multiple protection mechanisms (overvoltage, overcurrent, and short-circuit protection) and hot-swappable functionality ensure power supply safety and stable equipment operation. 4. Simplified design: No need for complex transformers, rectifier circuits (for 220V solutions) or additional filter circuits (for traditional 24V solutions), reducing the complexity of power module design. Attached Figure Description

[0018] Figure 1 This is a schematic diagram of the structure of a programmable logic controller based on Type-C power supply according to the present invention; 1 in the figure is the Type-C port; Figure 2 This is a schematic diagram of the 24V power supply input port structure of a programmable logic controller based on Type-C power supply according to the present invention; 2 in the figure is the 24V power supply input port; Figure 3 This is a schematic block diagram of a programmable logic controller based on Type-C power supply according to the present invention. Figure 4 This is a schematic diagram of the Type-C port of a programmable logic controller based on Type-C power supply according to the present invention. Figure 5 This is a schematic diagram of the CC logic chip of a programmable logic controller based on Type-C power supply according to the present invention. Figure 6 This is a schematic diagram of a power supply chip for a programmable logic controller based on Type-C power supply, as described in this utility model. Detailed Implementation

[0019] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. The described embodiments are merely some, not all, of the embodiments of the present 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] like Figure 1 As shown, this solution provides a programmable logic controller based on Type-C power supply, including a main control chip and a Type-C port (such as...). Figure 1 (as shown by mark 1 in the middle), 24V power supply input port (as shown in the middle) Figure 2 (as shown in mark 2), power management module, CC logic chip (such as...) Figure 5 (as shown by U1 in the middle) and power supply chip (such as Figure 6 (As shown by the mark U2 in the middle). The connection relationships of each component are as follows: Type-C port: its socket (such as...) Figure 4The CC1 and CC2 pins (as shown in JP1) are connected to the corresponding pins of the CC logic chip. The USB_P and USB_N pins (i.e., differential pairs) are connected to the main control chip after passing through an anti-static tube and a common-mode filter. The USB_OTG_5V pins are connected to the power chip and the power management module, respectively. 24V power supply input port: directly connected to the input terminal of the power management module, and a diode is provided on the power supply line; Power management module: Built-in DC-DC power chip (e.g.) Figure 3 As shown, the DC-DC power chip's input terminal is connected to a 24V power input port, and its output terminal outputs a 5V voltage to the core circuit of the power management module. The power management module outputs multiple power supplies to power the main control chip; at the same time, the power management module also receives 5V power from the Type-C port. CC logic chip: Powered by 3.3V voltage (VDD_3.3V_USB), it is connected to the main control chip through SCL communication line and SDA communication line, and is used to identify the type of device connected to the Type-C port and transmit it to the main control chip; Power chip: Its enable pin is connected to the main control chip through the GPIO line, the input terminal is connected to the VCC_5V_USB voltage, and the output terminal is connected to the USB_OTG_VBUS line.

[0021] This solution provides the following explanation of the operation of a Type-C powered programmable logic controller in different scenarios: Low-power debugging scenario: When the Type-C port is connected to a laptop (Host device), the Type-C port serves as a 5V power supply input port, transmitting the 5V voltage to the power management module via the Type-C_VBUS line. The power management module then outputs power to the main control chip. Simultaneously, the CC logic chip identifies the Type-C port as being in Sink mode via the CC1 and CC2 pins and transmits this status to the main control chip via I2C communication. The main control chip loads the corresponding Device driver, enabling the Type-C port to function as a USB-OTG interface for data interaction with the laptop. High power consumption normal monitoring scenario: When the user needs to monitor the PLC normally, the 24V voltage is connected through the 24V power input port. The 24V voltage is stepped down to 5V by the DCDC power chip and then used to power the power management module. The power management module outputs multiple power supplies to the main control chip. At this time, the diodes on the 24V power supply line and the diodes on the Type-C port power supply line work together to avoid conflict between the two power supplies. Device connection scenario: When a USB device is connected to the Type-C port, the CC logic chip identifies the Type-C port as Source state through the CC1 and CC2 pins, and transmits this state to the main control chip through I2C communication. The main control chip sets the enable pin of the power chip high through the GPIO line, and the power chip outputs 5V voltage (the voltage of the USB_OTG_VBUS line is 5V) to power the USB device. At the same time, the main control chip interacts with the USB device through the USB differential pair line. Power protection and filtering: The USB differential pairs of the Type-C port are equipped with anti-static tubes and common-mode filters to suppress electromagnetic interference (EMI) and ensure reliable data exchange; the power management module integrates overvoltage protection, overcurrent protection and short-circuit protection mechanisms, and the Type-C port supports hot-swapping, allowing the power supply to be plugged in and unplugged without shutting down the system.

[0022] The above description is only for illustrating the embodiments of this utility model and is not intended to limit this utility model. For those skilled in the art, any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this utility model should be included within the protection scope of this utility model.

Claims

1. A programmable logic controller based on Type-C power supply, characterized in that, The system includes a main control chip, a Type-C port, a 24V power input port, a power management module, and a CC logic chip. The Type-C port is connected to the CC logic chip, the power management module, and the main control chip. The 24V power input port is connected to the power management module. The CC logic chip is connected to the main control chip via an I2C communication line. The power management module is also connected to the main control chip. The Type-C port can be used as a 5V power input port to meet the needs of low-power scenarios and can also be used as a USB-OTG interface for data interaction with a host computer. The 24V power input port can be used as a power input port for high-power scenarios.

2. The programmable logic controller based on Type-C power supply according to claim 1, characterized in that, The USB differential pair of the Type-C port is equipped with an anti-static tube and a common-mode filter. The USB differential pair is connected to the main control chip after passing through the anti-static tube and the common-mode filter.

3. A programmable logic controller based on Type-C power supply according to claim 1, characterized in that, The CC logic chip is powered by 3.3V. The CC1 and CC2 pins of the CC logic chip are connected to the Type-C port respectively to identify the type of device connected to the Type-C port.

4. A programmable logic controller based on Type-C power supply according to claim 1, characterized in that, The power management module includes a DC-DC power chip. The input terminal of the DC-DC power chip is connected to the 24V power input port, and the output terminal is connected to the core power supply terminal of the power management module. It is used to step down the 24V voltage to 5V to supply power to the power management module.

5. A programmable logic controller based on Type-C power supply according to claim 1, characterized in that, Both the 24V power input port and the Type-C port power supply lines are equipped with diodes, which are used to prevent power backflow or conflict between the 24V external power supply and the Type-C port power supply.

6. A programmable logic controller based on Type-C power supply according to claim 1, characterized in that, It also includes a power supply chip, whose enable pin is connected to the main control chip via a GPIO line; when the Type-C port is connected to a device, the CC logic chip transmits the status of the Type-C port as a source to the main control chip, and the main control chip enables the power supply chip to output a 5V voltage to power the device by setting the enable pin of the power supply chip high.

7. A programmable logic controller based on Type-C power supply according to claim 6, characterized in that, The power chip's input terminal is connected to the VCC_5V_USB voltage, and its output terminal is connected to the USB_OTG_VBUS line. When the main control chip loads the Host driver, the main control chip configures the USB_VBUSEN ​​signal to a high level, making the power chip's output voltage equal to the VCC_5V_USB voltage, thereby making the voltage of the USB_OTG_VBUS line 5V.

8. A programmable logic controller based on Type-C power supply according to claim 1, characterized in that, When the Type-C port is connected to the Host device, the CC logic chip transmits the Type-C port as a Sink to the main control chip. The main control chip loads the Device driver that matches the Host device to realize data interaction with the Host device.

9. A programmable logic controller based on Type-C power supply according to claim 1, characterized in that, The power management module integrates overvoltage protection, overcurrent protection and short circuit protection mechanisms, and the Type-C port supports hot-swapping.

10. A programmable logic controller based on Type-C power supply according to claim 6, characterized in that, The Type-C port has a USB_OTG_5V pin on its socket. The USB_OTG_5V pin is connected to the power chip and the power management module respectively and is used to transmit 5V power supply voltage. The SBU1 pin and SBU2 pin of the Type-C port are used to assist the data interaction of the USB-OTG function.