Machine posture inspection method and inspection system

Through the combination of three-dimensional image capture equipment and motor encoders, the attitude of the machine device is recognized and calculated, which solves the problem of insufficient monitoring capabilities in the existing technology, achieves accurate detection of the attitude of the machine device and abnormal warning, and ensures safe operation.

CN118809668APending Publication Date: 2024-10-22POINT ROBOTICS MEDTECH INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310436244.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-21
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

Existing robot arm control technology has limited ability to monitor abnormal situations, resulting in incorrect position judgment and abnormal actions.

Method used

Three-dimensional image capture equipment and motor encoders are used to calculate the current posture of the machine device by identifying fiducial marks and connection marks, and determine whether it is abnormal through inverse or forward kinematics, and generate control commands to ensure that the posture is normal.

Benefits of technology

Effectively detect the attitude of the machine device and the motor attitude to ensure normal operation, and issue warnings in abnormal situations to stop the machine device to ensure system safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118809668A_ABST
    Figure CN118809668A_ABST
Patent Text Reader

Abstract

The invention discloses a machine posture inspection method and inspection system. The inspection method comprises the following steps: capturing a current image of an area where the machine device is located by using the image capturing equipment, and configuring the processing device to identify a reference mark in the current image and a first mark connected with the machine device; calculating the current posture of the device according to the reference mark and the first mark; configuring a motor encoder to measure an encoder signal of the motor; and judging whether the machine device is abnormal or not according to the current posture and the encoder signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a tool and an identification system thereof, and in particular to a surgical tool and an identification system for determining the usage status of the surgical tool. Background Art

[0002] In the existing robot arm control technology, a 3D camera is often used to measure the position of the fixed end, the mobile end and the target of the machine, and the coordinate transformation is used to convert the posture of the robot arm and the moving target. Then, based on inverse kinematics, the target point in space is converted into the brake position or speed command of the robot arm. The computer transmits these commands to the controller and performs the actual navigation action through the brake. Repeating the above steps, the closed-loop control method allows the robot arm to move to the target in real time and continuously, reducing navigation errors.

[0003] However, in the existing control technology, the monitoring ability of the robot arm is limited. Therefore, when abnormalities occur such as the marking ball falling off, robot mechanism abnormalities, motor abnormalities, encoder abnormalities, and the controller being unable to overcome excessive external forces, it will cause errors in the position judgment of the robot arm, and then cause the robot arm to move abnormally. Summary of the invention

[0004] The technical problem to be solved by the present application is to provide a machine posture inspection method and inspection system that can ensure the normal machine posture in view of the deficiencies in the prior art.

[0005] In order to solve the above-mentioned technical problems, one of the technical solutions adopted by the present application is to provide 1. a method for checking the posture of a machine, characterized in that the method for checking the posture of the machine includes: using an image capture device to capture a current image of the area where the machine device is located; and configuring a processing device to: identify a reference mark in the current image and a first mark connected to the machine device; calculate the current posture of the machine device based on the reference mark and the first mark; configure at least one motor encoder to measure the encoder signal of the at least one motor; and determine whether the machine device has an abnormality based on the current posture and the encoder signal.

[0006] Preferably, the step of determining whether the machine device is abnormal further comprises first calculating an estimated motor encoder position through inverse kinematics based on the current posture, and then comparing the estimated motor encoder position with an encoder signal of the at least one motor.

[0007] Preferably, the step of determining whether the machine device is abnormal further comprises first calculating an estimated posture using the encoder signal via forward kinematics, and then comparing the estimated posture with the current posture.

[0008] Preferably, the machine posture inspection method also includes configuring the processing device to: calculate and generate a control command for the machine device based on the current posture and the target posture; and control the at least one motor with the control command to drive the machine device to convert to the target posture.

[0009] Preferably, the machine posture inspection method also includes configuring the processing device to: identify a second mark in the current image, the second mark being associated with a target working area; calculate the current position of the machine device based on the positions of the reference mark, the first mark and the second mark; generate the control command for the machine device based on the current posture, the current position, the target posture and the target position; and control the at least one motor with the control command to drive the machine device to switch to the target posture and move toward the target position.

