Double-bus robot safety system

The robot safety system with dual bus architecture solves the electrical difficulty and software upgrade problems when adding or deleting modules, achieves flexibility and reliability of electrical layout, reduces workload and internal wiring complexity, and takes into account both cost and reliability. sex.

CN118759903APending Publication Date: 2024-10-11LI QUN INTELLIGENT ROBOT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410795678.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

When adding or deleting modules, the existing robot collaboration system has high electrical difficulties and is easily limited by I/O limitations. The software upgrade workload is heavy and the internal electrical wiring is complex, resulting in low reliability.

Method used

Adopting a dual bus architecture, the first bus is used to connect the driver, and the second bus is used to connect the sensor module. The sensor module monitors the safety status of the driver, analyzes the data through the controller, and takes safety measures, including data comparison, pattern recognition, statistical analysis, and Trouble diagnosis, etc.

Benefits of technology

The addition or deletion of modules hardly affects the electrical layout, the number of expansion modules is unlimited, the underlying firmware of the software is almost unchanged, the internal wiring is simple, the electrical system is reliable, and it takes into account compatibility, reliability and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118759903A_ABST
    Figure CN118759903A_ABST
Patent Text Reader

Abstract

The invention provides a dual-bus robot safety system. The dual-bus robot safety system comprises a controller, a plurality of drivers and a plurality of sensor modules, the controller is connected with the plurality of drivers through a first bus, and any two drivers are connected through the first bus; the controller is connected with the plurality of sensor modules through a second bus, and any two sensor modules are connected through the second bus; and the plurality of drivers are also connected with the second bus. The dual-bus robot system has the advantages that (1) the modules are added or deleted, so that electrical layout and wiring are hardly influenced, and the number of expanded modules is hardly limited; (2) the modules are added or deleted, software underlying firmware almost does not need to be changed, only application engineers need to modify configuration files and user programs, and the workload is small; and (3) internal wiring is simple, only simple communication lines are arranged among the modules, and the electricity is simple and reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robot safety, and in particular to a dual-bus robot safety system. Background Art

[0002] QNET (QKM network, hereinafter referred to as QNET) is a self-developed ad hoc real-time Ethernet (ad hocreal-time network protocol) that meets the requirements of real-time data communication and adapts to multiple real-time messages of various topologies in various industrial control scenarios for real-time data interaction. The QNET network is a hard real-time network with a response time of less than 1ms. The physical medium is 1GBase-Tx and can coexist with other Ethernet devices and protocols in the same LAN.

[0003] The current robot collaboration, such as UR or zero-difference, is all module-based, with DI / DO / AI on the module. All expansions need to be carried out through the expansion capabilities of the module itself. From the module's perspective, the module is centralized and has only one brain. The problem with the existing technology is that the electrical difficulty increases significantly when modules are added or deleted, and it is easy to be limited by the I|O limitations of the module itself. Summary of the invention

[0004] In view of this, the present invention provides a dual-bus robot safety system, which at least partially solves the problems existing in the prior art.

[0005] To achieve the above object, a dual-bus robot safety system is provided, the system comprising: a controller, a plurality of drivers and a plurality of sensor modules;

[0006] The controller is connected to the plurality of drivers via a first bus, and any two drivers are connected to each other via the first bus; the controller is connected to the plurality of sensor modules via a second bus, and any two sensor modules are connected to each other via the second bus; the plurality of drivers are also connected to the second bus;

[0007] One or more of the sensor modules are configured to monitor the safety status of any monitored drive, and the one or more sensor modules form a monitoring group;

[0008] The sensor data of the monitoring group is sent to the controller and the monitored drive simultaneously through the second bus; the controller and / or the monitored drive is used to analyze the safety status of the monitored drive based on the sensor data of the monitoring group and take safety measures if there is any danger.

[0009] In some possible implementations, the controller and / or the monitored driver includes any one or more of the following modules:

[0010] A data comparison and threshold determination module, used to determine the safety status of the monitored drive by comparing the sensor data of the monitoring group with a preset safety threshold;

[0011] a data pattern recognition and anomaly detection module, configured to evaluate the safety status of the monitored drive by performing pattern recognition and anomaly detection on the sensor data of the monitoring group;

[0012] A statistical analysis and trend monitoring module, configured to evaluate the safety status of the monitored drive by performing statistical analysis and trend monitoring on the sensor data of the monitoring group;

[0013] A fault diagnosis and fault prediction module is used to evaluate the safety status of the monitored drive by performing fault diagnosis and fault prediction on the sensor data of the monitoring group.

[0014] In some possible implementations, the data pattern recognition and anomaly detection module specifically includes:

[0015] A normal mode and abnormal mode establishment submodule is used to establish a normal mode and an abnormal mode of the monitored drive by analyzing and processing the sensor data;

[0016] A feature extraction and selection submodule, for selecting appropriate preset features to describe the mode of sensor data when establishing normal mode and abnormal mode; the preset features include statistical features, frequency domain features, or time domain features of sensor data;

