A power supply control circuit and method for industrial controller

By using the communication management module and output management module in the power control circuit of the industrial controller to adjust the supply voltage and current limit value, the problem of small backup power capacity is solved, and stable and reliable power supply and the service life of the backup power are achieved. extend.

CN118693963BActive Publication Date: 2025-01-24DONGGUAN AOYUAN ELECTRONIC TECH CO LTD
View PDF 3 Cites -1 Cited by

Patent Information

Application Number
CN202411165484.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2025-01-24
Estimated Expiration
2044-08-23

Smart Images

  • Figure CN118693963B_ABST
    Figure CN118693963B_ABST
Patent Text Reader

Abstract

The purpose of the present invention is to provide a power supply control circuit and method for an industrial controller, which obtains and sets the working state of the industrial controller through a communication management module, and then switches and manages the power supply output state of the power supply circuit through an output management module, so as to provide a stable and reliable power supply for the industrial controller; in addition, first, when the first current information of the industrial controller is lower than the preset first current threshold, the second current threshold is determined according to the first power information of the backup power supply; then, the flag state of the flag transmission unit is set according to the magnitude relationship between the first current information and the second current threshold; finally, the output voltage value and the output current limiting value of the power supply are adjusted according to the first feedback instruction information of the communication data; so as to extend the service life of the backup power supply in the power supply circuit, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of power supply, and more specifically, discloses a power supply control circuit and method for an industrial controller. Background Art

[0002] Industrial controllers are electronic devices used in the field of industrial automation and are widely used in many industries such as manufacturing, energy, transportation, and public facilities. Since industrial controllers have the characteristic of high restart costs after power outages, the power supply for industrial controllers is usually equipped with a backup power supply, such as a battery, as a device to temporarily provide power supply to cope with power outages in the external power grid.

[0003] In recent years, there have been examples of installing batteries in the power control circuits of industrial controllers as backup power sources. However, due to the size of the power circuits, the size of the batteries is limited, which means that the energy capacity stored in the batteries is often small. When the industrial controller is in high-load production work, the energy capacity of the backup power source will be quickly consumed, and the backup power source will have a poor power supply guarantee effect on the industrial controller.

[0004] Therefore, there is an urgent need for a power control technology for industrial controllers that can provide a stable and reliable power supply for the industrial controller while extending the service life of the backup power supply in the power circuit to improve the user experience. Summary of the invention

[0005] In view of the above problems, the purpose of the present invention is to provide a power supply control circuit and method for an industrial controller, which obtains and sets the working state of the industrial controller through a communication management module, and then switches and manages the power supply output state of the power supply circuit through an output management module; in addition, first, when the first current information of the industrial controller is lower than the preset first current threshold, the second current threshold is determined according to the first power information of the backup power supply; then, the flag state of the flag transmission unit is set according to the size relationship between the first current information and the second current threshold; finally, the output voltage value and the output current limiting value of the power supply are adjusted according to the first feedback instruction information of the communication data.

[0006] In order to achieve the above object, the first aspect of the present invention provides a power supply control circuit for an industrial controller, wherein the power supply control circuit for an industrial controller:

[0007] An energy storage management module, used to provide power to the industrial controller via a backup power supply and manage the charging status of the backup power supply;

[0008] An output management module, used for selecting a power supply of the industrial controller and adjusting an output state of the power supply;

[0009] The communication management module is used to send the identification information to the industrial controller and use the communication information to realize data communication with the industrial controller.

[0010] In this solution, the energy storage management module includes:

[0011] Charge management units and energy storage devices;

[0012] The input end of the charging management unit is connected to an external power supply to regulate the input voltage of the external power supply; the output end of the charging management unit is connected to the energy storage device to manage the charging state of the energy storage device;

[0013] The input end of the energy storage device is connected to the charging management unit for receiving power supply from the charging management unit and storing the power; the output end of the energy storage device is connected to the output management module for providing power supply to the output management module.

[0014] In this solution, the output management module includes:

[0015] A power switching unit, a voltage stabilizing output unit and a current limiting output unit;

[0016] The power switching unit is used to switch the power source of the industrial controller, and includes at least two input terminals, the input terminals of the power switching unit are respectively connected to an external power source and the energy storage management module;

[0017] The voltage stabilizing output unit is used to adjust the power supply voltage of the industrial controller; the input end of the voltage stabilizing output unit is connected to the power switching unit to receive the power supply from the power switching unit; the output end of the voltage stabilizing output unit is connected to the current limiting output unit;

[0018] The current limiting output unit is used to adjust the power supply current of the industrial controller; the input end of the current limiting output unit is connected to the voltage stabilizing output unit; the output end of the current limiting output unit is connected to the industrial controller.

[0019] In this solution, the communication management module includes:

[0020] A logo transmission unit and a data communication unit;

[0021] The flag transmission unit is used to transmit flag information to the industrial controller, including at least two flag states;

[0022] The data communication unit includes at least two communication lines for performing data communication with the industrial controller.

[0023] A second aspect of the present invention further provides a power supply control method for an industrial controller, which is applied to any of the above-mentioned power supply control circuits for an industrial controller, and specifically comprises:

[0024] Determine whether the external power supply is in a power-off state;

[0025] If yes, obtaining first current information;

[0026] Determining whether the first current information exceeds a preset first current threshold;

[0027] If not, obtaining first power information;

[0028] Determining a second current threshold according to the first power information;

[0029] Determining whether the first current information exceeds a preset second current threshold;

[0030] If so, setting the flag transmission unit to a first flag state;

[0031] If not, setting the flag transmission unit to a second flag state and obtaining first feedback instruction information;

[0032] The power supply of the industrial controller is adjusted according to the first feedback instruction information.

[0033] In this solution, the power supply of the industrial controller is adjusted according to the first feedback instruction information, specifically:

[0034] Obtaining first power supply voltage information and first power supply current information according to the first feedback instruction information;

[0035] Obtaining first feedback ratio information according to the first supply voltage information;

[0036] adjusting the first feedback resistor or the second feedback resistor according to the first feedback ratio information;

[0037] Obtaining first resistance value information according to the first power supply current information;

[0038] The third feedback resistor is adjusted according to the first resistance information.

[0039] This plan also includes:

[0040] Determine whether the external power supply is in a power-off state;

[0041] If not, obtaining the first current information;

[0042] Calculating a difference between the first current information and a third current threshold to obtain first current difference information;

[0043] Determining whether the first current difference exceeds a preset first current difference threshold;

[0044] If so, charging is started and the charging state is adjusted according to the first current difference information.

[0045] In this solution, adjusting the charging state according to the first current difference information is specifically:

[0046] determining first charging level information according to the first current difference information;

[0047] adjusting the charging level according to the first charging level information;

[0048] The adjusting the charging level specifically includes: adjusting the level pin state, or generating and sending a charging level setting instruction.

[0049] In this solution, the second current threshold is determined according to the first power information, specifically:

[0050] Acquiring first temperature information;

[0051] Determine a current threshold corresponding table according to the first temperature information;

[0052] The current threshold corresponding table is searched according to the first power information to obtain the second current threshold.

[0053] This plan also includes:

[0054] Acquiring first temperature information;

[0055] determining a charging level threshold according to the first temperature information;

[0056] Obtaining first charging level information;

[0057] determining whether the first charging level information exceeds the charging level threshold;

[0058] If so, the charging level is adjusted according to the charging level threshold.

[0059] The purpose of the present invention is to provide a power supply control circuit and method for an industrial controller, which obtains and sets the working state of the industrial controller through a communication management module, and then switches and manages the power supply output state of the power supply circuit through an output management module, so as to provide a stable and reliable power supply for the industrial controller; in addition, first, when the first current information of the industrial controller is lower than the preset first current threshold, the second current threshold is determined according to the first power information of the backup power supply; then, the flag state of the flag transmission unit is set according to the magnitude relationship between the first current information and the second current threshold; finally, the output voltage value and the output current limiting value of the power supply are adjusted according to the first feedback instruction information of the communication data; so as to extend the service life of the backup power supply in the power supply circuit, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and should not be regarded as limiting the scope.

[0061] Figure 1 A structural block diagram of the power supply control circuit for an industrial controller provided by an embodiment of the present invention is shown;

[0062] Figure 2 A schematic flow chart of a power supply control method for an industrial controller provided by an embodiment of the present invention is shown;

[0063] Figure 3 A flow chart of adjusting the power supply of an industrial controller provided by an embodiment of the present invention is shown;

[0064] Figure 4 A flow chart showing a method for charging an energy storage device using a power supply control circuit provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0065] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. 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.

[0066] Unless otherwise defined, all terms (including technical and scientific terms) used in the embodiments of the present invention have the same meanings as commonly understood by those skilled in the art to which the present invention belongs. It should also be understood that terms such as those defined in common dictionaries should be interpreted as having meanings consistent with their meanings in the context of the relevant technology, and should not be interpreted in an idealized or extremely formal sense, unless the embodiments of the present invention are explicitly defined in this way.

[0067] The words "first", "second" and similar words used in the embodiments of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. Words such as "one", "an" or "the" and similar words do not indicate a quantity limitation, but indicate the existence of at least one. Similarly, words such as "include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Words such as "connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The steps before or after the method of the embodiment of the present invention are not necessarily carried out in order. On the contrary, various steps can be processed in reverse order or simultaneously. At the same time, other operations can also be added to these processes, or a step or several steps can be removed from these processes.

[0068] Please refer to Figure 1 , Figure 1 A structural block diagram of the power supply control circuit for an industrial controller provided by an embodiment of the present invention is shown.

[0069] like Figure 1 As shown, the first aspect of the present invention discloses that the power supply control circuit for an industrial controller includes:

[0070] The energy storage management module 102 is used to provide power to the industrial controller through a backup power supply and manage the charging state of the backup power supply;

[0071] An output management module 104, used to select a power supply of the industrial controller and adjust an output state of the power supply;

[0072] The communication management module 106 is used to send the identification information to the industrial controller and use the communication information to achieve data communication with the industrial controller.

[0073] It should be noted that the external power supply usually refers to the power supply source input from the outside to the industrial controller power circuit. The transformer of the industrial controller power circuit adjusts the voltage and is used to provide power to the power supply target, including providing operating power for the industrial controller and charging power for the energy storage device of the industrial controller power circuit; including but not limited to 220 volts AC and 380 volts AC. The energy storage management module 102 includes an energy storage device and a charging management unit; the energy storage device is an energy storage device, usually a battery, which can release power to the industrial controller and provide power supply to ensure that the basic operating requirements of the industrial controller can be maintained in the event of a power failure of the external power supply; it can also receive power replenishment from the charging management unit to perform charging operations; the charging management unit receives power from the external power supply and adjusts the charging voltage or charging current for charging the energy storage device in real time. The output management module 104 includes a power switching unit, a voltage stabilizing output unit, and a current limiting output unit; the power switching unit is used to switch the power supply source of the industrial controller, that is, to select an external power supply or energy storage device to provide power for the industrial controller; the voltage stabilizing output unit adjusts the output voltage of the industrial controller power circuit to the target voltage value; the current limiting output unit limits the output current of the industrial controller power circuit within the target current limiting value range, thereby achieving real-time control of the power supply output of the industrial controller and improving the stability of the power supply output. The communication management module 106 includes a flag transmission unit and a data communication unit, which are used to communicate with the industrial controller; according to the communication data, data support is provided for the adjustment of the power supply output, thereby improving the stability of the power supply circuit of the industrial controller.

[0074] According to an embodiment of the present invention, the energy storage management module includes:

[0075] Charge management units and energy storage devices;

[0076] The input end of the charging management unit is connected to an external power supply to regulate the input voltage of the external power supply; the output end of the charging management unit is connected to the energy storage device to manage the charging state of the energy storage device;

[0077] The input end of the energy storage device is connected to the charging management unit for receiving power supply from the charging management unit and storing the power; the output end of the energy storage device is connected to the output management module for providing power supply to the output management module.

[0078] It should be noted that the charging management unit is usually a charging management chip, including an input terminal and an output terminal; the input terminal of the charging management chip is connected to the input power supply, which can be the voltage of an external power supply or the voltage of the external power supply after voltage regulation by a transformer; the output terminal of the charging management chip is connected to the energy storage device, and the charging management chip adjusts the input power supply according to the target charging voltage and charging current to obtain a charging power supply for charging the energy storage device; by adjusting the charging voltage and charging current in real time, the stability of the charging operation is improved. The energy storage device is an electric energy storage device, usually a battery, which can provide temporary power supply for the industrial controller as a backup power supply.