[0010] Preferably, the machine posture inspection method also includes configuring the processing device to: compare the current posture with a predetermined working range to determine whether the machine device is outside the predetermined working range; if the machine device is outside the predetermined working range, determine that an abnormality has occurred in the machine device.

[0011] Preferably, the machine device includes a base platform and a mobile platform having multiple degrees of freedom relative to the base platform, and the mobile platform is driven by at least one motor, the first mark is set on the base platform of the machine device, and the second mark is set on the mobile platform of the machine device.

[0012] In order to solve the above-mentioned technical problems, another technical solution adopted by the present application is to provide a machine posture inspection system, the machine posture inspection system comprising: a machine device, comprising at least one motor and at least one motor encoder; an image capture device, configured to capture a current image of the area where the machine device is located; and a processing device, electrically connected to the image capture device and the machine device, and configured to: identify a reference mark in the current image and a first mark connected to the machine device; calculate the current posture of the machine device based on the reference mark and the first mark; measure the encoder signal of the at least one motor through the at least one motor encoder; and determine whether the machine device has an abnormality based on the current posture and the encoder signal.

[0013] Preferably, the step of determining whether the machine device is abnormal further comprises first calculating an estimated motor encoder position through inverse kinematics based on the current posture, and then comparing the estimated motor encoder position with an encoder signal of the at least one motor.

[0014] Preferably, the step of determining whether the machine device is abnormal further comprises first calculating an estimated posture using the encoder signal via forward kinematics, and then comparing the estimated posture with the current posture.

[0015] Preferably, the processing device is further configured to: calculate and generate a control command for the machine device according to the current posture and the target posture; and control the at least one motor with the control command to drive the machine device to transform to the target posture.

[0016] Preferably, the processing device is also configured to: identify a second mark in the current image, wherein the second mark is associated with a target working area; calculate the current position of the machine device based on the positions of the reference mark, the first mark and the second mark; generate the control command for the machine device based on the current posture, the current position, the target posture and the target position; and control the at least one motor with the control command to drive the machine device to convert to the target posture and move toward the target position.

[0017] Preferably, the processing device is further configured to: compare the current posture with a predetermined working range to determine whether the machine device is located outside the predetermined working range; if the machine device is located outside the predetermined working range, determine that an abnormality occurs in the machine device.

[0018] Preferably, the machine device includes a base platform and a mobile platform having multiple degrees of freedom relative to the base platform, and the mobile platform is driven by at least one motor, the first mark is set on the base platform of the machine device, and the second mark is set on the mobile platform of the machine device.

[0019] One of the beneficial effects of the present application is that the machine posture inspection method and inspection system provided in the present application utilize three-dimensional image capture equipment and motor encoders for detection to obtain the posture of the machine device and the motor posture, and compare them with each other to ensure that the posture and movement of the machine device are operating normally, and when an abnormality is detected, an alarm is issued and the machine device is stopped to ensure system safety.

[0020] To further understand the features and technical contents of the present application, please refer to the following detailed description and drawings of the present application. However, the drawings provided are only for reference and illustration and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a functional block diagram of a machine posture inspection system according to an embodiment of the present application.

[0022] Figure 2 This is a schematic diagram of a robotic device according to an embodiment of the present application performing surgery in a surgical environment.

[0023] Figure 3 This is a flow chart of a method for inspecting machine posture according to an embodiment of the present application.

[0024] Figure 4 This is a first detailed flowchart of step S14.

[0025] Figure 5 This is a second detailed flowchart of step S14.

[0026] Figure 6 This is the third detailed flow chart of step S14.

[0027] Figure 7 This is a schematic diagram of comparing the current posture and the predetermined working range described in step S14.

[0028] Figure 8 Another flow chart of the machine posture inspection method according to an embodiment of the present application. DETAILED DESCRIPTION

[0029] The following is an explanation of the implementation methods of the "machine posture inspection method and inspection system" disclosed in the present application through specific examples. Those skilled in the art can understand the advantages and effects of the present application from the contents disclosed in this specification. The present application can be implemented or applied through other different specific embodiments, and the details in this specification can also be modified and changed in various ways based on different viewpoints and applications without departing from the concept of the present application. In addition, the drawings of the present application are only simple schematic illustrations and are not depicted in actual size. It is stated in advance. The following implementation methods will further explain the relevant technical content of the present application in detail, but the disclosed content is not intended to limit the scope of protection of the present application. In addition, the term "or" used in this article may include any one or more combinations of the associated listed items depending on the actual situation.

[0030] Figure 1 This is a functional block diagram of a machine posture inspection system according to an embodiment of the present application.

[0031] See also Figure 1 As shown, an embodiment of the present application provides a machine posture inspection system 1, including a machine device 10, an image capturing device 12, a processing device 14 and a display device 16.

[0032] The processing device 14 includes a processor 140, a memory 142, an input / output interface 144, and an image processor 146. The processing device 14 can be implemented, for example, by a database, a general processor, a calculator, a server, or other unique hardware devices with specific logic circuits or devices with specific functions, such as integrating program code and a processor / chip into unique hardware. In more detail, part or all of the inspection system and inspection method provided by the present application can be implemented using a computer program, and the computer program can be stored in a non-transient computer-readable recording medium, such as a read-only memory, a flash memory, a floppy disk, a hard disk, an optical disk, a flash drive, a magnetic tape, a database accessible by a network, or a computer-readable recording medium with the same function that can be easily thought of by a person familiar with the art.

[0033] The processor 140 may be, for example, an integrated circuit of a programmable logic controller circuit, a micro-processor circuit, or a micro-control circuit, a central processing unit, etc.

[0034] The memory 142 is any storage device that can be used to store data, and can be, for example, but not limited to, random access memory (RAM), read only memory (ROM), flash memory, a hard disk, or other storage devices that can be used to store data.

[0035] The image processor 146, which may also be called a display core, a visual processor, a display chip, a display adapter or a graphics chip, may be, for example, a microprocessor that performs graphics operations on a personal computer, a workstation, a game console, and some mobile devices (such as a tablet computer, a smart phone, etc.). The processor 140, the memory 142, the input / output interface 144, and the image processor 146 may communicate via a bus 148, but the present application is not limited thereto.

[0036] In addition, in an embodiment of the present application, the input / output interface 144 may include one or more physical ports (for example, a general input / output port or a port supporting HDMI, DisplayPort, USB, Ethernet, Ethernet for Control Automation Technology (EtherCAT) and other specifications) and one or more wireless communication modules (for example, a wireless communication adapter card supporting Bluetooth, WI-FI and other specifications), and the processing device 14 may be electrically connected to the machine device 10, the image capture device 12 and the display device 16 in a wired or wireless manner through the input / output interface 144.

[0037] Specifically, the image capture device 12 may be, for example, a three-dimensional camera including a plurality of cameras, configured to capture a current image from the area where the robot device 10 is located. The image capture device 12 may capture and measure depth information of an object, and may use, for example, a depth sensor, a stereo camera, or a time-of-flight technology to capture depth information of an object and an environment in different ways to obtain the precise position of the object.

[0038] The robot device 10 may be, for example, a parallel robot, which may include a controller 100, drivers 1011, 1012, ..., 101n, motor encoders 1021, 1022, ..., 102n, and motors 1031, 1032, ..., 103n. The robot device 10 may be, for example, a parallel robot, for example, a surgical instrument based on a Stewart platform, which includes a base platform 105 and a mobile platform 104, and the mobile platform 104 has multiple degrees of freedom relative to the base platform 105 and is driven by multiple motors. The mobile platform 104 may, for example, clamp a surgical instrument 106 such as a drill, a trocar, or a saw blade through an adapter.

[0039] In detail, the driving mechanism of the machine device 10 may, for example, adopt a parallel mechanism with six degrees of freedom of movement, with a total of six sets of actuating units and corresponding six sets of arms. Each actuating unit may include a motor, a coupling, a lead screw and a slide rod. The controller 100 may be electrically connected to the drivers 1011, 1012, ..., 101n to drive the motors 1031, 1032, ..., 103n to rotate the lead screws according to the control command of the controller 100, and the lead screws then drive the arms to move. In addition, the drivers 1011, 1012, ..., 101n may be electrically connected to the motor encoders 1021, 1022, ..., 102n respectively to receive encoder signals when the motors 1031, 1032, ..., 103n are driven, thereby obtaining the position information of the motors 1031, 1032, ..., 103n, and the position information may be transmitted to the controller 100 as a position feedback signal. In addition, the processing device 14 may also be directly or indirectly electrically connected to the motor encoders 1021 , 1022 , . . . , 102 n to obtain encoder signals of the motor encoders 1021 , 1022 , . . . , 102 n.

[0040] Through the above configuration, when the actuator unit drives the arm to move, the mobile platform 104 is moved or rotated to different positions / orientations in space, thereby moving the surgical instrument on the adapter to the desired position / orientation. The above parallel mechanism uses the Stewart platform design well known in the art, so its details are not repeated here. In addition, in addition to the above parallel robot, the robot device 10 can also be a serial robot.

[0041] Figure 2 This is a schematic diagram of a machine device according to an embodiment of the present application performing surgery in a surgical environment. Figure 2 As shown. The reference marker BF, such as a robotic base frame, can be fixedly disposed on the base platform 105, and the first marker EF, such as an end-effector frame, can be fixedly disposed on the mobile platform 104. The reference marker BF and the first marker EF can assist in detecting the direction and position of the robot device 10 and the surgical instrument 106 relative to the surgical site 2 by any conventional positioning method, such as an optical positioning method, an electromagnetic positioning method, or an inertial positioning method. In addition, the reference marker BF and the first marker EF can, for example, include a plurality of markers for emitting electromagnetic signals, sound waves, heat or other perceptible signals, and can be respectively installed on the base platform 105 and the mobile platform 104 at a specific direction and angle relative to the surgical instrument 106. In the embodiment of the present application, an optical positioning method can be adopted, and therefore, the reference marker BF and the first marker EF can each include one or more marker balls. In a preferred embodiment of the present application, the reference mark BF and the first mark EF are reflective balls or marking devices that actively generate perceptible signals respectively disposed on the base platform 105 and the mobile platform 104. In addition, a plurality of detection marks may also be disposed near the surgical site 2 (for example, on a dynamic reference plate implanted near the surgical site 2), and the processing device 14 may thereby simultaneously detect the position and orientation of the surgical instrument 106 relative to the surgical site 2 through the image capture device 12 or other optical sensors.

[0042] Further Figure 2 As shown, when performing surgery in a surgical environment, the surgeon may hold a robot device 10 (e.g., a robot arm) to perform surgery on a surgical site 2. The processing device 14 may be configured to receive relevant position information of the robot device 10 from the image capture device 12, and then use the robot device 10 to guide the movement of the surgical instrument 106 according to the position information.

[0043] In more detail, a second marker FF (e.g., a dynamic reference plate implanted near the surgical site 2) may be provided near the surgical site 2. The processing device 14 may obtain an image of the second marker FF near the surgical site 2 through an optical detector (e.g., an image capture device 12), and integrate the previously obtained tomographic image to establish a three-dimensional virtual model of the surgical site 2 and the internal bones, and mark the position of the detection marker in the virtual model. The constructed three-dimensional virtual model may be processed and rendered by the image processor 146, and then displayed in the navigation interface through the display device 16.

[0044] In more detail, after completing the registration of the actual spatial coordinates and the spatial coordinates of the medical image of the surgical site 2, the multiple markers (such as the aforementioned dynamic reference plate) set near the surgical site 2 can obtain a spatial coordinate conversion matrix. Therefore, the processing device 14 can further obtain the dynamic reference plate near the surgical site 2 through the spatial coordinate conversion matrix and the image capture device 12, process the three-dimensional virtual model of the surgical instrument 106, the surgical site 2 and the internal skeleton through the image processor 146, perform model rendering, and then display it in the navigation interface through the display device 16.

[0045] Then, the user can plan the surgical path 60 for the surgery to be performed in the three-dimensional virtual model displayed by the display device 16 (for example, the surgical path is defined according to one or more pedicle screws to be implanted in the surgical site). Moreover, when the surgical path 60 is planned, the processing device 14 can further calculate a virtual axis 61 extending in the direction outside the epidermis of the surgical site according to the surgical path 60, and display it in the navigation interface to indicate the user's surgical position, thereby assisting the user to move steadily along the surgical route during the surgical process.