[0017] A pattern recognition algorithm submodule is used to select an appropriate pattern recognition algorithm to identify normal patterns and abnormal patterns;

[0018] The anomaly detection and safety measures processing submodule is used to take corresponding safety measures to protect the monitored drive when an abnormal situation that does not conform to the normal mode is identified.

[0019] In some possible implementations, the statistical analysis and trend monitoring module specifically includes:

[0020] The statistical analysis submodule is used to perform statistical analysis on sensor data and calculate statistical indicators including mean value, variance, maximum value and minimum value;

[0021] The trend monitoring submodule is used to monitor the changing trend of sensor data to evaluate the safety status of the monitored drive.

[0022] In some possible implementations, the fault diagnosis and fault prediction module specifically includes:

[0023] A fault diagnosis submodule is used to detect whether there is a potential fault condition by performing fault diagnosis on the sensor data of the monitoring group; wherein the fault diagnosis includes identifying abnormal patterns in the sensor data to determine whether there is a fault in the drive;

[0024] The fault prediction submodule is used to predict faults of the sensor data of the monitoring group, detect potential faults in advance, and take corresponding safety measures; wherein, the fault prediction includes predicting possible faults or abnormalities of the drive by analyzing the trends and change patterns of the sensor data.

[0025] In some possible implementations, the monitored driver is further used to convert the sensor data of the monitoring group into a data format of the first bus, obtain the sensor data after the format conversion, and send the sensor data after the format conversion to the controller through the first bus;

[0026] The controller is specifically used to monitor the safety of the monitored drive based on the sensor data of the monitoring group directly obtained from the second bus to obtain a first monitoring result; monitor the safety of the monitored drive based on the format-converted sensor data obtained from the first bus to obtain a second monitoring result; and determine whether the monitored drive is safe based on the first monitoring result and the second monitoring result.

[0027] In some possible implementations, the controller specifically includes:

[0028] A first monitoring result acquisition module is used to receive the sensor data after format conversion from the first bus; parse and process the sensor data to extract features related to the safety state; judge and evaluate the extracted features related to the safety state according to a preset safety rule or model to obtain a first monitoring result;

[0029] The second monitoring result acquisition module is used to directly acquire the monitoring group sensor data from the second bus; parse and process the sensor data to extract features related to the safety state; judge and evaluate the extracted features related to the safety state according to the preset safety rules or models to obtain the second monitoring result;

[0030] A safety status determination module includes a comprehensive judgment submodule and / or a threshold judgment submodule; the comprehensive judgment submodule is used to perform a comprehensive judgment on the first monitoring result and the second monitoring result by means of logical operation or weighted summation to determine whether the monitored drive is safe; the threshold judgment submodule is used to determine whether the monitored drive is safe according to a set score threshold.

[0031] In some possible implementations, at least two drivers are divided into a monitoring domain; a first group of sensor modules is used to monitor a first driver in the monitoring domain, and a second group of sensor modules is used to monitor a second driver in the monitoring domain;

[0032] The controller and / or the first driver are also used to analyze the safety status of the first driver based on the data of the first group of sensor modules; and to comprehensively analyze the relationship between the first driver and the second driver based on the data of the second group of sensor modules to determine whether it is safe.

[0033] In some possible implementations,

[0034] The controller and the second driver are specifically used to analyze the safety status of the second driver according to the data of the second group of sensor modules; and comprehensively analyze the relationship between the first driver and the second driver according to the data of the first group of sensor modules to determine whether it is safe.

[0035] In some possible implementations, the system further includes any one or more of the following:

[0036] The safety measures include any one of deceleration, stopping, warning, and zeroing;

[0037] The system also includes an AC / DC power supply, electrically connected to the controller and the driver respectively;

[0038] The plurality of sensor modules include any plurality of the following: an image sensor, a position sensor, a torque sensor, a gyroscope, and a proximity sensor;

[0039] The transmission speed of the first bus is higher than that of the second bus; and the second bus is an industrial bus.

[0040] The beneficial technical effects of the above technical solution are as follows:

[0041] 1. In this embodiment, adding or deleting modules hardly affects the electrical layout and wiring, and the number of expansion modules is almost unlimited;

[0042] 2. In this embodiment, when adding or deleting modules, the underlying firmware of the software is almost unchanged. The application engineer only needs to modify the configuration files and user programs, which reduces the workload.

[0043] 3. The internal wiring of this embodiment is simple, there are only simple communication lines between modules, and the electrical system is simple and reliable;

[0044] 4. This embodiment uses a high-speed and low-speed dual bus (QNET+CAN), taking into account compatibility, reliability and cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0046] Figure 1 This is a block diagram of a conventional robot system in the prior art;

[0047] Figure 2 4 is a block diagram of the dual-bus robot system architecture of an embodiment of the present invention. DETAILED DESCRIPTION

[0048] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0049] It should be noted that the following embodiments and features in the embodiments may be combined with each other in the absence of conflict; and, based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making any creative work are within the scope of protection of the present disclosure.

[0050] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.

[0051] In some embodiments, the module is further decomposed into small systems, so that the module itself only has the driver as the main link, which is equivalent to the aorta. The module is then equipped with a set of sensor interfaces, and all other DI / AI / DO are not needed. If the robot needs it, it can be expanded unlimitedly through this sensor interface. The capillary aorta is responsible for the movement of the servo and power key mechanisms, and other capillaries are responsible for touch, indicator lights, interaction, voice, etc., and can be expanded completely freely.

[0052] In some embodiments, a sensor node has 16 small sockets, each of which can be equipped with different types of sensors, so that they can be combined arbitrarily; previously it was parallel, but now it has been changed to a serial bus with the same effect. The functions around other modules can be added with various small modules.

[0053] The embodiments of the present invention solve any one or more of the following technical problems of the robot safety module:

[0054] (1) Adding or removing modules greatly increases the electrical difficulty and is easily limited by the I / O limitations.

[0055] (2) When adding or deleting modules, the software needs to upgrade the firmware, configuration files, and user programs to a large extent, which is a lot of work;

[0056] (3) Under normal conditions, the electrical wiring inside the robot is very large, wiring is difficult, and reliability is low.

[0057] To realize the safety function, an independent module with certain functions is needed, but the safety function must rely on other modules of the system, which are combined to realize the safety function requirements of the system. Figure 1 This is a block diagram of a conventional robot system in the prior art. Figure 1 As shown in the system block diagram, IOAs and IOBs are both general IOs, which are fixed in use and difficult to adjust. PA and PB have the same functions, the same Busl, and the same module functions. The advantages of this current conventional robot system are: centralized control, all modules and user peripheral modules (bottom-level driver, BSP, communication layer, application layer are all controlled by the controller), fast response, and simple system. The disadvantages of this current conventional robot system are: (1) When modules are added or deleted, the electrical difficulty increases significantly, and it is easy to be limited by the I / O limitation of the system; (2) When modules are added or deleted, the software needs to upgrade the firmware, configuration files, and user programs to a large extent, which is a lot of work; (3) Under normal conditions, the internal electrical wiring of the robot is very large, wiring is difficult, and reliability is low.

[0058] Figure 2 : is a dual-bus robot system architecture block diagram of an embodiment of the present invention. Figure 2As shown, in this system block diagram, port PA and port PB have the same functions, bus Bus1 is the same, and module functions are the same. All modules, user peripherals and main control are connected through communication, the system will be a little more complicated and the delay will be slightly larger. Relying on the current high-speed communication, the delay has been improved. The advantages of the dual-bus robot system of this embodiment are: (1) the addition or deletion of modules has almost no effect on the electrical layout and wiring, and the number of expansion modules is almost unlimited; (2) the addition or deletion of modules, the underlying firmware of the software almost does not need to be changed, and the application engineer only needs to modify the configuration file and user program, which is a small workload; (3) the internal wiring is simple, there are only simple communication lines between modules, and the electrical is simple and reliable. Figure 2 The "motor" here means electric motor.

[0059] The first bus Bus1 is a high-speed bus, which can be driven by the main control unit as the host computer through the controller to drive each driver (for example, each driver may be a joint, etc.). Each driver is connected through the first bus Bus1. In addition to transmitting drive signals and control signals, it can also transmit safety monitoring signals.

[0060] The second bus Bus2 is a common bus, such as a CAN bus. Of course, common industrial buses on the market can also be used. Usually, the speed is lower than Bus1, and this embodiment is called a low-speed bus. In order to be more universal and extensible and to take into account costs, Bus2 does not use the same high-speed bus as Bus1. In addition to connecting various sensor modules, Bus2 is also connected to various drivers. In addition to being connected to Bus1, each driver is also connected to Bus2 at the same time.

[0061] Modules 1 to N are all connected to Bus2, and each module is at least one sensor, such as an image sensor, a position sensor, a torque sensor, a gyroscope, a contact / proximity sensor, etc. One or more modules can be configured to monitor the safety status of a certain drive, which is equivalent to forming a monitoring group. For example, module 1 and module 2 are configured to monitor the safety status of drive 1. The sensor data of modules 1 and 2 will be sent to the controller and drive 1 simultaneously through Bus2. The controller and drive 1 each have a safety module. The safety status of drive 1 is analyzed based on the data of modules 1 and 2. If there is any danger, safety measures are taken, such as deceleration, stopping, warning, zeroing, etc., such as sending control instructions to the drive or to the corresponding actuator such as a motor.

[0062] In some embodiments, the controller and / or the monitored drive may analyze the sensor data of the monitoring group to evaluate the safety status of the monitored drive by any one or more of the following methods 1 to 4:

[0063] Mode 1, sensor data comparison and threshold judgment: The controller and / or the monitored drive can judge the safety status of the monitored drive by comparing the sensor data of the monitoring group with the preset safety threshold. For example, if the sensor data of the monitoring group exceeds the preset safety range or threshold, the controller can determine that the monitored drive has a safety risk and take corresponding safety measures.