[0079] According to an embodiment of the present invention, the output management module includes:

[0080] A power switching unit, a voltage stabilizing output unit and a current limiting output unit;

[0081] The power switching unit is used to switch the power source of the industrial controller, and includes at least two input terminals, the input terminals of the power switching unit are respectively connected to an external power source and the energy storage management module;

[0082] The voltage stabilizing output unit is used to adjust the power supply voltage of the industrial controller; the input end of the voltage stabilizing output unit is connected to the power switching unit to receive the power supply from the power switching unit; the output end of the voltage stabilizing output unit is connected to the current limiting output unit;

[0083] The current limiting output unit is used to adjust the power supply current of the industrial controller; the input end of the current limiting output unit is connected to the voltage stabilizing output unit; the output end of the current limiting output unit is connected to the industrial controller.

[0084] It should be noted that the power switching unit includes at least two input terminals, which are respectively connected to the external power supply and the charging management unit of the energy storage management module; the power switching unit includes at least one output terminal, which is connected to the voltage stabilizing output unit of the output management module. The power switching unit is an analog switch circuit or an analog switch chip; when it is an analog switch circuit, the effect of selecting the power input terminal is achieved by adjusting the level of the switching pin of the analog switch circuit; when it is an analog switch chip, the effect of selecting the power input terminal is achieved by communicating data with the analog switch chip. The voltage stabilizing output unit can be realized by an adjustable voltage stabilizing circuit constructed by an adjustable voltage stabilizing chip, and the adjustable voltage stabilizing circuit includes at least two feedback resistors; the purpose of adjusting the output voltage of the adjustable voltage stabilizing circuit can be achieved by adjusting the voltage dividing value of the two feedback resistors of the adjustable voltage stabilizing circuit; that is, the voltage dividing value can be calculated according to the target output voltage, and then the resistance values ​​of the two feedback resistors of the adjustable voltage stabilizing circuit can be adjusted according to the voltage dividing value, so as to achieve the purpose of the adjustable voltage stabilizing circuit outputting the voltage value on demand. The current limiting output unit can be realized by an adjustable current limiting circuit constructed by a current limiting chip. The adjustable current limiting circuit includes a feedback resistor. The output current limiting value of the adjustable current limiting circuit can be adjusted by adjusting the resistance value of the feedback resistor to ensure that the operating current of the industrial controller does not exceed the set target current limiting value.

[0085] According to an embodiment of the present invention, the communication management module includes:

[0086] A logo transmission unit and a data communication unit;

[0087] The flag transmission unit is used to transmit flag information to the industrial controller, including at least two flag states;

[0088] The data communication unit includes at least two communication lines for performing data communication with the industrial controller.

[0089] It should be noted that the flag transmission unit is a digital pin that outputs digital level information or an analog pin that outputs an analog signal; when it is a digital pin, the digital pin includes a high level and a low level, which are respectively used to indicate a flag state and another flag state, such as indicating the external power supply is powered and de-powered; when it is an analog pin, different flag states are indicated by setting different voltage analog values, for example, 0V, 1V, 2V, and 3V can respectively indicate 4 flag states. The flag transmission unit directly outputs status information through the pin, which can avoid the situation where key information cannot be transmitted due to abnormal data communication. The data communication unit uses wired communication, including but not limited to UART, IIC, SPI, and CAN communication, to transmit data with the industrial controller.

[0090] It is worth mentioning that it also includes:

[0091] The mark transmission unit includes at least one photoelectric coupler;

[0092] The data communication unit includes at least two photocouplers.

[0093] It should be noted that a photoelectric coupler is a photoelectric device that uses light as a medium to transmit electrical signals. The photoelectric coupler achieves electrical isolation between the input and output circuits through the electrical-optical-electrical conversion process, and has good anti-interference and electrical insulation capabilities. When the flag transmission unit is a digital pin, the pin is physically isolated from the industrial controller through the photoelectric coupler, and the electrical signal communication is maintained. The communication line of the data communication unit is provided with a photoelectric coupler, so that the communication pin is physically isolated from the industrial controller, and the electrical signal communication is maintained. The power supply circuit and the industrial controller are isolated from each other through the photoelectric coupler, thereby reducing the risk of either party of the communication affecting the other party's work due to unstable voltage, thereby improving the stability of the power supply circuit.