[0046] The following further describes the machine posture inspection method provided by the present application, which is applicable to the aforementioned machine posture inspection system 1, but the present application is not limited thereto.

[0047] Please refer to Figure 3 , which is a flow chart of the machine posture inspection method of the embodiment of the present application. Figure 3 As shown, the inspection method includes the following steps:

[0048] Step S10: Using an image capture device to capture a current image of the area where the robot device is located. This step mainly uses a 3D camera to first obtain images of the reference mark BF and the first mark EF fixed on the robot device 10 for subsequent determination of the posture of the robot device 10.

[0049] After obtaining the current image, the inspection method may further include configuring the processing device 14 to perform the following steps:

[0050] Step S11: Identify the reference mark in the current image and the first mark connected to the robot device. For example, the processor 140 may be configured to execute an object recognition algorithm to find the reference mark BF and the first mark EF from the current image. However, the present application is not limited thereto. In some embodiments, the object recognition algorithm may be executed to find the reference mark BF, the first mark EF, and the second mark FF from the current image, and simultaneously obtain the corresponding positions and orientations. Such information may be used to estimate the posture, position, and orientation of the robot device 10 itself, as well as the position and orientation of the surgical instrument 106 relative to the surgical site 2.

[0051] Step S12: Calculate the current posture of the mechanical device according to the reference mark and the first mark.

[0052] In detail, the mobile platform 104 and the base platform 105 can be rigid platforms respectively, and inertial coordinates (Inertial coordinates) and body coordinates (Body coordinates) can be established for the Stewart platform mechanism composed of the mobile platform 104 and the base platform 105. For example, the center of the base platform 105 can be used as the origin of the inertial coordinates, and the body coordinates are similar to the inertial coordinates, and their origin is fixed at the center of the mobile platform 104. The inertial coordinates are fixed on the base platform 105 and will not move, while the body coordinates move along with the movement of the mobile platform 104. This is the structure and coordinate definition of the Stewart platform. Using this coordinate definition, the position of the mobile platform 104 in space can be described by the inertial coordinate value of the center of the mobile platform 104, and the posture of the mobile platform 104 and the base platform 105 in space can be defined by a set of posture angles.

[0053] In more detail, the position of the mobile platform 104 relative to the base platform 105 in space can be fully described by a transformation matrix, including rotation and translation, a total of 6 degrees of freedom. The transformation matrix can be shown in the following mathematical formula:

[0054]

[0055] Among them, T is the transformation matrix, R is the 3x3 rotation matrix, often described by Euler angles, and P is the 3x1 translation vector (x, y, z).

[0056] Therefore, since the relative position and orientation relationship between the reference marker BF and the base platform 105 are known, the relative position and orientation relationship between the first marker EF and the mobile platform 104 are also known, the current posture can be estimated based on the above coordinate definition and the following mathematical formula.

[0057]

[0058] in, is the current posture, is the position and orientation information of the reference mark BF, A conversion matrix for converting the position and orientation information of the reference mark BF into the position and orientation information of the substrate platform 105, is the position information of the first marker EF, A conversion matrix for converting the position and orientation information of the first marker EF into the position and orientation information of the mobile platform 104.

[0059] Step S13: measuring the encoder signal of the motor through the motor encoder.

[0060] As described above, the drivers 1011 , 1012 , . . . , 101 n can receive encoder signals when the motors 1031 , 1032 , . . . , 103 n are driven, thereby obtaining position information of the motors 1031 , 1032 , . . . , 103 n , which can be transmitted to the controller 100 as a position feedback signal.

[0061] Step S14: Determine whether the machine device is abnormal based on the current posture and the encoder signal.

[0062] Please refer to Figure 4 , which is a first detailed flow chart of step S14.

[0063] For example, when the robot device 10 is a parallel robot (such as a Stewart platform), the following steps may be performed:

[0064] Step S140: Calculate the estimated motor encoder position via inverse kinematics based on the current posture.

[0065] In this step, the current posture calculated in the previous step can be used according to the parallel robot architecture. The posture of a single motor is calculated through inverse kinematics. It should be understood that the relative connection relationship between each motor and its corresponding brake shaft and the mobile platform 104 and the base platform 105 is known. Therefore, in the process of solving the inverse kinematics, the extension or rotation of the brake shaft corresponding to each motor can be estimated according to the posture of the mobile platform 104 and the base platform 105 in space, as the posture of the single motor, and then the estimated motor encoder position can be obtained.

[0066] Step S141: Compare the estimated motor encoder position with the motor encoder signal to determine whether the machine device is abnormal.

[0067] In the embodiments of the present application, the motor encoder may be, for example, an incremental encoder, which may be converted by a mechanism to obtain the actual extension or rotation of the brake shaft. For example, a linear brake, a rotary brake, or other brakes that move around a special path (e.g., a cam) may be configured in the robot arm, and additional deceleration may be performed as required. At this time, the final position of the working end of the brake may be obtained by changing the calculation method according to the form of the mechanism.

[0068] In some embodiments of the present application, a rotary motor may be used in combination with a ball screw to form a linear brake. The position of the working end of the linear brake may be calculated according to the following mathematical formula:

[0069]

[0070] Among them, actuatorlength is the length of the brake, encodermeasurement is the original measurement value of the encoder, BallscrewLead is the extension of the ball screw, and encoderresolution is the resolution of the motor encoder.

[0071] Therefore, the actual brake shaft extension or rotation amount can be further compared with the estimated brake shaft extension or rotation amount to determine whether the machine device 10 is abnormal. When the actual brake shaft extension or rotation amount is different from the estimated brake shaft extension or rotation amount, it can be known that the robot mechanism abnormality, motor abnormality, encoder abnormality, mark shedding and other conditions may occur. On the contrary, it means that the machine device 10 is not abnormal. It should be noted that in this step, the estimated motor state is actually compared with the actual motor state. On this basis, it is not limited to comparing the estimated motor encoder position with the actual motor encoder position, and the estimated motor encoder signal can also be compared with the actual motor encoder signal. The above-mentioned conversion method involving inverse kinematics, motor posture and motor encoder signal is well known to those with general knowledge in the field, so it will not be repeated here.

[0072] However, in addition to the above-mentioned determination method by inverse kinematics, the present application embodiment also provides a determination method by forward kinematics. Figure 5 , which is a second detailed flowchart of step S14.

[0073] like Figure 5 As shown, step S14 may include the following steps:

[0074] Step S142: Calculate the estimated posture using the encoder signal via forward kinematics.

[0075] Step S143: Compare the estimated posture with the current posture to determine whether an abnormality occurs in the machine device.

[0076] If the robot device 10 is a serial robot, the encoder signal can be used to calculate the estimated posture through forward kinematics by executing the above steps S142 and S143, and then compared with the current posture. The above-mentioned forward kinematics, motor attitude and motor encoder signal conversion method are well known to those with ordinary knowledge in the field, so they will not be described here in detail.

[0077] Please refer to Figure 6 , which is the third detailed flow chart of step S14. In addition to the above-mentioned method of determining whether an abnormality occurs, step S14 may also include the following steps:

[0078] Step S144: Setting a predetermined working range.

[0079] Step S145: Compare the current posture with the predetermined working range to determine whether the machine device is outside the predetermined working range.

[0080] It should be noted that Figure 4 , 5 The inspection mechanism mainly compares the current posture captured from the image with the posture measured by the motor encoder to determine whether there is a mismatch, thereby determining whether there is an abnormal condition. However, such inspection mechanisms cannot ensure that the machine device (or surgical instrument 106) is still within a reasonable and appropriate working range. For this reason, the present application also provides another inspection mechanism to ensure that the machine device (or surgical instrument 106) is still operating within a reasonable use space.

[0081] For reference Figure 7 , which is a schematic diagram of comparing the current posture and the predetermined working range described in step S14. In this step, a predetermined working range WS can be set for one or more of the mobile platform 104, the base platform 105 and the surgical instrument 106, for example, Figure 7 As shown, first, it is necessary to determine the positions that all mechanisms of the machine device can reach, and define this range as the total working space. Then, a predetermined working range WS is set in the total working space for the mobile platform 104 according to the needs. The setting method can be based on the base platform 105 to find the reasonable working range of the mobile platform 104, and then set the size and position of the predetermined working range WS. The predetermined working range WS can be a two-dimensional space or a three-dimensional space. When making a judgment, it can be, for example, to determine whether the center point of the mobile platform 104 is outside the predetermined working range WS.

[0082] by Figure 7 For example, if the first mark EF' is detected at Figure 7 , it can be known that the position of the mobile platform 104' is tilted to one side as shown, and obviously exceeds the predetermined working range WS. At this time, it can be determined that the machine device 10 is abnormal. The cause of this abnormality may be the detachment of the reference mark BF or the first mark EF, the serious deformation of the robot, or the abnormality of the image capture device 12. For example, in the case where the robot abnormally rushes and moves outside the predetermined working range WS, Figure 4 , 5 Although the inspection mechanism cannot determine Figure 6 The inspection mechanism can detect and issue warnings.

[0083] Please refer to Figure 3 In response to determining in step S14 that the machine device 10 is abnormal, the inspection method enters step S15: generating an alarm and generating a stop command to stop the machine device.

[0084] In this step, when an abnormality is detected, a warning may be given in various ways (eg, by a warning light, a horn, or a display device 16 showing an abnormality message), and the robot arm activity may be stopped to ensure safety.

[0085] In response to the determination in step S14 that the machine device 10 is normal, the inspection method proceeds to step S16: a control command for the machine device is calculated based on the current posture and the target posture.

[0086] Step S17: Control the motor with the control command to drive the robot device to transform to the target posture.

[0087] In steps S16 and S17, the positions of the reference mark BF and the first mark EF can be used to calculate the control command to be executed by the robot device 10 at the next predetermined time point. In other words, the processing device 14 can use the current posture of the robot device 10 as the target posture when the surgical instrument 106 can move along the surgical path 60 and the virtual axis 61, thereby assisting the user to move along the surgical route stably during the operation.

[0088] Figure 8 This is another flow chart of the machine posture inspection method of the embodiment of the present application. Figure 8 In an embodiment of the present application, the inspection method may further include the following steps:

[0089] Step S16 ′: Identify the second marker in the current image, wherein the second marker FF is related to the target working area, that is, the surgical site 2 .

[0090] Step S17 ′: Calculate the current position of the machine device according to the positions of the reference mark, the first mark and the second mark.

[0091] Step S18': Calculate and generate a control command for the machine device according to the current posture, the current position, the target posture and the target position.

[0092] Step S19 ′: controlling the motor with the control command to drive the robot device to transform to the target posture and move toward the target position.

[0093] Similarly, in Figure 8In the above steps, the positions and orientations of the reference mark BF, the first mark EF, and the second mark FF can be used to calculate the control command to be executed by the robot device 10 at the next predetermined time point. In other words, the processing device 14 can use the current posture and current position of the robot device 10 as the target posture and target position when the surgical instrument 106 can move along the surgical path 60 and the virtual axis 61, thereby assisting the user to move stably along the surgical route during the operation.

[0094] [Beneficial Effects of Embodiments]

[0095] One of the beneficial effects of the present application is that the machine posture inspection method and inspection system provided by the present application utilize three-dimensional image capture equipment and motor encoders for detection to obtain the posture of the machine device and the motor posture, and compare them with each other to ensure that the posture and movement of the machine device are operating normally, and when an abnormality is detected, an alarm is issued and the machine device is stopped to ensure system safety.

[0096] The contents disclosed above are only preferred feasible embodiments of the present application, and are not intended to limit the protection scope of the claims of the present application. Therefore, all equivalent technical changes made using the contents of the present application specification and drawings are included in the protection scope of the claims of the present application.

Claims

1. A method for checking machine posture, characterized in that: The method for checking the machine posture includes: Using an image capture device to capture a current image of the area where the machine device is located; and Configure the processing unit to: identifying a reference marker in the current image and a first marker connected to the machine device; Calculating a current posture of the robot device according to the reference mark and the first mark; configuring at least one motor encoder to measure an encoder signal of the at least one motor; and According to the current posture and the encoder signal, it is determined whether the machine device is abnormal.

2. The method for checking the machine posture according to claim 1, characterized in that: The step of determining whether the machine device is abnormal also includes first calculating an estimated motor encoder position through inverse kinematics based on the current posture, and then comparing the estimated motor encoder position with an encoder signal of the at least one motor.

3. The method for checking the machine posture according to claim 1, characterized in that: The step of determining whether the machine device is abnormal also includes first calculating an estimated posture using the encoder signal via forward kinematics, and then comparing the estimated posture with the current posture.

4. The method for inspecting the machine posture according to claim 1, characterized in that: The machine posture inspection method further includes configuring the processing device to: Calculate and generate a control command for the robot device according to the current posture and the target posture; and The at least one motor is controlled by the control command to drive the robot device to transform to the target posture.

5. The method for checking the machine posture according to claim 1, characterized in that: The machine posture inspection method further includes configuring the processing device to: identifying a second marker in the current image, the second marker being associated with a target working area; Calculating the current position of the machine device according to the positions of the reference mark, the first mark, and the second mark; Calculate and generate a control command for the machine device according to the current posture, the current position, the target posture and the target position; as well as The at least one motor is controlled by the control command to drive the robot device to transform to the target posture and move toward the target position.

6. The method for checking the machine posture according to claim 1, characterized in that: The machine posture inspection method further includes configuring the processing device to: Comparing the current posture with a predetermined working range to determine whether the machine device is outside the predetermined working range; If the machine device is outside the predetermined working range, it is determined that an abnormality occurs in the machine device.

7. The method for checking the machine posture according to claim 6, characterized in that: The machine device includes a base platform and a mobile platform with multiple degrees of freedom relative to the base platform, and the mobile platform is driven by at least one motor. The first mark is set on the base platform of the machine device, and the second mark is set on the mobile platform of the machine device.

8. A machine posture inspection system, characterized in that: The machine posture inspection system includes: A machine device, comprising at least one motor and at least one motor encoder; An image capture device configured to capture a current image of the area where the machine device is located; and A processing device, electrically connected to the image capturing device and the machine device, and configured to: identifying a reference marker in the current image and a first marker connected to the machine device; Calculating a current posture of the robot device according to the reference mark and the first mark; measuring an encoder signal of the at least one motor by means of the at least one motor encoder; and According to the current posture and the encoder signal, it is determined whether the machine device is abnormal.

9. The inspection system according to claim 8, characterized in that: The step of determining whether the machine device is abnormal also includes first calculating an estimated motor encoder position through inverse kinematics based on the current posture, and then comparing the estimated motor encoder position with an encoder signal of the at least one motor.

10. The inspection system according to claim 8, characterized in that: The step of determining whether the machine device is abnormal also includes first calculating an estimated posture using the encoder signal via forward kinematics, and then comparing the estimated posture with the current posture.

11. The inspection system according to claim 8, characterized in that: The processing device is also configured to: Calculate and generate a control command for the robot device according to the current posture and the target posture; and The at least one motor is controlled by the control command to drive the robot device to transform to the target posture.

12. The inspection system according to claim 8, characterized in that: The processing device is also configured to: identifying a second marker in the current image, wherein the second marker is associated with a target working area; Calculating the current position of the machine device according to the positions of the reference mark, the first mark, and the second mark; Calculate and generate a control command for the robot device according to the current posture, the current position, the target posture and the target position; and The at least one motor is controlled by the control command to drive the robot device to transform to the target posture and move toward the target position.

13. The inspection system according to claim 8, characterized in that: The processing device is also configured to: Comparing the current posture with a predetermined working range to determine whether the machine device is outside the predetermined working range; If the machine device is outside the predetermined working range, it is determined that an abnormality occurs in the machine device.

14. The inspection system according to claim 13, characterized in that: The machine device includes a base platform and a mobile platform with multiple degrees of freedom relative to the base platform, and the mobile platform is driven by at least one motor. The first mark is set on the base platform of the machine device, and the second mark is set on the mobile platform of the machine device.