20221119-实例HI3516A底板PowerTree提取

第一章节Initial Setup开始设置

1.1 打开文件;

(1),使用Cadence Sigrity 2019版本Power DC

(2),依旧选用PCB文件HI3516APERB_VER_B_PCB.brd

第二章节PowerTree Setup开始设置

2.1 One-step to Create Workspace;

(1),VRM and Sink Information(.csv) 可以导入CSV文件;

Topology Extraction Rules (Optional)(.xml) 导入拓扑文件xml;

AMM Library (Optional) 导入AMM电容或者元件的模型库;

(2),Launch Power Tree

2.2 Extract Power Tree in Design提取设计中电源树;

(1),使用Extract Power Tree in Design 打开Starting Components窗口:

(2),先设置电源输入网络12V的Input端口,位号J6.2的网络“$5N461

2.3 结合原理图设置DC-DC/Components;

(1),使用原理图Hi3516APERB_VER_B_SCH.pdf

(2),设置如下:设置好6个DC-DC/Components。

(3),Eport……导出CSV文件,并且保存:

(4),点击OK,弹出 Build Power Tree对话框:

(5),Build Power Tree—Components type identification元器件类型识别规则:

Build Power Tree—Settings for topology extraction拓扑提取设置规则

(6),Build Tree……:

右击White Background/Black Background切换

(7),点击Switch to Hierarchy view mode切换到层级视图,预览整个设计PowerTree:

点击View/Hide Decaps 电容的显示和隐藏:

(8),选中元器件Q9,右击Ignore Component 忽略元器件。

2.4 PowerTree Setup—Apply PowerTree--;

(1),点击Apply PowerTree……

预览下Output下Error:

Error/Warning message:

Warning: The discrete is connected with power and ground net. RefDes 'R199' has been ignored.

Warning: The resistance is not specified for RefDes R36 between pin 2 and 1

Warning: The resistance is not specified for RefDes R35 between pin 2 and 1

Warning: The resistance is not specified for RefDes R77 between pin 2 and 1

Warning: The resistance is not specified for RefDes R153 between pin 2 and 1

Warning: The resistance is not specified for RefDes R211 between pin 1 and 2

Warning: The resistance is not specified for RefDes LB10 between pin 1 and 2

Warning: The resistance is not specified for RefDes LB11 between pin 1 and 2

(2),依旧选用PCB文件HI3516APERB_VER_B_PCB.brd

做PowerTree的目的是设置我们仿真电流密度和电压降跌落参数,主要是为了生成VRM、SINK等这些电流和电热仿真参数,比如电源、负载、串联电感,利用PowerTree来自动生成。

  • 3
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Yolov8-seg是一种基于目标检测和语义分割的实例分割方法。在Yolov8-seg中,首先使用YoloV5目标检测器检测图像中的物体,然后将检测到的物体传递给语义分割模型,以生成每个物体的分割掩膜。 如果您想提取分割掩膜,您可以按照以下步骤进行操作: 1. 使用Yolov8-seg模型检测图像中的物体。 2. 将检测到的物体传递给语义分割模型,以生成每个物体的分割掩膜。 3. 对于每个检测到的物体,提取其对应的分割掩膜。 4. 将分割掩膜应用于原始图像,以提取物体的图像部分。 您可以使用Python和深度学习框架(如PyTorch或TensorFlow)来实现这些步骤。以下是一个示例代码片段,用于提取Yolov8-seg模型生成的分割掩膜并将其应用于原始图像: ```python import cv2 import torch # Load Yolov8-seg and semantic segmentation models yolo_model = torch.hub.load('ultralytics/yolov5', 'yolov5s', pretrained=True) seg_model = torch.hub.load('pytorch/vision', 'deeplabv3_resnet101', pretrained=True) # Load image img = cv2.imread('image.jpg') # Detect objects using Yolov8-seg model results = yolo_model(img) # Extract segmentation masks for each detected object masks = [] for result in results.xyxy: box = result[:4].tolist() mask = seg_model(img, box=box)['out'] mask = torch.argmax(mask.squeeze(), dim=0).cpu().numpy() masks.append(mask) # Apply segmentation masks to original image to extract object parts object_parts = [] for mask in masks: object_part = cv2.bitwise_and(img, img, mask=mask) object_parts.append(object_part) # Display extracted object parts for object_part in object_parts: cv2.imshow('Object part', object_part) cv2.waitKey(0) ``` 请注意,此代码片段仅用于示例目的,您需要根据自己的需求进行修改和优化。

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值