[0064] Method 2, data pattern recognition and anomaly detection: The controller and / or the monitored drive can evaluate the safety status of the monitored drive by performing pattern recognition and anomaly detection on the sensor data of the monitoring group. For example, by establishing normal and abnormal patterns of sensor data, the controller can detect any abnormal situation that does not conform to the normal pattern and take corresponding safety measures.

[0065] When using data pattern recognition and anomaly detection to assess the safety status of a monitored drive, the following embodiments may be employed:

[0066] Establish normal and abnormal patterns: First, the normal and abnormal patterns of the monitored drive need to be established by analyzing and processing the sensor data. The normal pattern refers to the typical pattern presented by the sensor data under normal operating conditions. The abnormal pattern refers to the sensor data pattern that does not conform to the normal pattern and may indicate a potential safety risk or fault condition.

[0067] Feature extraction and selection: When establishing normal and abnormal patterns, it is necessary to select appropriate features to describe the patterns of sensor data. These features can include statistical features of sensor data (such as mean, variance), frequency domain features (such as spectrum analysis), time domain features (such as waveform shape), etc. By extracting and selecting appropriate features, the pattern differences of sensor data can be better described.

[0068] Pattern recognition algorithm: Select appropriate pattern recognition algorithms to identify normal and abnormal patterns. Commonly used pattern recognition algorithms include statistical methods (such as Gaussian models, support vector machines), machine learning methods (such as neural networks, decision trees), etc. These algorithms can learn normal patterns through training data sets and classify sensor data in real-time monitoring to determine whether it belongs to normal or abnormal patterns.

[0069] Abnormal detection and safety measures: Once an abnormal situation that does not conform to the normal mode is identified, the controller can take corresponding safety measures to protect the safety of the monitored drive and the surrounding environment. For example, it can trigger an emergency stop, issue an alarm signal, adjust the control strategy, or notify the operator. Specific safety measures can be customized according to actual conditions and application requirements.

[0070] For example: Assume that this embodiment monitors a robot drive, and the sensor data includes the current, temperature, and speed of the drive. By analyzing the sensor data under normal operating conditions, this embodiment can establish a normal mode, such as the current fluctuates within a certain range, the temperature remains in a reasonable temperature range, and the speed changes smoothly. Then, when the robot is running, the sensor data is monitored in real time and classified using a pattern recognition algorithm. If an abnormal increase in current, abnormal increase in temperature, or abnormal fluctuation in speed that is inconsistent with the normal mode is detected, the controller can determine that the drive has a safety risk and take corresponding safety measures, such as stopping the robot operation, issuing an alarm signal, or notifying the operator to check the drive status.

[0071] It should be noted that the specific implementation details and algorithm selection may vary depending on the application scenario and technical requirements. In actual applications, algorithm optimization and parameter adjustment can be performed according to specific needs to improve the ability to accurately identify abnormal situations and safely control them.

[0072] Method 3, statistical analysis and trend monitoring: The controller and / or the monitored drive can evaluate the safety status of the monitored drive by performing statistical analysis and trend monitoring on the sensor data of the monitoring group. For example, by performing statistical analysis on the sensor data, such as calculating the average value, variance, etc., and monitoring the trend of the sensor data, the controller can determine whether the monitored drive is in a safe state.

[0073] When using statistical analysis and trend monitoring to assess the safety status of a monitored drive, the following embodiments may be employed:

[0074] (1) Statistical analysis: The controller and / or the monitored drive can perform statistical analysis on the sensor data, such as calculating statistical indicators such as mean, variance, maximum, minimum, etc. These statistical indicators can provide the overall characteristics and distribution of the sensor data, thereby helping to evaluate the safety status of the monitored drive.

[0075] For example: Assume that this embodiment monitors the temperature of a robot's driver. By statistically analyzing the temperature data over a period of time, the average temperature, the temperature variance, and the maximum and minimum temperature values ​​can be calculated. If the average temperature exceeds the preset safety range, or the temperature variance increases abnormally, or the maximum temperature exceeds the set threshold, the controller can determine that the driver has a safety risk and take corresponding safety measures.

[0076] (2) Trend monitoring: The controller and / or the monitored drive can monitor the changing trend of sensor data to evaluate the safety status of the monitored drive. By analyzing the changing trend of sensor data, abnormal conditions or potential safety risks can be detected.

[0077] For example, assume that this embodiment monitors the speed of a robot's drive. By continuously monitoring the speed data and analyzing the speed change trend, a sudden increase or decrease in speed can be detected. If the speed change exceeds a preset safety range or threshold, the controller can determine that the drive has a safety risk and take corresponding safety measures.

[0078] (3) Threshold setting and alarm mechanism: When implementing statistical analysis and trend monitoring, it is necessary to set appropriate thresholds to determine whether there are safety risks. The thresholds can be set according to actual needs and safety standards. Once the sensor data exceeds the set threshold, the controller can trigger the alarm mechanism, issue an alarm signal or take other safety measures.

