CN114326370B - Extended output circuit system and control method - Google Patents

Extended output circuit system and control method Download PDF

Info

Publication number
CN114326370B
CN114326370B CN202111673254.6A CN202111673254A CN114326370B CN 114326370 B CN114326370 B CN 114326370B CN 202111673254 A CN202111673254 A CN 202111673254A CN 114326370 B CN114326370 B CN 114326370B
Authority
CN
China
Prior art keywords
output
module
auxiliary
main
expansion module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111673254.6A
Other languages
Chinese (zh)
Other versions
CN114326370A (en
Inventor
邵威
李明洋
许雄
戚祯祥
王家鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jieka Robot Co ltd
Original Assignee
Jieka Robot Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jieka Robot Co ltd filed Critical Jieka Robot Co ltd
Priority to CN202111673254.6A priority Critical patent/CN114326370B/en
Publication of CN114326370A publication Critical patent/CN114326370A/en
Application granted granted Critical
Publication of CN114326370B publication Critical patent/CN114326370B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides an extended output circuit system and a control method, which relate to the technical field of circuits, wherein the extended output circuit system comprises: the device comprises a main controller module, a secondary controller module, a main output expansion module, a secondary output expansion module and a bus; the main controller module transmits an output signal to the main output expansion module through the bus; the auxiliary controller module transmits an output signal to the auxiliary output expansion module through the bus; the main output expansion module and the auxiliary output expansion module are used for expanding an output port, wherein the main output expansion module is configured to output a first output signal, the auxiliary output expansion module is configured to output a second output signal, and the first output signal and the second output signal are used for controlling the same external output. The extended output circuit system provided by the application can solve the problem of how to improve the reliability of the extended output circuit system.

Description

Extended output circuit system and control method
Technical Field
The application relates to the technical field of circuits, in particular to an extended output circuit system and a control method.
Background
The system safety refers to the application of system safety engineering and system safety management methods in the system life cycle, the hidden danger in the system is identified, and effective control measures are adopted to minimize the danger, so that the system achieves the optimal safety degree in the specified performance, time and cost range. When an abnormality occurs in a certain part in the system, if the abnormality cannot be informed of the outside, the whole system is unsafe, and if the abnormality can be timely informed of the outside, the whole system cannot generate unsafe results.
In the current circuit system, a single output module is mostly adopted, and when the system is abnormal, the outside is informed of the abnormality. Although the effect of abnormal notification can be achieved, the whole system only has a single output module, and the whole system lacks stability. And a large number of leads are interconnected between the controller module and the output module, so that the coupling between the logic part and the hardware of the output part is large.
Disclosure of Invention
The embodiment of the application aims to provide an extended output circuit control system and an extended output circuit control method, which are used for solving the problem of how to improve the reliability of an extended output circuit system.
Mainly comprises the following aspects:
In a first aspect, the present application provides extended output circuitry, the system comprising: the device comprises a main controller module, a secondary controller module, a main output expansion module, a secondary output expansion module and a bus;
The main controller module transmits an output signal to the main output expansion module through the bus;
the auxiliary controller module transmits an output signal to the auxiliary output expansion module through the bus; and
The main output expansion module and the auxiliary output expansion module are used for expanding an output port, wherein the main output expansion module is configured to output a first output signal, the auxiliary output expansion module is configured to output a second output signal, and the first output signal and the second output signal are used for controlling the same external output.
In the extended output circuit system provided by the embodiment of the application, the main controller module and the auxiliary controller module are adopted to transmit the output signals, wherein the first output signal and the second output signal are used for controlling the same external output, so that the unsafe system caused by the failure of a single chip is avoided, and the reliability of the extended output circuit system can be improved. And each module in the system is connected through a bus, so that the number of connecting wires of each module between the systems can be reduced, standardization and modularization are formed, and the coupling of the controller module and the expansion output module on hardware is smaller.
In some alternative implementations, the system further includes: a primary output monitoring module and a secondary output monitoring module;
The first end of the main output monitoring module is connected with the main output expansion module, and the second end of the main output monitoring module is connected with the bus and used for detecting the working condition of the main output expansion module and feeding back the working condition to the main controller module and the auxiliary controller module; and
The first end of the auxiliary output monitoring module is connected with the auxiliary output expansion module, and the second end of the auxiliary output monitoring module is connected with the bus and used for detecting the working condition of the auxiliary output expansion module and feeding back the working condition to the main controller module and the auxiliary controller module.
In the implementation manner, the main output monitoring module feeds back the working condition of the main output expansion module to the main controller module and the auxiliary controller module, and the auxiliary output monitoring module feeds back the working condition of the auxiliary output expansion module to the main controller module and the auxiliary controller module, so that unsafe systems caused by failure of the main output expansion module and the auxiliary output expansion module can be avoided, and the reliability of an expansion output circuit system can be improved.
In some alternative implementations, the system further includes: a bus abnormality detection module;
the first end of the bus abnormality detection module is connected with the bus, and the second end of the bus abnormality detection module is connected with the main output expansion module and the auxiliary output expansion module and is used for detecting the working condition of the bus.
In the implementation manner, the working condition of the bus is detected by the bus abnormality detection module, so that unsafe system caused by bus abnormality is avoided, and the reliability of the extended output circuit system can be improved.
In some alternative implementations, the system further includes: an input module;
The input module is connected with the main controller module and the auxiliary controller module and is used for sending the output signals to the main controller module and the auxiliary controller module.
In the implementation manner, the input module is connected with the main controller module and the auxiliary controller module and is used for transmitting output signals and controlling the same external output. The unsafe system caused by the failure of a single chip can be avoided, and the reliability of the extended output circuit system is improved.
In a second aspect, an embodiment of the present application provides a control method of an extended output circuit, applied to an extended output circuit system, where the system includes: the system comprises a main controller module, a secondary controller module, a main output expansion module, a secondary output expansion module, a main output monitoring module, a secondary output monitoring module, a bus abnormality detection module and an input module which are connected through buses; the method comprises the following steps:
The main controller module and the auxiliary controller module acquire output signals, wherein the output signals comprise normal signals and abnormal signals;
The main controller module transmits the output signal to the main output expansion module;
the auxiliary controller module transmits the output signal to the auxiliary output expansion module; and
The first output signal output by the main output expansion module and the second output signal output by the auxiliary output expansion module control the same external output, wherein the first output signal comprises a first normal output signal and a first abnormal output signal, and the second output signal comprises a second normal output signal and a second abnormal output signal.
According to the control method for the extended output circuit, the output signals are divided into the main control module and the auxiliary controller module to be transmitted outwards, and the same path of external output is controlled, so that unsafe systems caused by failure of a single chip in the system can be avoided, and the reliability of the extended output circuit system is improved.
In an alternative embodiment, the method further comprises:
detecting the working condition of the system;
if the working condition of the system is normal and the output signal is a normal signal, the main output expansion module outputs a first normal output signal and the auxiliary output expansion module outputs a second normal output signal;
If the working condition of the system is abnormal, the main expansion output module outputs a first abnormal output signal or the auxiliary expansion output module outputs a second abnormal output signal.
In the implementation manner, when the system is abnormal, the main output expansion module outputs a first abnormal output signal or the auxiliary controller module outputs a second abnormal output signal, so that the abnormal condition of the system can be timely informed to the outside, and the reliability of the expansion output circuit system is improved.
In an alternative embodiment, the detecting the operating condition of the system includes:
The main output monitoring module detects the working condition of the main output expansion module;
if the working condition of the main output expansion module is abnormal, the main controller module sends an abnormal signal to the auxiliary output expansion module, and the auxiliary output expansion module outputs the second abnormal output signal;
The auxiliary output monitoring module detects the working condition of the auxiliary output expansion module;
And if the working condition of the auxiliary output expansion module is abnormal, the auxiliary controller module sends an abnormal signal to the main output expansion module, and the main output expansion module outputs the first abnormal output signal.
In the implementation manner, the working condition of the main output expansion module is detected by the main output monitoring module, and the working condition of the auxiliary output expansion module is detected by the auxiliary output monitoring module, so that the unsafe system caused by the failure of the output expansion module in the system can be avoided, and the reliability of the expansion output circuit system is improved.
In an alternative embodiment, the detecting the operating condition of the system includes:
The bus abnormality detection module detects the working condition of the bus;
If the working condition of the bus is abnormal, the bus abnormality detection module sends a reset signal to the main output expansion module or the auxiliary output expansion module, and the main output expansion module outputs the first abnormal output signal or the auxiliary output expansion module outputs the second abnormal output signal, wherein the working condition of the bus is that the abnormal working condition comprises that the idle time of the bus exceeds the preset idle time.
In the implementation manner, the bus abnormality detection module is used for detecting whether the idle time on the bus exceeds the preset idle time, and sending a reset signal to the main output expansion module or the auxiliary output expansion module when the bus is abnormal, so that unsafe system caused by abnormal bus operation can be avoided, and the reliability of the expansion output circuit system is improved.
In an alternative embodiment, the detecting the operating condition of the system includes:
the auxiliary controller module detects the working condition of the main controller module;
If the working condition of the main controller module is abnormal, the auxiliary controller module sends a reset signal to the auxiliary output expansion module, and the auxiliary output expansion module outputs the second abnormal output signal;
The main controller module detects the working condition of the auxiliary controller module;
And if the working condition of the auxiliary controller module is abnormal, the main controller module sends a reset signal to the main output expansion module, and the main output expansion module outputs the first abnormal output signal.
In the implementation manner, the working conditions of the main controller module and the auxiliary controller module are mutually detected, so that unsafe system caused by abnormal working of the main controller module or the auxiliary controller module can be avoided, and the reliability of the extended output circuit system is improved.
In an alternative embodiment, the method further comprises:
And under the non-working state of the system, the main output expansion module outputs the first abnormal output signal and the auxiliary output expansion module outputs the second abnormal output signal.
In the above embodiment, the system outputs the abnormal signal in the non-operating state, thereby avoiding the operation of the external output without being controlled by the system and improving the reliability of the extended output circuit system.
In a third aspect, embodiments of the present application further provide a computer readable storage medium having stored therein computer program instructions which, when read and executed by a processor, perform the steps of the first aspect of the present application in any implementation manner of the extended output circuit detection method.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of an extended output circuit system according to an embodiment of the present application;
FIG. 2 is a schematic diagram of another extended output circuit system according to an embodiment of the present application;
FIG. 3 is a flowchart of an extended output circuit detection method according to an embodiment of the present application; and
Fig. 4 is a judgment flow chart of the detection method of the extended output circuit according to the embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The following detailed description of embodiments of the application is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
The applicant found during the course of the study that: when a certain component in the system fails, if the outside cannot be informed of the abnormal transmission, the whole system is unsafe; if the external abnormality can be timely informed, the whole system is still in a safe state, and unsafe results are not generated. In the current circuit system, a single output module is adopted, and when the system is abnormal, the outside is informed of the abnormality. Although the effect of abnormal notification can be achieved, the whole system only has a single output module, and the whole system lacks stability.
Based on this, an embodiment of the present application provides an extended output circuit system, including: the device comprises a main controller module, a secondary controller module, a main output expansion module, a secondary output expansion module and a bus. The expansion output circuit system adopts the main controller module and the auxiliary controller module to transmit the output signals, wherein the first output signal and the second output signal are used for controlling the same external output, so that the unsafe system caused by the system failure caused by the failure of a single chip can be avoided, and the reliability of the system can be improved. The method provided by the present application is described below by way of several examples.
Referring to fig. 1, fig. 1 is a schematic diagram of an extended output circuit system according to an embodiment of the application.
As shown in fig. 1, the system includes: the device comprises a main controller module, a secondary controller module, a main output expansion module, a secondary output expansion module and a bus.
The main controller module transmits an output signal to the main output expansion module through a bus; the auxiliary controller module transmits an output signal to the auxiliary output expansion module through a bus.
The controller module may be, for example, an integrated circuit chip with signal processing capabilities. The controller module may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but may also be a digital signal processor (DIGITAL SIGNAL processor, DSP for short), application SPECIFIC INTEGRATED Circuit (ASIC for short), field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In an alternative embodiment, the primary output expansion module and the secondary output expansion module are configured to expand the output port, wherein the primary output expansion module is configured to output a first output signal and the secondary output expansion module is configured to output a second output signal, and the first output signal and the second output signal are used to control the same external output.
The primary output expansion module is illustratively connected to the primary controller module via a bus, and the secondary output expansion module is connected to the secondary controller module via a bus. The output expansion module can increase the number of input and output ports, and the output expansion module can comprise an output port 1, an output port 2 and up to an output port n, so that one output port can be expanded into n output ports.
Illustratively, the bus may be an I2C bus, which is a simple, bi-directional two-wire synchronous serial bus. The I2C bus includes a serial data line (SDA) and a Serial Clock Line (SCL), where SDA is a bidirectional IO line. The I2C bus is adopted to reduce the number of connecting lines among all modules in the system, form standardization and modularization, and can carry out online detection through external connecting lines during testing, thereby facilitating the diagnosis and debugging of system faults, enabling the faults to be addressed immediately and shortening development time. In addition, the use of an I2C bus may reduce the coupling of the logic and output portions in the extended output circuitry on hardware.
Referring to fig. 2, another schematic structure of the extended output circuit system provided in the embodiment of the application in fig. 2 is shown.
In an alternative embodiment, the extended output circuitry further comprises a primary output monitoring module and a secondary output monitoring module.
The first end of the main output monitoring module is connected with the main output expansion module, and the second end of the main output monitoring module is connected with the bus and used for detecting the working condition of the main output expansion module and feeding back the working condition to the main controller module and the auxiliary controller module; the first end of the auxiliary output monitoring module is connected with the auxiliary output expansion module, and the second end of the auxiliary output monitoring module is connected with the bus and used for detecting the working condition of the auxiliary output expansion module and feeding back the working condition to the main controller module and the auxiliary controller module.
For example, the output expansion module may be connected to the output monitoring module, wherein the output port 1, the output port 2 and the output port n of the output expansion module are connected to the input port 1, the input port 2 and the input port n of the output monitoring module in a one-to-one correspondence.
The output extension module may be connected with a driver stage, which is connected with the output monitoring module, for example. The driving stage may include: the output control is connected to the output expansion module, when the output expansion module outputs a normal signal, the output pin also outputs the normal signal, otherwise, the output control outputs an abnormal signal. The output detection always reflects the current real signal of the output pin and transmits the signal to the output monitoring module. The driving stage can be matched with the level of the output expansion circuit system to be consistent with the outside, so that the applicability of the output expansion circuit system is improved.
In an alternative embodiment, the extended output circuitry further comprises a bus anomaly detection module.
The first end of the bus abnormality detection module is connected with the bus, and the second end of the bus abnormality detection module is connected with the main output expansion module and the auxiliary output expansion module and is used for detecting the working condition of the bus.
Illustratively, the bus anomaly detection module may include: the device comprises a clock detection module and a data detection module, wherein the data detection module detects SDA in an I2C bus, and the clock detection module detects SCL in the I2C bus.
In an alternative embodiment, the extended output circuitry further comprises an input module.
The input module is connected with the main controller module and the auxiliary controller module and is used for sending output signals to the main controller module and the auxiliary controller module.
The input module may be connected with the main controller module and the sub controller module by other buses, which may be RS485 buses or CAN buses, for example. The input module sends output signals to be output to the main controller module and the auxiliary controller module through buses.
As shown in fig. 3, fig. 3 is a flowchart of a control method of an extended output circuit according to an embodiment of the present application. The method may comprise the steps of:
Step 110, the main controller module and the auxiliary controller module acquire output signals, wherein the output signals comprise normal signals and abnormal signals.
The main controller module and the sub controller module may acquire the output signal from the input module, or may check each other to acquire the output signal.
Step 120, the main controller module transmits the output signal to the main output expansion module.
For example, the main controller module may use the I2C bus for a first period of time to set the output signal to be output by the main output extension module.
And 130, transmitting the output signal to a secondary output expansion module by the secondary controller module.
For example, the sub controller module may use the I2C bus for a second period of time to set the output signal to be output by the sub output expansion module. Wherein the first time period and the second time period are different. The output signal is output through two paths consisting of the controller module and the output expansion module, so that each controller module can time-division multiplex the I2C bus, and each controller module can access each output expansion module. By adopting the mode, the system failure caused by the failure of a single chip can be avoided, the system is unsafe, and the reliability of the system is improved.
And 140, controlling the same external output by the first output signal output by the main output expansion module and the second output signal output by the auxiliary output expansion module.
Wherein the first output signal includes a first normal output signal and a first abnormal output signal, and the second output signal includes a second normal output signal and a second abnormal output signal.
Illustratively, only the primary output extension module outputs the first normal output signal and the secondary output extension module outputs the second normal output signal, indicating that the system is secure.
Referring to fig. 4, fig. 4 is a flowchart illustrating a method for controlling an extended output circuit according to an embodiment of the present application.
In an alternative embodiment, the extended output circuit control method further includes steps 150 to 170.
Step 150, detecting the working condition of the system.
For example, when the extended output circuitry is operating normally, the output extension modules have different slave addresses, and in this system the controller modules are connected in one-to-one correspondence with the output extension modules. If the controller module wants to transmit data to a certain output expansion module, the controller module addresses the output expansion module, then the controller module sends the data to the output expansion module, and finally the controller module terminates the data transmission. If the controller module wants to receive the data of a certain output expansion module, the controller module addresses the output expansion module, then the controller module receives the data sent by the output expansion module, and finally the controller module terminates the receiving process.
Step 160, if the system working condition is normal and the output signal is a normal signal, the main output expansion module outputs a first normal output signal and the auxiliary output expansion module outputs a second normal output signal;
If the controller module, the output expansion module and the data transmission module in the system work normally, the main output expansion module is controlled to output a first normal output signal and the auxiliary output expansion module is controlled to output a second normal output signal, and the system is in a safe state.
Step 170, if the system working condition is abnormal, the main expansion output module outputs a first abnormal output signal or the auxiliary expansion output module outputs a second abnormal output signal.
If the controller module, the output expansion module and the transmitted data in the system are abnormal, the main expansion output module outputs a first abnormal output signal or the auxiliary expansion output module outputs a second abnormal output signal, at the moment, the external system is informed of unsafe condition, the external system can stop working and remove faults, the whole system can not generate unsafe condition, and the system is still in a safe condition.
In an alternative embodiment, step 150 may include the following steps 151 through 154.
Step 151, the main output monitoring module detects the working condition of the main output expansion module.
And 152, if the working condition of the main output expansion module is abnormal, the auxiliary controller module sends an abnormal signal to the auxiliary output expansion module, and the auxiliary output expansion module outputs the two abnormal output signals.
The first end of the main output monitoring module is connected with the main extension output module, and is used for receiving a first normal output signal or a first abnormal output signal output by the main output extension module and generating a feedback signal. The second end of the main output monitoring module is connected with the main controller module and is used for transmitting a feedback signal to the main controller module. The main controller module compares the feedback signal with the signal sent to the main output expansion module, if the feedback signal and the signal are inconsistent, the main controller module characterizes that the system is abnormal, and sends a reset signal to the auxiliary output expansion module, so that the auxiliary output expansion module outputs a second abnormal output signal, an unsafe state is reported to the outside, and the safety and reliability of the system are improved.
Step 153, the secondary output monitoring module detects the working condition of the secondary output expansion module.
Step 154, if the working condition of the auxiliary output expansion module is abnormal, the main controller module sends an abnormal signal to the main output expansion module, and the main output expansion module outputs a first abnormal output signal.
The first end of the auxiliary output monitoring module is connected with the auxiliary extension output module, and is used for receiving the second normal output signal or the second abnormal output signal output by the auxiliary output extension module and generating a feedback signal. The second end of the auxiliary output monitoring module is connected with the auxiliary controller module and is used for transmitting a feedback signal to the auxiliary controller module. The auxiliary controller module compares the feedback signal with the signal sent to the auxiliary output expansion module, if the feedback signal and the signal are inconsistent, the system is characterized by abnormality, and the auxiliary controller module sends a reset signal to the main output expansion module, so that the main output expansion module outputs a first abnormal output signal, an unsafe state is reported to the outside, and the safety reliability of the system is improved.
In an alternative embodiment, step 150 may include the following steps 155 to 156.
Step 155, a bus abnormality detection module detects the working condition of the bus.
Illustratively, the bus anomaly detection module detects the operational status of the SDA line and the SCL line in the bus, and if there is no activity on the bus for a preset time, detects that a timeout event has occurred in the system.
Step 156, if the working condition of the bus is abnormal, the bus abnormality detection module sends a reset signal to the main output expansion module or the auxiliary output expansion module, and the main output expansion module outputs a first abnormal output signal or the auxiliary output expansion module outputs a second abnormal output signal.
The working condition of the bus is that the abnormality comprises that the idle time of the bus exceeds the preset idle time.
If the system has a timeout event, the bus anomaly detection module sends a reset signal to the main output expansion module or the auxiliary output expansion module, and the main output expansion module outputs a first anomaly output signal or the auxiliary output expansion module outputs a second anomaly output signal, so that unsafe conditions are reported to the outside.
In an alternative embodiment, step 150 may include the following steps A-D.
And step A, the auxiliary controller module detects the working condition of the main controller module.
And B, if the working condition of the main controller module is abnormal, the auxiliary controller module sends a reset signal to the auxiliary output expansion module, and the auxiliary output expansion module outputs a second abnormal output signal.
Illustratively, the main controller module sends a clock synchronization signal to the sub-controller module, and the sub-controller module receives the clock synchronization signal to determine the working condition of the main controller module. If the working condition of the main controller module is abnormal, the auxiliary controller module sends a reset signal to the auxiliary output expansion module, the auxiliary output expansion module outputs a second abnormal output signal, an unsafe state is reported to the outside, and the safe reliability of the system is improved.
And C, detecting the working condition of the auxiliary controller module by the main controller module.
And D, if the working condition of the auxiliary controller module is abnormal, the main controller module sends a reset signal to the main output expansion module, and the main output expansion module outputs a first abnormal output signal.
Illustratively, the secondary controller module sends an information synchronization signal to the primary controller module, and the primary controller module receives the information synchronization signal to determine the operating condition of the secondary controller module. If the working condition of the auxiliary controller module is abnormal, the main controller module sends a reset signal to the main output expansion module, the main output expansion module outputs a first abnormal output signal, an unsafe state is reported to the outside, and the safe reliability of the system is improved.
In an alternative embodiment, the extended output circuit control method further includes step 160.
Step 160, when the system is in a non-working state, the main output expansion module outputs a first abnormal output signal and the auxiliary output expansion module outputs a second abnormal output signal.
When the system is in the non-working state, the main output expansion module outputs a first abnormal output signal and the auxiliary output expansion module outputs a second abnormal output signal, and the unsafe state is reported to the outside.
As shown in table 1, the abnormal signal includes the signal shown in table 1.
TABLE 1
Furthermore, the embodiment of the application also provides a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program executes steps of any one of the methods when being executed by a processor.
The computer program product of the extended output circuit control method provided by the embodiment of the present application includes a computer readable storage medium storing program codes, where the instructions included in the program codes may be used to execute the steps of the extended output circuit control method described in the above method embodiment, and the detailed description of the method embodiment will be omitted herein.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, of the flowcharts and block diagrams in the figures that illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes. It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application. It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and variations will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (9)

1. An extended output circuit system, the system comprising: the device comprises a main controller module, a secondary controller module, a main output expansion module, a secondary output expansion module, an input module and a bus;
The main controller module, the auxiliary controller module, the main output expansion module, the auxiliary output expansion module and the input module are connected through the bus;
The main controller module transmits an output signal to the main output expansion module through the bus;
the auxiliary controller module transmits an output signal to the auxiliary output expansion module through the bus; and
The main output expansion module and the auxiliary output expansion module are used for expanding an output port, wherein the main output expansion module is configured to output a first output signal, the auxiliary output expansion module is configured to output a second output signal, and the first output signal and the second output signal are used for controlling the same external output;
wherein the master controller module outputs the first output signal by the master output expansion module using the bus for a first period of time;
the secondary controller module outputs the second output signal by the secondary output expansion module using the bus in a second period of time; the first time period is different from the second time period, and the main controller module and the auxiliary controller module time-division multiplex the bus;
The input module is connected with the main controller module and the auxiliary controller module and is used for sending the output signals to the main controller module and the auxiliary controller module.
2. The system of claim 1, wherein the system further comprises: a primary output monitoring module and a secondary output monitoring module;
The first end of the main output monitoring module is connected with the main output expansion module, and the second end of the main output monitoring module is connected with the bus and used for detecting the working condition of the main output expansion module and feeding back the working condition to the main controller module and the auxiliary controller module; and
The first end of the auxiliary output monitoring module is connected with the auxiliary output expansion module, and the second end of the auxiliary output monitoring module is connected with the bus and used for detecting the working condition of the auxiliary output expansion module and feeding back the working condition to the main controller module and the auxiliary controller module.
3. The system of claim 1, wherein the system further comprises: a bus abnormality detection module;
the first end of the bus abnormality detection module is connected with the bus, and the second end of the bus abnormality detection module is connected with the main output expansion module and the auxiliary output expansion module and is used for detecting the working condition of the bus.
4. An extended output circuit control method, applied to extended output circuit system, comprising: the system comprises a main controller module, a secondary controller module, a main output expansion module, a secondary output expansion module, a main output monitoring module, a secondary output monitoring module, a bus abnormality detection module and an input module which are connected through buses; the input module is connected with the main controller module and the auxiliary controller module and is used for sending output signals to the main controller module and the auxiliary controller module;
The method comprises the following steps:
The main controller module and the auxiliary controller module acquire output signals, wherein the output signals comprise normal signals and abnormal signals;
The main controller module transmits the output signal to the main output expansion module;
the auxiliary controller module transmits the output signal to the auxiliary output expansion module; and
The first output signal output by the main output expansion module and the second output signal output by the auxiliary output expansion module control the same external output, wherein the first output signal comprises a first normal output signal and a first abnormal output signal, and the second output signal comprises a second normal output signal and a second abnormal output signal;
the main controller module outputting the first output signal by the main output expansion module using the bus for a first period of time;
The secondary controller module outputs the second output signal by the secondary output expansion module using the bus in a second period of time; wherein the first time period and the second time period are different, and the main controller module and the sub controller module time-division multiplex the bus.
5. The method according to claim 4, wherein the method further comprises:
detecting the working condition of the system;
if the working condition of the system is normal and the output signal is a normal signal, the main output expansion module outputs a first normal output signal and the auxiliary output expansion module outputs a second normal output signal;
If the working condition of the system is abnormal, the main output expansion module outputs a first abnormal output signal or the auxiliary output expansion module outputs a second abnormal output signal.
6. The method of claim 5, wherein said detecting an operating condition of said system comprises:
The main output monitoring module detects the working condition of the main output expansion module;
if the working condition of the main output expansion module is abnormal, the main controller module sends an abnormal signal to the auxiliary output expansion module, and the auxiliary output expansion module outputs the second abnormal output signal;
The auxiliary output monitoring module detects the working condition of the auxiliary output expansion module;
And if the working condition of the auxiliary output expansion module is abnormal, the auxiliary controller module sends an abnormal signal to the main output expansion module, and the main output expansion module outputs the first abnormal output signal.
7. The method of claim 5, wherein said detecting an operating condition of said system comprises:
The bus abnormality detection module detects the working condition of the bus;
If the working condition of the bus is abnormal, the bus abnormality detection module sends a reset signal to the main output expansion module or the auxiliary output expansion module, and the main output expansion module outputs the first abnormal output signal or the auxiliary output expansion module outputs the second abnormal output signal, wherein the working condition of the bus is that the abnormal working condition comprises that the idle time of the bus exceeds the preset idle time.
8. The method of claim 5, wherein said detecting an operating condition of said system comprises:
the auxiliary controller module detects the working condition of the main controller module;
If the working condition of the main controller module is abnormal, the auxiliary controller module sends a reset signal to the auxiliary output expansion module, and the auxiliary output expansion module outputs the second abnormal output signal;
The main controller module detects the working condition of the auxiliary controller module;
And if the working condition of the auxiliary controller module is abnormal, the main controller module sends a reset signal to the main output expansion module, and the main output expansion module outputs the first abnormal output signal.
9. The method according to claim 4, wherein the method further comprises:
And under the non-working state of the system, the main output expansion module outputs the first abnormal output signal and the auxiliary output expansion module outputs the second abnormal output signal.
CN202111673254.6A 2021-12-31 2021-12-31 Extended output circuit system and control method Active CN114326370B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111673254.6A CN114326370B (en) 2021-12-31 2021-12-31 Extended output circuit system and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111673254.6A CN114326370B (en) 2021-12-31 2021-12-31 Extended output circuit system and control method

Publications (2)

Publication Number Publication Date
CN114326370A CN114326370A (en) 2022-04-12
CN114326370B true CN114326370B (en) 2024-04-30

Family

ID=81021829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111673254.6A Active CN114326370B (en) 2021-12-31 2021-12-31 Extended output circuit system and control method

Country Status (1)

Country Link
CN (1) CN114326370B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004206462A (en) * 2002-12-25 2004-07-22 Mitsubishi Electric Corp Extension module adding method for input/output controller, and input/output controller
JP2004297997A (en) * 2003-02-12 2004-10-21 Japan Control Engineering Co Ltd Safety controller
CN201435001Y (en) * 2009-07-17 2010-03-31 济南创恒科技发展有限公司 Distributed control system based on CAN bus
CN101763882A (en) * 2009-11-26 2010-06-30 中兴通讯股份有限公司 Disk array monitoring method and system
CN102866683A (en) * 2012-07-26 2013-01-09 苏州市大富通信技术有限公司 Signal conversion device and automatic testing system
CN113704157A (en) * 2021-08-04 2021-11-26 威创集团股份有限公司 System for controlling multipath different-level reset signals based on bus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004206462A (en) * 2002-12-25 2004-07-22 Mitsubishi Electric Corp Extension module adding method for input/output controller, and input/output controller
JP2004297997A (en) * 2003-02-12 2004-10-21 Japan Control Engineering Co Ltd Safety controller
CN201435001Y (en) * 2009-07-17 2010-03-31 济南创恒科技发展有限公司 Distributed control system based on CAN bus
CN101763882A (en) * 2009-11-26 2010-06-30 中兴通讯股份有限公司 Disk array monitoring method and system
CN102866683A (en) * 2012-07-26 2013-01-09 苏州市大富通信技术有限公司 Signal conversion device and automatic testing system
CN113704157A (en) * 2021-08-04 2021-11-26 威创集团股份有限公司 System for controlling multipath different-level reset signals based on bus

Also Published As

Publication number Publication date
CN114326370A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
EP1703401B1 (en) Information processing apparatus and control method therefor
CN107957692B (en) Controller redundancy method, device and system
US20080046802A1 (en) Memory controller and method of controlling memory
US9645898B2 (en) Storage control device and control device for detecting abnormality of signal line
JP5987069B2 (en) Numerical control system with internal register self-reset function by serial communication signal monitoring
WO2020143243A1 (en) Dual-system hot backup switching method and system applied to automatic running system of train
JP2011043957A (en) Fault monitoring circuit, semiconductor integrated circuit, and faulty part locating method
CN112099412B (en) Safety redundancy architecture of micro control unit
JP6563047B2 (en) Alarm processing circuit and alarm processing method
CN114326370B (en) Extended output circuit system and control method
JP2006036187A (en) Control device for automobile and method for monitoring abnormality thereof
CN117785614A (en) Fault monitoring and switching method for dual-redundancy computer
EP3321814B1 (en) Method and apparatus for handling outstanding interconnect transactions
CN111522757A (en) I2C bus-based interrupt reading and clearing control method
CN109491842B (en) Signal pairing for module extension of fail-safe computing systems
JP4968169B2 (en) Communication system and communication method
CN116010158A (en) Verification device, verification system and chip device of configuration register
CN104914784A (en) Numerical controller
CN110247833B (en) Communication control method, device, sub-equipment and communication system
CN114721862A (en) Watchdog circuit with signal checking function and working method thereof
CN106873356B (en) Redundancy control system capable of automatically recovering redundancy and redundancy automatic recovery method thereof
CN109101359B (en) Equipment, method and module for transmitting information between equipment components and computer equipment
JP4613019B2 (en) Computer system
CN114942687B (en) Reset safety mechanism based on monitoring, implementation method and reset circuit
CN220455472U (en) Switch detection device and robot

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Building 6, 646 Jianchuan Road, Minhang District, Shanghai 201100

Applicant after: Jieka Robot Co.,Ltd.

Address before: Building 6, 646 Jianchuan Road, Minhang District, Shanghai 201100

Applicant before: SHANGHAI JAKA ROBOTICS Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant