【格拉霍夫定理】【四连杆系统】Grashof’s Law for a Planar Four-Bar Linkage

在《Craig, John J - Introduction to Robotics_ Mechanics and Control-Pearson (2013)》一书中提到 “a four-bar linkage has only one degree of freedom” ,即“四连杆机构只有一个自由度”。本文将从零基础开始解释此句的原因。由于自学,恐有疏漏,还望赐教。

1.What is a Planar Four-Bar Linkage? 什么是四连杆机构?

  • The simplest of all closed loop mechanisms 最简单的闭环结构
  • Comprises four bar-shaped links: 3 moving links, 1 fixed link and 4 pin joints 包含4个连杆,其中有3个移动连杆,1个固定连杆和4个枢接
  • The four bar chain has four turning pairs 包含4个转动副

图1.1

图1.1 四连杆机构示意图




2.Terminology 相关术语

  • Crank:A link which can make complete revolution is known as crank. 曲柄:能作完全旋转的连杆称为曲柄。
  • Rocker:Any link which does not revolve is called a rocker.
    摇杆:任何不旋转的链接都称为摇杆。
  • Frame:The fixed link is known as frame.
    框架:固定链接称为框架。
  • Coupler/connecting rod:The opposite link of frame is known as connecting rod.
    耦合器/连杆:框架的相对连杆称为连杆。
  • Crank-rocker mechanism:In a four bar linkage, if the shorter side link revolves and the other one rocks (i.e., oscillates), it is called a crank-rocker mechanism.
    曲柄摇杆机构:在四杆连杆机构中,如果较短的侧连杆旋转而另一侧连杆摇摆(即摆动),则称为曲柄摇杆机构。如图2.1。
  • Double-crank mechanism:In a four bar linkage, if both of the side links revolve, it is called a double-crank mechanism.
    双曲柄机构:在四连杆机构中,如果两个侧连杆都旋转,则称为双曲柄机构。如图2.2。
  • Double-rocker mechanism:In a four bar linkage, if both of the side links rock, it is called a double-rocker mechanism.
    双摇杆机构:在四连杆机构中,如果两个侧连杆都摇动,则称为双摇杆机构。如图2.3。
图2.1 曲柄摇杆机构示意图(s+l < p+q) 图2.2 双曲柄机构示意图(s+l < p+q)
图2.3 双摇杆机构示意图(s+l < p+q)




where s = length of the shortest link;l = length of the largest link;p and q = lengths of the other two links.
其中,s是最短链接的长度,l是最长链接的长度,p 和 q 是 其他两个链接的长度

3.Grashof’s Law 格拉霍夫定理

Grashof’s Law states that for a planar four-bar linkage system, the sum of the shortest and longest link lengths cannot be greater than the sum of the remaining two link lengths if there is to be a continuous relative rotation between two members.

Grashof 定律指出,对于平面四连杆系统,如果两个构件之间存在连续的相对旋转,则最短和最长连杆长度之和不能大于其余两个连杆长度之和。

在数学上表示该定理:假设 s 是最短链接的长度,l 是最长链接的长度,p 和 q 是 其他两个链接的长度,如果两个构件之间存在连续的相对旋转,则有如下公式:

s + l ≤ p + q ( 1 ) s + l \le p + q \quad\quad\quad\quad(1) s+lp+q(1)

Note: if s + l > p + q, then no continuous relative motion is possible; i.e., if the above inequality is NOT satisfied, no link will make a complete revolution relative to another.
需要注意的是,如果s + l > p + q,则不可能有连续的相对运动。

在这里插入图片描述

图3.1 不同情况的四连杆机构示意图




4.The Degree of Freedom – Definition and Calculation Method
自由度定义和计算方法(刚体、二维)

Definition : The number of independent motions that are allowed to the body or, in case of a mechanism made of several bodies, number of possible independent relative motions between the pieces of the mechanism

定义:物体允许的独立运动的数量,或者在由多个物体组成的机构的情况下,机构部件之间可能的独立相对运动的数量

For a simple mechanism, the degree of freedom (F) is given by the Grubler’s criterion: F = 3 (n - 1) - 2j - h, where j = number of revolute joints, n = number of links, h = number of higher pairs

对于简单机构,自由度 (F) 由 Grubler 准则给出:F = 3 (n - 1) - 2j - h 其中,j = 旋转关节的数量,n = 链接的数量,h = 高副的数量

在平面四杆连杆机构中,n = 4, j = 4, h = 0 ,代入公式后,得 F = 1,即自由度为1。

5.扩展连接

  • 2
    点赞
  • 14
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
霍夫变换是一种常见的图像处理算法,可以用来检测图像中的直线。在Python中,可以使用OpenCV库来实现霍夫变换和直线检测。 以下是一个基于霍夫变换和Python的直线检测系统的简要步骤: 1. 导入必要的库 ```python import cv2 import numpy as np ``` 2. 读取图像并将其转换为灰度图像 ```python img = cv2.imread('image.jpg') gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) ``` 3. 对图像进行边缘检测 ```python edges = cv2.Canny(gray, 50, 150, apertureSize=3) ``` 4. 进行霍夫变换 ```python lines = cv2.HoughLines(edges, 1, np.pi/180, 200) ``` 其中,第一个参数是边缘检测后的图像,第二个参数是距离分辨率,第三个参数是角度分辨率,第个参数是阈值,用于确定直线。 5. 绘制检测到的直线 ```python for line in lines: rho, theta = line[0] a = np.cos(theta) b = np.sin(theta) x0 = a*rho y0 = b*rho x1 = int(x0 + 1000*(-b)) y1 = int(y0 + 1000*(a)) x2 = int(x0 - 1000*(-b)) y2 = int(y0 - 1000*(a)) cv2.line(img, (x1,y1), (x2,y2), (0,0,255), 2) ``` 其中,第一个参数是图像,第二个参数是起点坐标,第三个参数是终点坐标,第个参数是颜色,第五个参数是线条粗细。 6. 显示并保存结果 ```python cv2.imshow('result', img) cv2.imwrite('result.jpg', img) cv2.waitKey(0) cv2.destroyAllWindows() ``` 完整代码如下: ```python import cv2 import numpy as np img = cv2.imread('image.jpg') gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) edges = cv2.Canny(gray, 50, 150, apertureSize=3) lines = cv2.HoughLines(edges, 1, np.pi/180, 200) for line in lines: rho, theta = line[0] a = np.cos(theta) b = np.sin(theta) x0 = a*rho y0 = b*rho x1 = int(x0 + 1000*(-b)) y1 = int(y0 + 1000*(a)) x2 = int(x0 - 1000*(-b)) y2 = int(y0 - 1000*(a)) cv2.line(img, (x1,y1), (x2,y2), (0,0,255), 2) cv2.imshow('result', img) cv2.imwrite('result.jpg', img) cv2.waitKey(0) cv2.destroyAllWindows() ``` 这样,基于霍夫变换和Python的直线检测系统就完成了。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值