[0079] It should be noted that the specific implementation details and algorithm selection may vary depending on the application scenario and technical requirements. In actual applications, parameter settings and algorithm optimization can be performed according to specific needs to improve the ability to accurately identify and judge abnormal situations and security risks.

[0080] Mode 4, fault diagnosis and fault prediction: The controller and / or the monitored drive can evaluate the safety status of the monitored drive by performing fault diagnosis and fault prediction on the sensor data of the monitoring group. For example, by analyzing abnormal patterns or features in the sensor data, the controller can detect potential fault conditions and take corresponding safety measures in advance to prevent accidents.

[0081] Fault diagnosis and fault prediction are important means to evaluate the safety status of the monitored drive. The following is a detailed explanation and example of this method:

[0082] (1) Fault diagnosis: By performing fault diagnosis on the sensor data of the monitoring group, the controller and / or the monitored drive can detect potential fault conditions. The goal of fault diagnosis is to identify abnormal patterns or features in the sensor data to determine whether the drive has a fault or abnormal condition.

[0083] For example: Assume that this embodiment monitors the drive current of a robot. By real-time monitoring and analysis of the current sensor data, the controller can establish a normal mode of current. If during operation, the controller detects that the current data does not match the normal mode, such as a sudden increase or decrease in current, or an abnormally large current fluctuation, this may indicate that there is a fault or abnormality in the drive, such as a motor failure or a short circuit. The controller can identify these abnormal modes through a fault diagnosis algorithm and trigger corresponding safety measures, such as stopping the robot operation or issuing an alarm signal.

[0084] (2) Fault prediction: By predicting faults in the sensor data of the monitoring group, the controller and / or the monitored drive can detect potential faults in advance and take appropriate safety measures to prevent accidents. The goal of fault prediction is to predict possible faults or abnormalities in the drive by analyzing the trends and change patterns of sensor data.

[0085] For example: Assume that this embodiment monitors the temperature of a robot's driver. By continuously monitoring the temperature sensor data and analyzing the temperature trend, the controller can predict whether the driver temperature will exceed the safety range. If the controller detects that the temperature is gradually increasing and predicts that the temperature will exceed the safety threshold in the future, the controller can take preventive measures, such as reducing the load, reducing the operating speed, or increasing heat dissipation measures, to prevent the driver from overheating and causing failures or accidents.

[0086] It should be noted that the accuracy and reliability of fault diagnosis and fault prediction depend on the quality of the algorithms and models used, as well as the quality and acquisition frequency of sensor data. In practical applications, machine learning, data mining and other technologies can be combined to establish fault diagnosis and fault prediction models, and parameter adjustment and algorithm optimization can be performed according to actual conditions to improve the ability to accurately identify and predict potential faults.

[0087] Since the second bus Bus2 has lower security and speed, the driver 1 will also convert the security message (sensor data) obtained from the second bus into the data format of the first bus Bus1, and send it to the controller through the first bus Bus1. The safety module of the driver 1 will first determine its own safety based on the data of the monitoring module 1 and module 2. In addition, the safety module of the controller will also monitor the safety of the driver 1 based on the received data, which is equivalent to double security protection. From the path point of view, the controller actually has two hot backup paths, which simultaneously obtain the data of the sensor module 1 and the sensor module 2 from the first bus Bus1 and the second bus Bus2. One is to obtain data directly from the second bus Bus2, and the other is to obtain the data forwarded by the driver 1 from the first bus Bus1. It can comprehensively judge the data related to the safety of the driver 1. The two confirm and complement each other to prevent misjudgment and disconnection, and can better ensure safety.

[0088] The following describes in detail the specific technical details of determining the safety status of the monitored drive by combining the first monitoring result and the second monitoring result:

[0089] (1) The first monitoring result is security monitoring based on the format-converted sensor data obtained from the first bus. The specific steps are as follows: receiving the format-converted sensor data from the first bus; parsing and processing the sensor data to extract features related to the security status; judging and evaluating the extracted features related to the security status according to the preset security rules or models to obtain the first monitoring result.

[0090] (2) The second monitoring result is security monitoring based on the monitoring group sensor data directly obtained from the second bus. The specific steps are as follows: directly obtain the monitoring group sensor data from the second bus; parse and process the sensor data to extract features related to the security status; judge and evaluate the extracted features related to the security status according to the preset security rules or models to obtain the second monitoring result.

[0091] (3) Safety status determination: Based on the first monitoring result and the second monitoring result, the safety status of the monitored drive can be determined in the following manner:

[0092] Comprehensive judgment: The first monitoring result and the second monitoring result are comprehensively judged, which can be done by logical operation, weighted summation, etc. For example, if both the first monitoring result and the second monitoring result indicate that the drive is in a safe state, the drive is judged to be safe; if any monitoring result indicates that the drive has a safety risk, the drive is judged to be unsafe.

[0093] Threshold setting: According to actual needs and safety standards, set appropriate thresholds to judge the safety status. For example, you can set a threshold for the comprehensive evaluation score. When the score exceeds the threshold, the drive is considered safe, otherwise it is unsafe.

