A controller update control system and control method
By adding control output units at the output end of the controller, including switching power supply and relay, the problem of down-control equipment shutdown in the existing technology requires controller replacement or program update and upgrade, and the down-control equipment is realized without shutting down, improving system stability and user experience.
Patent Information
- Application Number
- CN202210438625.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-25
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2042-04-25
AI Technical Summary
When the existing computer room group control system is replaced or the program is updated and upgraded, the down-control equipment needs to be shut down, resulting in poor system stability.
By adding a control output unit at the output end of the controller, including a switching power supply, a state holding switch and multiple relays in series, the operating status of the down control device remains unchanged during the controller replacement or program update and upgrade, and the circuit connection between the state holding switch and the relay is used to ensure that the down control device does not stop running.
It realizes that when the controller is replaced or the program is updated and upgraded, the down-control device can run without shutting down, improving the stability and user experience of the system, and reducing the impact of the controller disconnection on the down-control device.
Smart Images

Figure CN114706339B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control technology, and in particular to a controller update control system and a control method. Background Art
[0002] In current computer room group control systems (such as central air conditioning cooling and heating source computer room group control systems), disconnecting a controller to perform controller replacement or controller program upgrades often requires shutting down the downstream controlled equipment before performing the above operations.
[0003] Taking the central air-conditioning cold and heat source room group control system as an example, updating and upgrading the controller program without shutting down the downstream controlled equipment requires the group control system to keep the controller's digital output unchanged during the update process. However, only a very small number of controllers on the market support this function. However, if the controller needs to be replaced, the controller cannot achieve the function of keeping the downstream controlled equipment shut down.
[0004] Therefore, current computer room group control systems require that all downstream control devices in the system be shut down before controller replacement or program upgrades are performed. This downtime will inevitably have a significant impact, and the upgrade or replacement operation will inevitably have a certain impact on system stability. Summary of the Invention
[0005] In view of this, the purpose of the present invention is to provide a controller update control system and control method to solve the problem in the prior art that the downstream control equipment needs to be shut down to perform controller replacement or program update and upgrade, resulting in poor system stability.
[0006] According to a first aspect of an embodiment of the present invention, there is provided a controller update control system, comprising:
[0007] A controller, and a control output unit connected to an output end of the controller;
[0008] The control output unit has an output end connected to the lower-controlled device and is used to maintain the operating state of the lower-controlled device unchanged when it is determined that the controller is replaced or the program is updated and upgraded. The operating state at least includes: starting and stopping.
[0009] Preferably, the control output unit includes:
[0010] Switching power supply, state holding switch, multiple relays connected in series, among which,
[0011] The switching power supply is connected in series with the coil of the relay to form a first series branch;
[0012] The state holding switch is connected in series with the normally open contact of at least one relay to form a second series branch; the first series branch and the second series branch are connected in parallel to the output end of the controller;
[0013] In a relay whose normally open contact is not connected in series with a state-holding switch, at least one normally open contact of the relay is connected to a lower-controlled device through a passive dry contact.
[0014] According to a second aspect of an embodiment of the present invention, a control method for a controller update control system is provided. The controller update control system includes a controller and a control output unit connected to an output end of the controller, including:
[0015] When it is determined that the controller is replaced or the program is updated, the operating state of the controlled device is maintained unchanged by controlling the output unit, and the operating state includes at least: starting and stopping;
[0016] The output end of the control output unit is connected to the downstream control device.
[0017] Preferably, the method further comprises:
[0018] When it is determined that the controller has been replaced or the program has been updated, the controller's built-in power-on self-test program is used to maintain the operating status of the downstream controlled devices unchanged before and after the controller's power-on self-test.
[0019] Preferably, the method further comprises:
[0020] When the status of the control output unit remains closed, it is determined that the controller has been replaced or the program has been updated.
[0021] Preferably, the step of maintaining the operating state of the controlled device unchanged by controlling the output unit includes:
[0022] Obtain the operating status control instruction output by the controller output terminal;
[0023] If the operating state carried by the operating state control instruction is start, the coils of all relays in the control output unit are energized, the normally open contacts connected in series with the state holding switch are closed, the normally open contacts connected to the lower controlled device are closed, and the operating state of the lower controlled device is maintained at start;
[0024] If the operating status carried by the operating status control instruction is stop, the coils of all relays in the control output unit shall not be energized, the normally open contacts connected in series with the status holding switch shall be disconnected, the normally open contacts connected to the lower control device shall be disconnected, and the operating status of the lower control device shall remain stop.
[0025] Preferably, the maintaining the operating state of the controlled device before and after the controller is powered on and self-tested by the built-in power-on self-test program of the controller includes:
[0026] After power-on, it receives the operating status information fed back by the downstream control equipment;
[0027] If the operation status information indicates that the operation status is started, a control instruction indicating that the operation status is started is output to the control output unit, so that after the controller is powered on and started, the operation status of the controlled device remains started;
[0028] If the operation status information is displayed as stopped, a control instruction indicating that the operation status is stopped is output to the control output unit, so that after the controller is powered on and started, the operation status of the controlled device remains stopped.
[0029] Preferably, before receiving the operating status information fed back by the downstream control device, the method further includes:
[0030] Set the power-on self-test duration to the preset duration;
[0031] When the preset time is reached, the power-on self-test program is exited and the power-on initialization is completed.
[0032] According to a third aspect of an embodiment of the present invention, there is provided an electrical device, including:
[0033] A controller update control system as described in any of the above items;
[0034] Alternatively, any of the control methods described above can be executed.
[0035] Preferably, the electrical equipment includes:
[0036] Air conditioning units, fresh air units, and air purification units.
[0037] The technical solutions provided by the embodiments of the present invention may have the following beneficial effects:
[0038] By adding a control output unit, the operating status of the downstream control device can be maintained unchanged when the controller is replaced or the program is updated and upgraded. Compared with the existing technology, the technical solution provided by the present invention can ensure that the downstream control device can run without stopping when the controller is replaced or the program is updated and upgraded, reducing the impact of controller disconnection on the downstream control device, increasing the stability of the system, and providing good user experience and high satisfaction.
[0039] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0041] Figure 1 is a schematic block diagram of a controller update control system according to an exemplary embodiment;
[0042] Figure 2 is a schematic diagram of a controller of a controller update control system according to an exemplary embodiment;
[0043] Figure 3 is a circuit schematic diagram of a control output unit of a controller update control system according to an exemplary embodiment;
[0044] Figure 4 is a flow chart showing a control method for updating a control system by a controller according to an exemplary embodiment;
[0045] Figure 5 is a flow chart showing a controller disconnection phase of a controller update control system according to an exemplary embodiment;
[0046] Figure 6 is a flow chart showing a controller reconnection phase of a controller update control system according to an exemplary embodiment;
[0047] Figure 7 The present invention is a flowchart showing a controller replacement or program update operation of a controller update control system according to an exemplary embodiment. DETAILED DESCRIPTION
[0048] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. In the following description, when referring to the drawings, like numbers in different figures represent like or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present invention, as detailed in the appended claims.
[0049] Example 1
[0050] Figure 1 FIG. 1 is a schematic block diagram of a controller updating control system according to an exemplary embodiment. Figure 1 As shown, the system includes:
[0051] According to a first aspect of an embodiment of the present invention, there is provided a controller update control system, comprising:
[0052] A controller 100, and a control output unit 200 connected to an output terminal of the controller;
[0053] The control output unit 200 has an output end connected to the lower control device 300 and is used to maintain the operating state of the lower control device 300 unchanged when it is determined that the controller 100 is replaced or the program is updated. The operating state includes at least: start and stop.
[0054] It should be noted that the technical solution provided in this embodiment is applicable to the group control system, which is applicable to the computer room of electrical equipment, such as the central air-conditioning cold and heat source computer room group control system, the fresh air unit computer room group control system, the air purification unit computer room group control system, etc.
[0055] Preferably, in the technical solution provided by this embodiment, the controller 100 is located in the central processing unit of the group control system. The digital input of the controller 100 is the operating status signal of the downstream control device 300, and the digital output is sent to the control output unit 200 to control the on and off of the control output unit 200.
[0056] It can be understood that the technical solution provided in this embodiment, by adding a control output unit, can maintain the operating status of the downstream control device unchanged when determining that the controller is replaced or the program is updated and upgraded. Compared with the existing technology, the technical solution provided by the present invention can ensure that the downstream control device can run without stopping when the controller is replaced or the program is updated and upgraded, reducing the impact of controller disconnection on the downstream control device, increasing the stability of the system, and providing good user experience and high satisfaction.
[0057] It should be noted that, in the technical solution provided in this embodiment, the control output unit 200 includes:
[0058] Switching power supply, state holding switch, multiple relays connected in series, among which,
[0059] The switching power supply is connected in series with the coil of the relay to form a first series branch;
[0060] The state holding switch is connected in series with the normally open contact of at least one relay to form a second series branch; the first series branch and the second series branch are connected in parallel to the output end of the controller 100;
[0061] In a relay whose normally open contact is not connected in series with a state-holding switch, at least one normally open contact of the relay is connected to a lower-controlled device through a passive dry contact.
[0062] Preferably, the control output unit is a weak current conversion circuit; and the state holding switch is a manual switch.
[0063] Preferably, the technical solution provided in this embodiment is that in the relay in the control output unit whose normally open contact is not connected in series with the state holding switch, the normally open contact of at least one relay is connected to the start-stop point in the secondary interface of the high-voltage starting cabinet of the lower control device through a passive dry contact.
[0064] See also Figure 2 Preferably, in the technical solution provided by this embodiment, the controller input end is a digital input end, and the controller output end is a digital output end.
[0065] Figure 3 is a circuit diagram of a control output unit of a controller update control system according to an exemplary embodiment. Figure 3 It is a control output unit consisting of two relays connected in series. Figure 3 As an example, the technical solution is described as follows: the control output unit includes: a switching power supply DC24V, a state holding switch S0, a first relay KA1, and a second relay KA2, the two relays are connected in series, wherein,
[0066] The switching power supply DC24V is connected in series with the coil of the first relay KA1 and the coil of the second relay KA2 to form a first series branch;
[0067] The state holding switch S0 is connected in series with the normally open contact of the first relay KA1 to form a second series branch; the first series branch and the second series branch are connected in parallel to the output end of the controller 100;
[0068] The normally open contact of the second relay KA2 is connected to the lower control device through a passive dry contact.
[0069] The working principle is as follows:
[0070] When there is no need to replace the controller or upgrade the program, the status maintenance switch is in the disconnected state. If the operating state of the lower-controlled device is started, the controller output terminal is closed, and the switching power flows through the controller output terminal and the coils of multiple relays connected in series. Since the coils of the relays are energized, the normally open contacts of the relays are closed, and the operating state of the lower-controlled device is started; if the operating state of the lower-controlled device is stopped, the controller output terminal is disconnected, and the coils of the relays are not energized, so the normally open contacts of the relays are disconnected, and the operating state of the lower-controlled device is stopped.
[0071] When the controller needs to be replaced or the program needs to be upgraded, the status holding switch is in the closed state. If the operating state of the lower control device is started, the controller output end is closed, and the switching power flows through the controller output end and the coils of multiple relays in series. Since the coil of the relay is energized, the normally open contact of the relay is closed, and the normally open contact of the relay in series with the status holding switch is closed. The switching power can flow through a closed normally open contact, a closed status holding switch, and the coils of multiple relays in series, so that the control output unit reaches a self-locking state. At this time, the control output unit is not controlled by the controller output end, and the operating state of the lower control device can be kept as started; if the operating state of the lower control device is stopped, the controller output end is disconnected. Since the coil of the relay is not energized, the normally open contacts of the relay are all disconnected, the normally open contacts of the relay in series with the status holding switch are disconnected, and the relay coil cannot be energized, so the operating state of the lower control device can be kept as stopped.
[0072] It is understood that the technical solution provided in this embodiment uses the state hold switch to enable the state hold function, so that the operating state of the device can be maintained unchanged during the process of controller disconnection for controller replacement or program upgrade. Setting the state hold switch allows the user to select whether to enable the state hold function, which increases the flexibility of the system.
[0073] Example 2
[0074] Figure 4 FIG. 1 is a flow chart showing a control method for updating a control system by a controller according to an exemplary embodiment. Figure 4 As shown, a control method for a controller updating control system, the controller updating control system includes a controller and a control output unit connected to an output end of the controller, including:
[0075] Step S1: When it is determined that the controller is replaced or the program is updated, the operating state of the downstream controlled device is maintained unchanged by the control output unit, and the operating state at least includes: start and stop; the output end of the control output unit is connected to the downstream controlled device.
[0076] It should be noted that the technical solution provided in this embodiment is applicable to the group control system, which is applicable to the computer room of electrical equipment, such as the central air-conditioning cold and heat source computer room group control system, the fresh air unit computer room group control system, the air purification unit computer room group control system, etc.
[0077] It can be understood that the technical solution provided in this embodiment, by adding a control output unit, can maintain the operating status of the downstream control device unchanged when determining that the controller is replaced or the program is updated and upgraded. Compared with the existing technology, the technical solution provided by the present invention can ensure that the downstream control device can run without stopping when the controller is replaced or the program is updated and upgraded, reducing the impact of controller disconnection on the downstream control device, increasing the stability of the system, and providing good user experience and high satisfaction.
[0078] In specific practice, the method further includes:
[0079] When it is determined that the controller has been replaced or the program has been updated, the controller's built-in power-on self-test program is used to maintain the operating status of the downstream controlled devices unchanged before and after the controller's power-on self-test.
[0080] It can be understood that the technical solution provided in this embodiment, by setting a power-on self-test program inside the controller, can maintain the operating status of the downstream control device before and after the controller power-on self-test when the controller is replaced or the program is updated and upgraded, thereby avoiding the change of the status of the downstream control device when the controller is reconnected, thereby improving the stability of the system.
[0081] In specific practice, the method further includes:
[0082] When the status of the control output unit remains closed, it is determined that the controller has been replaced or the program has been updated.
[0083] It can be understood that the technical solution provided in this embodiment determines whether the state holding function is turned on by judging whether the state holding switch of the control output unit is closed, and then determines whether the controller is replaced or the program is updated and upgraded, which can increase the flexibility of the system.
[0084] In specific practice, maintaining the operating state of the controlled device unchanged by controlling the output unit includes:
[0085] Obtain the operating status control instruction output by the controller output terminal;
[0086] If the operating state carried by the operating state control instruction is start, the coils of all relays in the control output unit are energized, the normally open contacts connected in series with the state holding switch are closed, the normally open contacts connected to the lower controlled device are closed, and the operating state of the lower controlled device is maintained at start;
[0087] If the operating status carried by the operating status control instruction is stop, the coils of all relays in the control output unit shall not be energized, the normally open contacts connected in series with the status holding switch shall be disconnected, the normally open contacts connected to the lower control device shall be disconnected, and the operating status of the lower control device shall remain stop.
[0088] It can be understood that the technical solution provided in this embodiment can use a relatively simple circuit connection to first obtain the operating status control instruction output by the output end of the controller, and control the lower-controlled device according to the operating status control instruction, and can achieve a self-locking state through the circuit connection relationship between the state holding switch and the relay, so as to maintain the operating status control instruction output to the lower-controlled device, so that after the controller is disconnected, the operating status of the lower-controlled device can be maintained. By adopting the technical solution provided in this embodiment, the debugger of the group control system can make logical changes to the controller at any time, which greatly improves the debugging efficiency of the group control system.
[0089] See also Figure 5 , Figure 5 FIG. 1 is a flowchart of a controller disconnection phase of a controller update control system according to an exemplary embodiment, which describes the controller disconnection phase.
[0090] The controller output terminal outputs the operation status instruction;
[0091] Determine whether the state retention function is enabled:
[0092] If so, the operating status instruction output from the output end of the controller is judged. If the operating status instruction is start, the operating status of the lower-controlled device is start, and since the status holding function is turned on at this time, the operating status of the lower-controlled device remains start; if the operating status instruction is stop, the operating status of the lower-controlled device is stop, and since the status holding function is turned on at this time, the operating status of the lower-controlled device remains stop.
[0093] If not, determine whether the state retention function needs to be enabled at this time:
[0094] If it is determined that the state retention function needs to be enabled at this time, the state retention switch is closed, and the state retention function is activated. At the same time, the control output unit obtains the operating state control instruction output by the controller output terminal and then determines the operating state instruction output by the controller output terminal. In other words, when the controller program needs to be updated or replaced, if the operating state of the downstream controlled device needs to be maintained, the state retention switch is closed before stopping the controller or disconnecting power to it.
[0095] If it is determined that the state holding function does not need to be turned on at this time, then determine whether the running state control instruction is start. If the running state control instruction is start, the running state of the lower-controlled device is start, but it cannot maintain the start state after the controller is disconnected; if the running state control instruction is stop, the running state of the lower-controlled device is stop.
[0096] It can be understood that if the state holding function is not turned on, that is, the state holding switch is not closed, the operating state control instruction output by the controller output end directly affects the operating state of the lower-controlled device. When the operating state control instruction output by the controller output end is start, the operating state of the lower-controlled device is start. When the operating state control instruction output by the controller output end is stop, the operating state of the lower-controlled device is stop.
[0097] In specific practice, the maintenance of the operating status of the controlled device before and after the controller is powered on and self-tested by the built-in power-on self-test program of the controller includes:
[0098] After power-on, it receives the operating status information fed back by the downstream control equipment;
[0099] If the operation status information indicates that the operation status is started, a control instruction indicating that the operation status is started is output to the control output unit, so that after the controller is powered on and started, the operation status of the controlled device remains started;
[0100] If the operation status information is displayed as stopped, a control instruction indicating that the operation status is stopped is output to the control output unit, so that after the controller is powered on and started, the operation status of the controlled device remains stopped.
[0101] Preferably, the controller receives the operating status information fed back by the lower control device through the digital input terminal, and the digital input terminal is connected to the secondary interface of the lower control device or the equipment strong electric starting cabinet
[0102] It can be understood that the technical solution provided in this embodiment, after power-on startup, receives the operating status information fed back by the lower-controlled device, and then outputs the corresponding operating status control instructions to the control output unit, so that when the controller is replaced or the program is updated and upgraded, the operating status of the lower-controlled device before and after the controller power-on self-test can be maintained unchanged, avoiding the change of the lower-controlled device status when the controller is reconnected, thereby improving the stability of the system.
[0103] In specific practice, before receiving the operating status information fed back by the downstream controlled device, the following steps are further included:
[0104] Set the power-on self-test duration to the preset duration;
[0105] When the preset time is reached, the power-on self-test program is exited and the power-on initialization is completed.
[0106] It can be understood that the technical solution provided in this embodiment controls the execution time of the power-on self-test program by setting the power-on self-test duration, which can make the system more stable during the reconnection of the controller and further avoid the change of the status of the downstream control device when the controller is reconnected.
[0107] See also Figure 6 , is a flowchart of a controller reconnection phase of a controller update control system according to an exemplary embodiment, which describes the controller reconnection phase:
[0108] Step S31, the controller is reconnected;
[0109] Step S32: Start timing the power-on self-test duration;
[0110] Step S33: receiving the operating status information fed back by the downstream control device;
[0111] Step S34: If the operation status information of the lower-controlled device is displayed as start, the operation status control instruction outputted by the controller output terminal is start;
[0112] Step S35: If the operation status information of the lower-controlled device is displayed as stop, the operation status control instruction outputted by the controller output terminal is stop;
[0113] Step S36: If the preset time is reached, exit the power-on self-test program and complete the power-on initialization;
[0114] If the preset time has not been reached, jump to step S33.
[0115] It is understood that after completing a controller program update or replacement, the controller will restart. During this process, the controller's internal processing will be executed as follows: After the controller starts, the power-on self-test timer begins. The controller executes the power-on self-test program, first receiving the operating status information fed back by the downstream controlled device. If the state of the controller's digital input terminal is "1", indicating that the operating status of the downstream controlled device is started, the state of the controller's digital output terminal is set to "1", and the output terminal of the controller of the control output unit is closed, that is, the operating status control instruction output by the controller output terminal is set to start. If the state of the controller's digital input terminal is "0", indicating that the operating status of the downstream controlled device is stopped, the state of the controller's digital output terminal is set to "0", and the output terminal of the controller of the control output unit is disconnected, that is, the operating status control instruction output by the controller output terminal is set to stop. After the preset timer expires, the power-on self-test program exits, completing the power-on initialization. According to the control output unit circuit, it can be seen that the operating status control instruction output by the controller output terminal will directly control the operating status of the downstream controlled device. Preferably, at this point, the state hold switch can be turned off, and the system can be restored to normal use.
[0116] During this process, the controller executes the power-on self-test program. The initialization stage ensures that the operating status control instructions output by the controller output end are consistent with the current operating status of the controlled equipment. Therefore, disconnecting the state holding switch will not affect the system, which ensures the operation or stop condition of the equipment.
[0117] See also Figure 7 , Figure 7 FIG. 1 is a flowchart of a controller replacement or program update operation of a controller update control system according to an exemplary embodiment, which illustrates the controller replacement or program update process.
[0118] Step S41: Controller replacement or program update process begins;
[0119] Step S42: If the controller needs to be replaced or the program needs to be updated, the switch is kept closed;
[0120] Step S43: Replace the controller or update the program;
[0121] Step S44: disconnect the state holding switch after a preset time;
[0122] Step S45: The controller replacement or program update process ends;
[0123] If there is no need to replace the controller or update the program, directly execute step S45.
[0124] When a controller replacement or program update is required, if the on-site equipment needs to be kept in operation, close the status hold switch and then replace the controller or update the program. After the controller replacement or program update is completed, wait for the preset time. After the preset time, close the status hold switch and the controller replacement or program update is completed.
[0125] During the entire controller replacement or program update process, the maintenance of the device operating status is mainly divided into the above two stages: the controller disconnection stage and the controller reconnection stage.
[0126] Example 3
[0127] The present invention provides an electrical device, comprising:
[0128] A controller update control system as described in any of the above items;
[0129] Alternatively, any of the control methods described above can be executed.
[0130] It should be noted that the technical solution provided in this embodiment can be applied to electrical equipment, and can ensure that the downstream controlled equipment can operate without stopping when the controller of the equipment is replaced or the program is updated and upgraded, thereby reducing the impact of the controller disconnection on the downstream controlled equipment, increasing the stability of the system, and providing good user experience and high satisfaction.
[0131] Preferably, the electrical equipment includes:
[0132] Air conditioning units, fresh air units, and air purification units.
[0133] It should be noted that the technical solution provided in this embodiment can be applied at least in air-conditioning units, fresh air units, and air purification units, so that when the corresponding controllers are replaced or the programs are updated and upgraded, the downstream control devices can run without stopping, reducing the impact of controller disconnection on the downstream control devices, increasing the stability of the system, and providing good user experience and high satisfaction.
[0134] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.
[0135] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" is at least two.
[0136] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention pertain.
[0137] It should be understood that various parts of the present invention can be implemented using hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0138] Those skilled in the art will understand that all or part of the steps in the method of the above embodiment can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.
[0139] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing module, or each unit may exist physically separately, or two or more units may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or in the form of software functional modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.
[0140] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0141] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "examples," "specific examples," or "some examples" means that a specific feature, structure, material, or characteristic described in conjunction with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0142] Although the embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and are not to be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A controller update control system, characterized in that: include: A controller, and a control output unit connected to an output end of the controller; The control output unit, whose output end is connected to the lower-controlled device, is used to maintain the operating state of the lower-controlled device unchanged when it is determined that the controller is replaced or the program is updated and upgraded. The operating state includes at least: start and stop; The control output unit includes: Switching power supply, state holding switch, multiple relays connected in series, among which, The switching power supply is connected in series with the coil of the relay to form a first series branch; The state holding switch is connected in series with the normally open contact of at least one relay to form a second series branch; the first series branch and the second series branch are connected in parallel to the output end of the controller; In a relay whose normally open contact is not connected in series with a state-holding switch, at least one normally open contact of the relay is connected to a downstream control device via a passive dry contact; The control output unit is used to obtain the operating status control instruction output by the controller output end; if the operating status carried by the operating status control instruction is start, the coils of all relays in the control output unit are energized, the normally open contacts connected in series with the status holding switch are closed, the normally open contacts connected to the lower control device are closed, and the operating status of the lower control device remains started; if the operating status carried by the operating status control instruction is stop, the coils of all relays in the control output unit are not energized, the normally open contacts connected in series with the status holding switch are disconnected, the normally open contacts connected to the lower control device are disconnected, and the operating status of the lower control device remains stopped.
2. A control method for a controller update control system, the controller update control system comprising a controller and a control output unit connected to an output end of the controller, characterized in that: include: When it is determined that the controller is replaced or the program is updated, the operating state of the controlled device is maintained unchanged by controlling the output unit, and the operating state includes at least: starting and stopping; The output end of the control output unit is connected to the downstream control device; The control output unit includes: Switching power supply, state holding switch, multiple relays connected in series, among which, The switching power supply is connected in series with the coil of the relay to form a first series branch; The state holding switch is connected in series with the normally open contact of at least one relay to form a second series branch; the first series branch and the second series branch are connected in parallel to the output end of the controller; In a relay whose normally open contact is not connected in series with a state-holding switch, at least one normally open contact of the relay is connected to a downstream control device via a passive dry contact; The control output unit is used to obtain the operating status control instruction output by the controller output end; if the operating status carried by the operating status control instruction is start, the coils of all relays in the control output unit are energized, the normally open contacts connected in series with the status holding switch are closed, the normally open contacts connected to the lower control device are closed, and the operating status of the lower control device remains started; if the operating status carried by the operating status control instruction is stop, the coils of all relays in the control output unit are not energized, the normally open contacts connected in series with the status holding switch are disconnected, the normally open contacts connected to the lower control device are disconnected, and the operating status of the lower control device remains stopped.
3. The method according to claim 2, characterized in that Also includes: When it is determined that the controller has been replaced or the program has been updated, the controller's built-in power-on self-test program is used to maintain the operating status of the downstream controlled devices unchanged before and after the controller's power-on self-test.
4. The method according to claim 2 or 3, characterized in that Also includes: When the status of the control output unit remains closed, it is determined that the controller has been replaced or the program has been updated.
5. The method according to claim 3, characterized in that Maintaining the operating status of the controlled device before and after the controller is powered on and self-tested by the controller's built-in power-on self-test program includes: After power-on, it receives the operating status information fed back by the downstream control equipment; If the operating status information indicates that the controller is started, a control instruction indicating that the operating status is started is output to the control output unit, so that after the controller is powered on and started, the operating status of the controlled device remains started; If the operation status information is displayed as stopped, a control instruction indicating that the operation status is stopped is output to the control output unit, so that after the controller is powered on and started, the operation status of the controlled device remains stopped.
6. The method according to claim 5, characterized in that Before receiving the operating status information fed back by the downstream control device, the method further includes: Set the power-on self-test duration to the preset duration; When the preset time is reached, the power-on self-test program is exited and the power-on initialization is completed.
7. An electrical device, characterized in that: include: The controller update control system according to claim 1; Alternatively, the control method according to any one of claims 2 to 6 can be executed.
8. The electrical equipment according to claim 7, characterized in that: include: Air conditioning units, fresh air units, and air purification units.
Citation Information
Patent Citations
Start-stop control device of relay-contact-type control electrical equipment
CN103217921A