[0094] Please refer to Figure 2 , Figure 2 A schematic flow chart of a power supply control method for an industrial controller provided in an embodiment of the present invention is shown.

[0095] like Figure 2 As shown, the second aspect of the present invention discloses a power supply control method for an industrial controller, the method comprising:

[0096] S202, determining whether the external power supply is in a power-off state;

[0097] S204, if yes, obtaining first current information;

[0098] S206, determining whether the first current information exceeds a preset first current threshold;

[0099] S208, if not, obtaining first power information;

[0100] S210, determining a second current threshold according to the first power information;

[0101] S212, determining whether the first current information exceeds a preset second current threshold;

[0102] S214, if yes, setting the flag transmission unit to a first flag state;

[0103] S216, if not, setting the flag transmission unit to a second flag state and obtaining first feedback instruction information;

[0104] S218: Adjust the power supply of the industrial controller according to the first feedback instruction information.

[0105] It should be noted that the first current information is the real-time working current value of the industrial controller; the first power information is the battery capacity value of the energy storage device of the power circuit; the first flag state is a state of the flag bit output by the flag transmission unit of the power circuit; the second flag state is another state of the flag bit output by the flag transmission unit of the power circuit; the first feedback instruction information is the communication instruction about the output voltage value and the output current limit value received by the data communication unit of the power circuit from the industrial controller. When the external power supply is in a power-off state, it is necessary to provide power supply to the industrial controller through the energy storage device of the power circuit of the industrial controller to ensure the basic working requirements of the industrial controller. First, determine whether the first current information of the industrial controller exceeds the preset first current threshold. If yes, it means that the industrial controller is in production working state, and the required current supply is too high. If the energy storage device of the power supply circuit is powered by high current, there will be a situation where the energy storage device loses power quickly, which not only greatly reduces the power supply time of the energy storage device, but also the rapid power loss will reduce the service life of the energy storage device. Therefore, at this time, the output management module adjusts the supply power to a guaranteed power supply to provide basic working power for the industrial controller; and the transmission unit and the data communication unit are marked to communicate data with the industrial controller, so that the industrial controller enters a low-power standby mode. If not, it means that the energy storage device may have the ability to meet the industrial controller to maintain the original working state. At this time, the first power information of the energy storage device is measured and obtained. Then, according to the first power information, the preset power current threshold corresponding table is searched to obtain the second current threshold; the second current threshold is the highest output current value that the energy storage device can provide under the current power capacity. Finally, it is determined whether the first current information of the industrial controller exceeds the second current threshold. If yes, it means that the energy capacity of the energy storage device cannot meet the power demand of the industrial controller. At this time, the flag transmission unit is set to the first flag state to notify the industrial controller to reduce the current demand for production work, and the power supply is adjusted through the output management module according to the data communication situation. If not, it means that the energy capacity of the energy storage device can meet the power demand of the industrial controller. At this time, the flag transmission unit is set to the second flag state to notify the industrial controller that the current demand for production work can be maintained; and then the power supply is adjusted according to the output voltage value and the output current limit value in the first feedback information of the industrial controller. Through the above method, the industrial controller can still maintain a long-term powered working state when the external power supply is lost, avoiding the impact of the production state of the industrial controller due to complete power failure, and reducing the restart and maintenance costs of the industrial controller.

[0106] Please refer to Figure 3 , Figure 3 A flow chart of adjusting the power supply of an industrial controller provided by an embodiment of the present invention is shown.

[0107] In the embodiment of the present invention, adjusting the power supply of the industrial controller according to the first feedback instruction information is specifically:

[0108] S302, obtaining first power supply voltage information and first power supply current information according to the first feedback instruction information;

[0109] S304, obtaining first feedback ratio information according to the first supply voltage information;

[0110] S306, adjusting the first feedback resistor or the second feedback resistor according to the first feedback ratio information;

[0111] S308, obtaining first resistance information according to the first power supply current information;

[0112] S310: Adjust the third feedback resistor according to the first resistance information.