[0094] In practical applications, appropriate algorithms and methods can be selected to determine the safety status according to specific needs and technical conditions. For example, machine learning algorithms such as logistic regression, decision trees, neural networks, or rule-based methods can be used for judgment and evaluation. At the same time, parameter settings and algorithm optimization need to be performed according to actual conditions to improve the accuracy and reliability of safety status judgment.

[0095] In addition to the safety control of a single drive, multiple drives can also be divided into monitoring domains. For example, sensor module 1 and sensor module 2 monitor the safety of drive 1, and sensor module 3 and sensor module 4 monitor the safety of drive 2. These two groups establish a domain (monitoring domain). The controller and drive 1 each have a safety module, which analyzes the safety status of drive 1 based on the data of module 1 and module 2. In addition, the safety modules of the controller and drive 1 also need to comprehensively analyze the relationship between drive 1 and drive 2 based on the data of module 3 and module 4 to determine whether it is safe. Similarly, the controller and drive 2 each have a safety module, which analyzes the safety status of drive 2 based on the data of module 3 and module 4, and comprehensively analyzes the relationship between drive 1 and drive 2 based on the data of module 1 and module 2 to determine whether it is safe.

[0096] The following uses a robot as an example to explain in detail how the controller and / or the first driver uses the data of the second set of sensor modules to comprehensively analyze the relationship between the first driver and the second driver:

[0097] Data comprehensive analysis: The controller and / or the first driver uses the data from the second set of sensor modules to comprehensively analyze the relationship between the first driver and the second driver. This can be achieved by parsing, processing, and extracting features from the sensor data. For example, features such as the distance, angle difference, and speed difference between the two drivers can be calculated to reflect the relationship between them.

[0098] Safety judgment: Based on the characteristics obtained through comprehensive analysis, the controller and / or the first driver can judge whether the relationship between the first driver and the second driver is safe according to a preset safety rule or model. This can be based on methods such as threshold setting, rule judgment or machine learning algorithm.

[0099] The following are further examples:

[0100] Assume that a robot needs to be monitored, wherein the first driver is the left wheel of the robot and the second driver is the right wheel of the robot. This embodiment uses a distance sensor and an angle sensor as examples.

[0101] (1) Comprehensive data analysis:

[0102] Get the distance and angle data of the robot's right wheel from the second set of sensor modules.

[0103] Parse and process the distance and angle data, such as calculating the distance difference, angle difference and other features between the two wheels.

[0104] According to the distance and angle data of the robot's left wheel obtained by the first group of sensor modules, the distance difference, angle difference and other features between the left and right wheels are calculated to reflect the relationship between the two drivers.

[0105] (2) Safety judgment:

[0106] According to preset safety rules, such as setting a distance difference threshold and an angle difference threshold, it is determined whether the distance difference and the angle difference between the left and right wheels exceed the threshold.

[0107] If the distance difference or angle difference exceeds the distance difference threshold and the angle difference threshold, it may indicate that the robot has safety risks such as unbalanced steering or drive system failure.

[0108] The controller can take corresponding safety measures based on the judgment results, such as adjusting the driving force distribution, issuing an alarm or stopping the robot operation.

[0109] It should be noted that the specific implementation details and algorithm design may vary depending on the application scenario and technical requirements. In actual applications, parameter settings and algorithm optimization can be performed according to specific needs to improve the ability to accurately judge the relationship and safety status of the actuator. At the same time, other sensor data and robot status information can be combined for comprehensive analysis to more comprehensively evaluate the safety of the actuator.

[0110] In the case of a multi-joint robot, the controller and / or the second driver can use the data of the first set of sensor modules to comprehensively analyze the relationship between the first driver and the second driver to determine whether it is safe. The following is a specific explanation:

[0111] Data comprehensive analysis: The controller and / or the second driver uses the data from the first set of sensor modules to comprehensively analyze the relationship between the first driver and the second driver. This can be achieved by parsing, processing, and extracting features from the sensor data. For example, features such as joint angle difference, joint velocity difference, and joint acceleration difference can be calculated to reflect the relationship between the two drivers.

[0112] Safety judgment: Based on the characteristics obtained through comprehensive analysis, the controller and / or the second driver can judge whether the relationship between the first driver and the second driver is safe according to a preset safety rule or model. This can be based on methods such as threshold setting, rule judgment or machine learning algorithm.

[0113] For example: suppose there is a multi-joint robot, in which the first driver corresponds to one joint of the robot, and the second driver corresponds to another joint of the robot. This embodiment uses the joint angle as an example.

[0114] (1) Comprehensive data analysis:

[0115] The angle data of the first actuator (first joint) is obtained from the first group of sensor modules.

[0116] Analyze and process the angle data, such as calculating the joint angle difference, joint angular velocity difference and other features.

[0117] According to the angle data of the second actuator (second joint), the angle difference, angular velocity difference and other characteristics between the two joints are calculated to reflect the relationship between the two actuators.

[0118] (2) Safety judgment:

[0119] According to preset safety rules, such as setting a joint angle difference threshold and an angular velocity difference threshold, it is determined whether the angle difference and angular velocity difference between the two joints exceed the threshold.

[0120] If the angle difference or angular velocity difference exceeds the corresponding joint angle difference threshold or angular velocity difference threshold, it may indicate that the robot has safety risks such as joint coordination problems or drive system failure.

[0121] The controller can take corresponding safety measures based on the judgment results, such as adjusting joint movement, issuing an alarm, or stopping the robot operation.

[0122] In a further embodiment, the controller and / or the first driver determines the safety state of the first driver based on the data analysis of the first group of sensor modules to obtain a first safety state judgment result; and the controller and / or the first driver comprehensively analyzes the relationship between the first driver and the second driver based on the data of the second group of sensor modules to obtain a second safety state judgment result; and a final safety state judgment result is obtained based on the first safety state judgment result and the second safety state judgment result. Based on the first safety state judgment result and the second safety state judgment result, the final safety state judgment result can be obtained in the following manner:

[0123] Comprehensive judgment: Comprehensively judge the first safety state judgment result and the second safety state judgment result, which can be judged by logical operation, weighted summation, etc. For example, if the first safety state judgment result and the second safety state judgment result both indicate that the drive is in a safe state, the drive is judged to be safe; if any safety state judgment result indicates that the drive has a safety risk, the drive is judged to be unsafe.

[0124] Threshold setting: According to actual needs and safety standards, set an appropriate threshold to judge the safety status. For example, you can set a threshold for the comprehensive evaluation score. When the score exceeds the threshold, the first drive is judged to be safe, otherwise it is unsafe.

[0125] In other embodiments, the security status determination logic for obtaining the final security status determination result may include:

[0126] If the first security status judgment result is "safe" and the second security status judgment result is "relationship safe", the final judgment is "safe".

[0127] If the first security status judgment result is "unsafe" and the second security status judgment result is "relationship safe", the final judgment is "unsafe".

[0128] If the first security status judgment result is "safe" and the second security status judgment result is "unsafe", the final judgment is "unsafe".

[0129] If the first security status judgment result is "unsafe" and the second security status judgment result is "relationship unsafe", the final judgment is "unsafe".

[0130] If the first safety status judgment result is "safe" and the second safety status judgment result is "unknown", the final judgment is "unknown".

[0131] If the first safety status judgment result is "unknown" and the second safety status judgment result is "safe", the final judgment is "unknown".

[0132] If the first safety status judgment result is "unknown" and the second safety status judgment result is "unknown", the final judgment is "unknown".

[0133] If the first safety status judgment result is "unsafe" and the second safety status judgment result is "unknown", the final judgment is "unsafe".

[0134] If the first safety status judgment result is "unknown" and the second safety status judgment result is "unsafe", the final judgment is "unsafe".

[0135] Under the dual-bus connection architecture, the physical connection of module 1 to module N becomes very simple. They can be plugged into the bus. It is easy to add or reduce related modules. From the software perspective, the logical demarcation of each monitoring group or monitoring domain is also very flexible, and each monitoring module can be easily split and combined with the monitored equipment.

[0136] like Figure 2 As shown, in other embodiments, multiple controllers may be included, for example, controller A may be connected to controller B via BUS3.

[0137] The beneficial effects brought by the embodiments of the present invention include:

[0138] 1. Adding or deleting modules hardly affects the electrical layout and wiring, and the number of expansion modules is almost unlimited;

[0139] 2. When adding or deleting modules, the underlying firmware of the software is almost unchanged. The application engineer only needs to modify the configuration files and user programs, which reduces the workload.

[0140] 3. The internal wiring is simple, there are only simple communication lines between modules, and the electrical system is simple and reliable;

[0141] 4. High-speed and low-speed dual buses (QNET+CAN), taking into account compatibility, reliability and cost;

[0142] 5. Each driver has a safety module and a controller safety module, with dual safety monitoring and dual safety path guarantees;

[0143] 6. Sensing modules and drivers can be grouped, safety circuits can be flexibly configured, drivers can be self-monitored or within a monitoring domain, and the controller comprehensively checks multiple drivers to comprehensively determine the safety status.

[0144] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A dual-bus robot safety system, It is characterized in that The system includes: a controller, a plurality of drivers and a plurality of sensor modules; The controller is connected to the plurality of drivers via a first bus, and any two drivers are connected to each other via the first bus; the controller is connected to the plurality of sensor modules via a second bus, and any two sensor modules are connected to each other via the second bus; the plurality of drivers are also connected to the second bus; One or more of the sensor modules are configured to monitor the safety status of any monitored drive, and the one or more sensor modules form a monitoring group; The sensor data of the monitoring group is sent to the controller and the monitored drive simultaneously through the second bus; the controller and / or the monitored drive is used to analyze the safety status of the monitored drive based on the sensor data of the monitoring group and take safety measures if there is any danger.