[0113] It should be noted that the first supply voltage information is the target output voltage value of the power supply circuit; the first supply current information is the target output current limit value of the power supply circuit; the first feedback ratio information is the voltage division ratio value of the resistance value of the first feedback resistor and the resistance value of the second feedback resistor; the first resistance value information is the target resistance value of the third feedback resistor. In the present invention, by adjusting the voltage division value of the two feedback resistors of the adjustable voltage stabilizing circuit, that is, adjusting the first feedback resistor or the second feedback resistor, the purpose of adjusting the output voltage of the adjustable voltage stabilizing circuit can be achieved; by adjusting the resistance value of the feedback resistor of the adjustable current limiting circuit, that is, adjusting the resistance value of the third feedback resistor, the purpose of adjusting the output current limit value of the adjustable current limiting circuit can be achieved. According to the first supply voltage information and the relationship between the preset voltage division ratio and the output voltage, the first feedback ratio information is calculated, the target resistance values ​​of the first feedback resistor and the second feedback resistor are calculated according to the voltage division theorem, and the first feedback resistor and the second feedback resistor are adjusted respectively. According to the first supply current information and the preset resistance-current relationship, the first resistance value information, that is, the target resistance value of the third resistor, is obtained; and then the third feedback resistor is adjusted according to the target resistance value. As an implementation mode, the first feedback resistor, the second feedback resistor and the third feedback resistor are all digitally adjustable resistors, which can change their resistance values ​​according to a preset communication instruction.

[0114] Please refer to Figure 4 , Figure 4 A flow chart showing a method for charging an energy storage device using a power supply control circuit provided in an embodiment of the present invention.

[0115] In an embodiment of the present invention, it also includes:

[0116] S402, determining whether the external power supply is in a power-off state;

[0117] S404, if not, obtaining the first current information;

[0118] S406, calculating a difference between the first current information and a third current threshold to obtain first current difference information;

[0119] S408, determining whether the first current difference exceeds a preset first current difference threshold;

[0120] S410: If yes, start charging and adjust the charging state according to the first current difference information.

[0121] It should be noted that when the external power supply is in a charged state, the energy storage device can be adjusted to a charging state according to the real-time working current of the industrial controller. First, the difference between the first current information and the third current threshold is calculated to obtain the first current difference information; wherein the third current threshold is the maximum current value that the industrial controller power supply circuit allows to obtain from the external power supply; the first current difference information is the maximum current value that can be provided to the charging management unit. Then, it is determined whether the first current difference information exceeds the preset first current difference threshold; if so, it means that the current first current difference information can meet the current requirement of the charging management unit for charging the energy storage device; at this time, the charging function of the energy storage device is started, and the charging power of the charging management unit is adjusted according to the first current difference information.

[0122] In the embodiment of the present invention, adjusting the charging state according to the first current difference information is specifically:

[0123] determining first charging level information according to the first current difference information;

[0124] adjusting the charging level according to the first charging level information;

[0125] The adjusting the charging level specifically includes: adjusting the level pin state, or generating and sending a charging level setting instruction.

[0126] It should be noted that the first charging level information is a level value for adjusting the charging level of the charging management unit. The charging management unit in the present invention is provided with at least three charging levels, which are used to indicate that the charging management unit is the charging current of the energy storage device; for example, level 0, level 1, and level 2 respectively indicate that the charging current is 0A, 0.5A, and 1A. First, according to the first current difference information, the first charging level information is determined. For example, when the first current difference information is 0.6A, the first charging level information is level 1; when the first current difference information is 1.1A, the first charging level information is level 2. As an implementation method, the level pin of the charging management unit is adjusted according to the level information. For example, two level management pins can be composed of four levels 0b00, 0b01, 0b10, and 0b11 according to binary digital coding, representing levels 0, 1, 2, and 3, respectively. As another implementation method, the charging level is adjusted by sending a preset level adjustment instruction to the charging management chip.

[0127] In the embodiment of the present invention, determining the second current threshold according to the first power information is specifically:

[0128] Acquiring first temperature information;

[0129] Determine a current threshold corresponding table according to the first temperature information;

[0130] The current threshold corresponding table is searched according to the first power information to obtain the second current threshold.

[0131] It should be noted that the first temperature information is the real-time temperature value of the power circuit of the industrial controller. In the power-off state, when the energy storage device is enabled to provide power supply to the industrial controller, the maximum output current value that the energy storage device can provide is adjusted according to the real-time temperature value of the power circuit of the industrial controller, that is, the second current threshold. First, measure the real-time temperature value of the power circuit, and determine the current threshold correspondence table according to the real-time temperature value; that is, if the real-time temperature of the power circuit is different, the corresponding table for searching the temperature threshold will be different. Then, according to the first power information of the energy storage device, the obtained current threshold correspondence table is searched to obtain the second current threshold. The maximum output current value that the energy storage device can provide is limited by the temperature value, so as to avoid the energy storage device being in a high temperature and high load state and extend the service life of the energy storage device.

[0132] In an embodiment of the present invention, it also includes:

[0133] Acquiring first temperature information;

[0134] determining a charging level threshold according to the first temperature information;

[0135] Obtaining first charging level information;

[0136] determining whether the first charging level information exceeds the charging level threshold;

[0137] If so, the charging level is adjusted according to the charging level threshold.

[0138] It should be noted that, in the charging state, the charging level threshold of the charging management unit is adjusted according to the real-time temperature value of the power circuit of the industrial controller to avoid the charging management unit being in a high temperature and high load state, thereby improving the safety and stability of the power circuit. First, the preset temperature level correspondence table is searched according to the first temperature information to obtain the charging level threshold, which indicates the highest level allowed to be set by the charging management unit. Then, it is determined whether it exceeds the charging management unit according to the first charging level information; if so, it indicates that the first charging level information is too high and there is a risk of excessive charging current. Therefore, the charging level of the charging management unit is adjusted according to the charging level threshold.

[0139] It is worth mentioning that it also includes:

[0140] Acquiring second temperature information;

[0141] Determining whether the second temperature information exceeds a preset temperature threshold;

[0142] If so, the charging level is adjusted to level 0, and an external power supply is selected as the power supply for the industrial controller.

[0143] It should be noted that the second temperature information is the real-time temperature value of the energy storage device. When the second temperature information exceeds the preset temperature threshold, it means that the temperature of the energy storage device is too high, triggering the over-temperature protection operation. At this time, the charging level of the charging management unit is adjusted to level 0, and the external power supply is selected as the power supply for the industrial controller; this means that the charging and discharging functions of the energy storage device are stopped, so that the energy storage device is in an idle state, achieving a gradual cooling effect. Avoid reducing the service life of the energy storage device due to excessive temperature, and reduce the risk of burning the energy storage device.

[0144] It is worth mentioning that it also includes:

[0145] Acquire first power information;

[0146] Determining whether the first power information is lower than a preset first power threshold;

[0147] If yes, obtaining the first charging level information and the charging level threshold;

[0148] determining whether the first charging level information is lower than the charging level threshold;

[0149] If so, the charging level is adjusted according to the charging level threshold.

[0150] It should be noted that when the power value of the energy storage device is lower than the preset first power information, it means that the energy storage device is in a state of too low power and needs to be charged with a high current. The relationship between the first charging level information currently set by the charging management unit and the highest level allowed to be set by the charging management unit is determined; if the first charging level information is lower than the charging level threshold, the charging level of the charging management unit is adjusted to the charging level threshold, which means increasing the charging level to achieve the purpose of accelerating charging.

[0151] In summary, the purpose of the present invention is to provide a power control circuit and method for an industrial controller, which obtains and sets the working state of the industrial controller through a communication management module, and then switches and manages the power output state of the power supply circuit through an output management module, so as to provide a stable and reliable power supply for the industrial controller; in addition, first, when the first current information of the industrial controller is lower than the preset first current threshold, the second current threshold is determined according to the first power information of the backup power supply; then, the flag state of the flag transmission unit is set according to the magnitude relationship between the first current information and the second current threshold; finally, the output voltage value and the output current limiting value of the power supply are adjusted according to the first feedback instruction information of the communication data; so as to extend the service life of the backup power supply in the power circuit, thereby improving the user experience.

[0152] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0153] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0154] The above description is only a preferred embodiment of the present invention and is 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 power control method for an industrial controller, applied to a power control circuit for an industrial controller, wherein the power control circuit for the industrial controller comprises: An energy storage management module, used to provide power to the industrial controller via a backup power supply and manage the charging status of the backup power supply; An output management module, used for selecting a power supply of the industrial controller and adjusting an output state of the power supply; A communication management module, used to send the flag information to the industrial controller and use the communication information to achieve data communication with the industrial controller; The energy storage management module includes a charging management unit and an energy storage device; The output management module includes a power switching unit, a voltage stabilization output unit and a current limiting output unit; The communication management module includes a flag transmission unit and a data communication unit; The characteristics include: Determine whether the external power supply is in a power-off state; If yes, obtaining first current information; Determining whether the first current information exceeds a preset first current threshold; If not, obtaining first power information; Determining a second current threshold according to the first power information; Determining whether the first current information exceeds a preset second current threshold; If so, setting the flag transmission unit in the power control circuit of the industrial controller to the first flag state, and adjusting the power supply according to the data communication situation; If not, setting the flag transmission unit in the power control circuit of the industrial controller to the second flag state, and obtaining the first feedback instruction information; adjusting the power supply of the industrial controller according to the first feedback instruction information; The first current information is the real-time working current value of the industrial controller; The first electric quantity information is the battery capacity value of the energy storage device of the power control circuit; The first flag state is a state of a flag bit output by a flag transmission unit of the power control circuit; The second flag state is another state of the flag bit output by the flag transmission unit of the power control circuit; The first feedback instruction information is a communication instruction about an output voltage value and an output current limit value fed back by the data communication unit of the power supply control circuit and received from the industrial controller.

2. A power control method for an industrial controller according to claim 1, characterized in that: The step of adjusting the power supply of the industrial controller according to the first feedback instruction information is specifically: Obtaining first power supply voltage information and first power supply current information according to the first feedback instruction information; Obtaining first feedback ratio information according to the first supply voltage information; adjusting the first feedback resistor or the second feedback resistor according to the first feedback ratio information; Obtaining first resistance value information according to the first power supply current information; adjusting the third feedback resistor according to the first resistance information; The first supply voltage information is a target output voltage value of a power supply control circuit; The first power supply current information is a target output current limit value of a power supply control circuit; The first feedback ratio information is a voltage division ratio value of the resistance value of the first feedback resistor and the resistance value of the second feedback resistor; The first resistance value information is a target resistance value of the third feedback resistor; The first feedback resistor is a feedback resistor of a voltage stabilizing output unit of a power supply control circuit; The second feedback resistor is another feedback resistor of the voltage stabilization output unit of the power supply control circuit; The third feedback resistor is a feedback resistor of a current limiting output unit of the power supply control circuit.

3. A power control method for an industrial controller according to claim 1, characterized in that: Also includes: Determine whether the external power supply is in a power-off state; If not, obtaining the first current information; Calculating a difference between the first current information and a third current threshold to obtain first current difference information; Determining whether the first current difference exceeds a preset first current difference threshold; If yes, start charging and adjust the charging state according to the first current difference information; The third current threshold is the maximum current value that the power control circuit is allowed to obtain from the external power supply.

4. A power control method for an industrial controller according to claim 3, characterized in that: The adjusting the charging state according to the first current difference information is specifically: determining first charging level information according to the first current difference information; adjusting the charging level according to the first charging level information; The adjusting the charging level specifically includes: adjusting the level pin state, or generating and sending a charging level setting instruction; The first charging level information is a level value used to adjust the charging level of the charging management unit.

5. A power control method for an industrial controller according to claim 1, characterized in that: The determining the second current threshold according to the first power information is specifically: Acquiring first temperature information; Determine a current threshold corresponding table according to the first temperature information; According to the first power information, searching the current threshold corresponding table to obtain a second current threshold; The first temperature information is a real-time temperature value of a power control circuit of the industrial controller.

6. A power control method for an industrial controller according to claim 1, characterized in that: Also includes: Acquiring first temperature information; determining a charging level threshold according to the first temperature information; Obtaining first charging level information; determining whether the first charging level information exceeds the charging level threshold; If so, the charging level is adjusted according to the charging level threshold.

Citation Information

Patent Citations

  • Industrial driving power uninterruptible protection device based on direct current supporting technology

    CN109301922A

  • Charger circuit compatible with multiple protocols and control method

    CN116937751A

  • Power management system and power management method

    JP2013135522A