2. The system according to claim 1, It is characterized in that The controller and / or the monitored driver include any one or more of the following modules: A data comparison and threshold determination module, used to determine the safety status of the monitored drive by comparing the sensor data of the monitoring group with a preset safety threshold; a data pattern recognition and anomaly detection module, configured to evaluate the safety status of the monitored drive by performing pattern recognition and anomaly detection on the sensor data of the monitoring group; A statistical analysis and trend monitoring module, configured to evaluate the safety status of the monitored drive by performing statistical analysis and trend monitoring on the sensor data of the monitoring group; A fault diagnosis and fault prediction module is used to evaluate the safety status of the monitored drive by performing fault diagnosis and fault prediction on the sensor data of the monitoring group.

3. The system according to claim 2, It is characterized in that The data pattern recognition and anomaly detection module specifically includes: A normal mode and abnormal mode establishment submodule is used to establish a normal mode and an abnormal mode of the monitored drive by analyzing and processing the sensor data; A feature extraction and selection submodule, for selecting appropriate preset features to describe the mode of sensor data when establishing normal mode and abnormal mode; the preset features include statistical features, frequency domain features, or time domain features of sensor data; A pattern recognition algorithm submodule is used to select an appropriate pattern recognition algorithm to identify normal patterns and abnormal patterns; The abnormality detection and safety measures processing submodule is used to take corresponding safety measures to protect the monitored drive when an abnormal situation that does not conform to the normal mode is identified.

4. The system according to claim 2, It is characterized in that The statistical analysis and trend monitoring module specifically includes: The statistical analysis submodule is used to perform statistical analysis on sensor data and calculate statistical indicators including mean value, variance, maximum value and minimum value; The trend monitoring submodule is used to monitor the changing trend of sensor data to evaluate the safety status of the monitored drive.

5. The system according to claim 2, It is characterized in that The fault diagnosis and fault prediction module specifically includes: A fault diagnosis submodule is used to detect whether there is a potential fault condition by performing fault diagnosis on the sensor data of the monitoring group; wherein the fault diagnosis includes identifying abnormal patterns in the sensor data to determine whether there is a fault in the drive; The fault prediction submodule is used to predict faults of the sensor data of the monitoring group, detect potential faults in advance, and take corresponding safety measures; wherein, the fault prediction includes predicting possible faults or abnormalities of the drive by analyzing the trends and change patterns of the sensor data.

6. The system according to claim 1, It is characterized in that The monitored driver is further used to convert the sensor data of the monitoring group into the data format of the first bus, obtain the sensor data after the format conversion, and send the sensor data after the format conversion to the controller through the first bus; The controller is specifically configured to monitor the safety of the monitored drive according to the sensor data of the monitoring group directly obtained from the second bus to obtain a first monitoring result; and monitor the safety of the monitored drive according to the format-converted sensor data obtained from the first bus to obtain a second monitoring result; And according to the first monitoring result and the second monitoring result, it is determined whether the monitored drive is safe.

7. The system according to claim 6, It is characterized in that The controller specifically comprises: A first monitoring result acquisition module is used to receive the sensor data after format conversion from the first bus; parse and process the sensor data to extract features related to the safety state; judge and evaluate the extracted features related to the safety state according to a preset safety rule or model to obtain a first monitoring result; The second monitoring result acquisition module is used to directly acquire the monitoring group sensor data from the second bus; parse and process the sensor data to extract features related to the safety state; judge and evaluate the extracted features related to the safety state according to the preset safety rules or models to obtain the second monitoring result; A safety status determination module includes a comprehensive judgment submodule and / or a threshold judgment submodule; the comprehensive judgment submodule is used to perform a comprehensive judgment on the first monitoring result and the second monitoring result by means of logical operation or weighted summation to determine whether the monitored drive is safe; the threshold judgment submodule is used to determine whether the monitored drive is safe according to a set score threshold.

8. The system according to claim 1, It is characterized in that At least two drivers are divided into a monitoring domain; a first group of sensor modules is used to monitor a first driver in the monitoring domain, and a second group of sensor modules is used to monitor a second driver in the monitoring domain; The controller and / or the first driver are further used to analyze the safety status of the first driver based on the data of the first group of sensor modules; and to comprehensively analyze the relationship between the first driver and the second driver based on the data of the second group of sensor modules to determine whether it is safe.

9. The system according to claim 1, It is characterized in that The controller and the second driver are specifically used to analyze the safety status of the second driver according to the data of the second group of sensor modules; and comprehensively analyze the relationship between the first driver and the second driver according to the data of the first group of sensor modules to determine whether it is safe.

10. The system according to claim 4, It is characterized in that Also includes any one or more of the following: The safety measures include any one of deceleration, stopping, warning, and zeroing; The system also includes an AC / DC power supply, electrically connected to the controller and the driver respectively; The plurality of sensor modules include any plurality of the following: an image sensor, a position sensor, a torque sensor, a gyroscope, and a proximity sensor; The transmission speed of the first bus is higher than that of the second bus; and the second bus is an industrial bus.