粉丝3.2万获赞4.2万

朋友们大家好,今天给大家演示一下原理图是怎么生成 pcb 的, 现在这个原理图是提前已经绘制好的, pcb 这边呢是目前是空的,就是画了个框框,这个就是版的计划版的边缘, 到时会根据尺寸,根据实际软件摆放的尺寸在适当的会增大或者缩小。我们看看原理图是怎么 pcp 上原件生成的,前提是原理图上面做原理图的时候,每个原件的封装要一千的给好,就是这个封装,每个原件的封装 就要提前的就要给好,这些封装都提前的给好。然后呢要准备好一个软件库, 这原件库里面必须有你要的所有原件,就是原理图上面所有的原件 都得有,没有的话生成的时候会出错,这所有的原件 用的到的,本次用的到的所有原件,你要在这个库里面要有。然后呢原理图上面点击设计更新 pcb 一点, 这里勾绳子,呃,是否删除原有的原件,这个勾掉, 嗯,确认 pcb 这边呢就自动把那个文件全部生成出来了, 生成出来是这样的,原件是零零散散的,然后呢我们 把生成出来的,我们把生成出来的原件要整理一下, 要整理成一堆一堆,就是一一按照原理图一处一处再整理出来,到时便于啊不摆。你们看看 怎么样去整理这个文件, 先把这个, 这个太长了,我们把它先把一部分原件先拉他下来, 然后呢我们生存出来的 原件他现在是没有规律的摆放的,我们需要根据原理图这样一个一个用这个 搜索工具在原理图上点击就找到相应的元件,在 就是 找到相应的元件出来, 然后呢我们把它挪到一边去,把整成一堆一堆的, 先整成一个快一个快, 这保险管找一下的保险管把它挪过来, 现在不是仔细布板的时候,只是把原件拉到一块,拉成一堆一堆的,先找出原件来,防雷管 变压器,我们两个变压器是目的是做两种封装的大小变压器的, 这两个变压器到时是大小分钟, 我再把这个保险管 智慧付保险管拿出来, 要整油墙, 第一个管 第二个款 就会移过来, 整流桥就拿出来了,然后呢到电容,电解电容, 这瓷片电影 没有温热管, 第一路文雅馆 本来管后期的这部电影, 你的明天我情愿情愿会置于我肩膀, 这是电源指示灯的限流电阻, 这电源指示灯 the dance 只是当时接在五福这个葫芦里面 掉入的 美国电影 离开今天 请 就是将这个原件先拿出来,这样摆成一块一块一个方正一个方正的 这样摆好,由此类推类推,将其他的也这样一块一块的找出来摆好, 到时再将他根据电路的走线再把它挪进这个板子里面,再仔细的去安排他的位置, 最后布线就形成一块电路板。今天呢 视频就分享到这,他生成,他摆好之后变成这个样子, 我们一块一块摆好之后 就大概变成这样,一个方针一个方针了,到时再将这些软件一个一个往里面挪,根据电路的布局往这里面放,放好了之后再布线。 好,谢谢大家。

knowing consecrate simulations of your hardware code is highly important in fact when creating complex designs and engineer is spending about 70 percent of their time in simulating their hardware code and 30 percent when doing actual hardware implementation my name is grady i'm with simply in beta and today i'm going to show you how to use vivada simulator and create a test bench in varial gauge tail, so let's get started before we start if you're new to fbj programming check out this card right here to learn more about how to get started with fbj programming assuming you're new to this youtube channel consider subscribing and make sure you ring the bell to be notified about future video uploads if you like this video hit the like button now let's get into the tutorial before we can simulate anything we need to create a design that can be simulated in the first place we would design an rgb led indicator for a sensor and we will use vivada simulator to testicode rtb leds a package of three leds red green and blue so if your development port doesn't have an rtb led you can use three regular leds instead also our input won't be an actual sensor we will use switches instead anyways let's design disindicator first, we will create a through table and map in every combination of the switches when the value of switches is less than four in binary the rgb led will indicate with red color if the value of the switches is greater or equal to four and less than ten in binary the rgb led will indicate with blue color last if the value of the switches is greater and equal to 10 in binary the output is green for now i'll give you minimize equations for each color if you want me to do a video on how to minimize to do a logic equations using different techniques such as k maps let me know in the comment sections below if there's enough interest on this concept i'll create a video on it other than that let's continue with the tutorial create a new project and name it rgb indicator now instead of manually typing out your inputs and outputs you can define the io ports in the defined module window so you can go ahead and type switch here make it a bus from 3 to 0 you will also need 3 outputs red green and blue then press ok now we can go ahead and write the minimized equations into our verilog code assign red equals 2 not switch 3 and not switch 2 do the same thing for blue and green based on the minimized logic all right we have finished our verilog module and let's simulate it now to create a simulation file right click consumulation source folder and select add sources select add or create simulation sources create a file and name it as test bench press ok here and then yes open up the test bench file you created for any test bench file i create i like to copy all of the inputs and outputs from the module i want to simulate since the test bench won't be synthesized it won't have any inputs and outputs since those already exist in the top model now you can paste the code here every input will need to be turned into a register or a rag in verlog it register retains its values until a new value is assigned to it which means that a value can be stored in it a register can be synthesized to a flip lob latch or a combinational logic i'll be talking about this in the future tutorials all the outputs will be turned into test wires unlike registers wires don't store values and act as simple wires that can have values assigned to them you can only initialize registers so initialize the switch to zero by writing equal zero after switch changed to commas to semicolons think of the registers as inputs and wires as outputs only in the test bench model this will not be the case in actual design source files which i'll show you in the future now let's create a unit under test uut essentially this is a wrapper that will tie the inputs and outputs of the verilock file we're simulating to the registers and wires and the test bench file the synth export is as falls dot switch this one is from the top module print this begin switch this one is from the register from the simulation file print this end and comma do the same for the outputs red green and blue although keep in mind the last one doesn't have a comma in the end you can also create a unit under test wrapper using a different kind of syntax in this case you need to know the order of inputs and outputs for the module being simulated so we can go ahead and type in switch from the simulation file red green and blue from the simulation file as well and that's it they just need to be in the correct and exact order for now let's stick with the first uut sentence we find an energy that we can use to change values of the switches in a loop an integer and verilogue is a register bus that is 32 bits wide continue with the sentix initial begin and end in between will be the code for what will happen with the simulation so a good practice is always to initialize your registers next create a four loop that will be awfully similar to what you're able to see and see programming since the switch's bus is four bits wide we only need to go through 0 to 15 to cover all the combinations for all the switches reality any circuit has a delay there is a delay from input to output in order to mimic that delay you can use hashtag and some number let's create a 10 unit delay now the time skill on the top will come into play the first values for reference time and the second as precision if the reference time is changed to 10 nanoseconds our simulation delay will be 100 nanoseconds for each time the program goes through each iteration of the for loop because the hashtag ten is multiplied by the reference time so ten times ten would be one hundred nine a seconds now you can say switch equals to k where switch will equal to any value that k is so every time you go through the for loop the value of k increases add finish to the end of your code so that the simulator knows when to finish now click run simulation after dissimulation opens up you can see all the elements used in the test bench file you can change how the values are displayed by right clicking on them choosing gratics and then onside destinal do the same for k if you double click on the untitle one tab the screen will get bigger if you want to do soon fit you can press this button or you can click on the simulation screen and hold the mouse button pressed and move the mouse toward top left corner and then release the mouse button currently the simulation goes to aid for the values with the switches you can keep running the simulation by pressing the play button to the right this one only keeps running the simulation for the amount of time specified in a box or until the test bench finishes the other play button will run the program infinitely or until the test bench finishes now let's analyze the data from the simulation we can see the time scale so if i click between 0 and 2 we can see that the change in time is 100 nanoseconds just as expected because of the delay we can see that there is an output one for red when the switches are 0 to 3 there is an output for blue when the switches are 4 to 9 just as expected, but there is no output for green which means that we made a mistake let's go back to the top module let's analyze the green signal well, i can see that there is an ant sign which should be an or sign instead save the verilock file you don't need to click run simulation again instead press relaunch simulation the circular arrow button you can run the simulation for another 900 nanoseconds now the green output signal has appeared as we expected also if you want to zoom into a specific area you can hold the left mouse button and then drag to your right to zoom into a specific area or you can use the zoom in and zoom out buttons on a toolbar now that we have verified that our code works as expected in this simulation go ahead and critic constraints file if you haven't done that yet make sure you have filled out text to see file properly then turn it bitster program the bitsrim to your board and test the design of the board you should see red blue and green light based on the position of the switches keep up the good work and see you next time。

小伙伴们,这次课程完成按键控制 led 灯工程的代码编写,这节课程会用到按键消抖模块和一秒流水灯的模块,这些模块都是在前面的课程中讲过,所以这里我们会直接采用调用模块的方式进行。如果有的伙伴是第一次听咱们的课程,可以看看前面的内容, 打开软件新建一个文件,新建文件的详细流程在前面的课程中也讲过,这里就不再重复。在 sources 下面点击加号,在 its sources 面板下把按键消等模块添加进来,第一个底层模块就完成了。 接下来完成一秒流水灯和一秒跳转灯的底层模块,这两个模块也是之前学习过的内容,大家也可以直接调用之前的文件,这里采用新建的方式,代码细节就不再讲解了。新建文件命名为 water, 这是一秒 流水灯的代码就完成了。同样的还有一秒跳转灯的模块,同样新建一个文件,命名为 jump。 一秒跳转灯和一秒流水灯代码基本是一样的,只是在输出的时候一秒跳转灯是一位,而一秒流水灯是取反。 可以直接把一秒流水灯代码复制过来,记得改一下名称,另外初值就不是亮一个灯,这里可以改成四位拍 b 零一零一一秒达到后进行取反。以上按键消抖,一秒跳转灯和一秒流水灯模块已经建立好了,接下来见。顶层模块匿名套 top 模块下包含两个按键消抖,一个 water 和一个 jump, 这里就可以把底层模块力化到顶层模块中。顶层模块同样有时中复位输入,这里是输入两个按键输出,这里输出的是四个 led 灯。以上是顶层模块的输入输出,把底层模块依次力化进来。首先是按键消抖, 按键消抖这里是包含了两个模块壁画,第一个壁画在前面也有详细讲解。需要注意的是, p five 信号需要在定义一下,把两个按键消抖后的有效信号进行定义,还需要表明这是第一个按键,同样接出来的信号是 flag 一,这是按键一的按键消抖,同样复制一次修改相应的参数即可。 保存后,大家可以看到 top 模块下包含了 p 一和 p 二,相当于 p 这个模块被重复调用了两次。同样地把 water 和 junk 力化进来, 同样的也需要在顶层模块中定义。把 water 和 jump 电话进来后进行保存。 大家可以看到 top 模块下已经包含了四个底层模块。

接上一节课,新建一个上层逻辑文件,数码管工程的模块框图是什么样子呢?来通过图例给大家演示一下。首先是一码,它是一个比较底层一点的逻辑,一码外面包含了比较上层一点的逻辑,也就是数码管模块。 一码过程主要是将十进制转化为二进制输出,所以这里有一个 number 的输入端口,然后有一个 seg, 就是八位未选的一个输出。 在本案例中,静态数码管模块,实际上它的这里是不需要任何输入的,有什么输出呢?八位未选输出,八位段选输出和四位未选输出,八位未选输出七到零的 seg, 下面是未选输出,一共有四位三到零的 dig。 一码模块的输入输出分别是输入 number, 也是三到零的位宽,输出的是七到零位的数码管端选。这里我们写的是小写的 seg, 我们说的立化其实就是连线的方式,这里的 number 不需要连任何的数据,要给它传什么数据,那后边就写成数据就可以了。 seg 就连 seg 输出出去 number 我们对应给到一个高低电瓶,就能实现它的一个静态显示。 模块框图绘制完了以后,我们同样的来这里编写他的一个输入输出端口,我们说他的静态显示实际上是不需要任何的输入端口,所以这里呢只有一个输出端口,输出的是三到零的四位未选输出 dig, 再去输出数码管的八段断选输出 seg, 养成好的习惯,注视一下。 接下来把一码底层模块例划到数码管模块当中来,根据我们刚刚所绘制的模块框图进行连线 number, 不用连任何的线,你想让他显示什么就传什么就可以了。我们可以给他传一个数字六 s e g 断选,我们连到这里的段 换选输出过来以后,同样要对 d i g 进行复制,用个三 d i g。 我们这里是使用到的一个共音级的数码管,所以是未选式给零亮起来,这里四位一撇臂零零零零,让四个未选全部亮起来, 对应的数码管上会显示四个六,如果要显示三个六,把这里改为四位一撇 b 零零零幺,那么最后一位位选不会被点亮。这里我们让数码管显示四个六。把所有的模块进行保存后,大家会发现在数码管的文件下边包含了一码文件。以上静态数码管显示工程就完成了。

关于 led 灯具的驱动,以上我们利用好几集分享了阻溶降压驱动的原理图,这一集我们和大家共同分享阻溶降压驱动电路的具体工作原理。 朱蓉酱呀,所用到的就是这俩家伙,这俩家伙一个是店主,一个是店蓉,就从他们上面起的名字,朱蓉 降压把他俩并到一起,变成了组成降压的主要原件。另外还需要蒸馏嘞,蒸馏,蒸馏,我们用的是蒸馏桥,一般用的是蒸馏桥。对集成电炉 最常见的就是这个分离,原先的是个一关,两个正极相连接点燃的负极,两个负极相连接点燃的正极,再有白缺的这一段是二 机关的负极,但是他接点燃的政绩一定要注意,化成电路图就这个样子的正负,带短线的是负,这里是维权额, 简单的话就画成这个样子。这种分离远见的整六桥使用的很少啦,因为他每一个零件都是单独的, 还要费人工,费劲去给他插到电路板上,还需要去焊接,很麻烦。我们知道二十一世纪最值钱的就是人才,你这还打工呢?哥们姐们,他们也都是人才啊,他们工资还蛮高,听说那就浪费人才了,怎么办呢?咱们家 请工程师想办法把他们封装起来,其实封装起来也很简单,他封装成的就是这个样子,里面人家我们根本看不到,他就集成电路,就把这四个 集成在一起,形成这样的集成快蒸馏堆怎么弄呢?咱们举个例子,就是把这四个家伙引出来四根线,用一个绝缘的泥巴给他蒙上,给他呼起来,只要露出来这四根线就可以了,有没有绝缘的泥巴?没有捏,这世界上啥玩意都有, 如果他做的足够小,那就能结成这样。他还需要绿波呢,绿波需要这家伙,这称为绿波电容,他也是电容,无急性,我们称为固定电容。他也是电容,但是他有急性。白色的这一面上面打有短线,是负极。 奶奶心的长腿是正极,上面是正极。在电路图当中画一个圆圈子,有半个阴影,也表示负极,你看中厚不中厚?电路图具体十五,还有电路板上的印都告诉我, 我们拿着这个拿付。但是还有一些同志不把这两个政府机搞错,你看有意思吧?同志们,他们组合成电路来推动 led 等电路图我们已经划过了,就长这个样子。我们主要分享左侧这一部分,交流部分,蒸馏部分。 吕布啊,那这俩就是他俩并联的,画在电子图里就是这样。那这个整六条腿呢?我们不说集成块嘛,集成块就画长方形,正方形就行,只要画出来四条腿,认准正极腹肌 就可以了。那换成他就买好电节,电容就是在这。到底他的工作原理是什么呢?初级部分是交流,他的波行是交流电的,波行引入的都是二百二十分的交流电, 他是五十赫兹。五十赫兹是啥意思?就是在每一秒之内,这两端的正负极性一正一负,一正一负 五十次变化,所以他是九流电。在五十分之一秒这个时间内,我们加上上段是正极,下段是负极,上段是正极。近来这个二级怪单相早点通不过去,那就往这通,往这通通通 啊。这样,然后经过用电器回到腹肌,回到腹肌,再向这走。还是这样走, 回到上面往左走,走不通,因为他是正那,这路走不通,势必要走这路,走这路要来了来了。但是走到这之后,他会往左走,往左走,那就走这,走到这给电容 c 一充电,阿姨是电容的消防电阻,反过来, 下面正,上面负,下面正,就是这样来,他走不通。走走走,走走,走不通,然后通过用电器进入腹肌,再往这走,他是正的,走不通,那是比走这边向上来那个整流桥就把他整成直流,他的波形是这个样子, 但是他还不是平直的。不是平直怎么办?咱们加一个绿波电容给他。绿绿波,绿波之后就平直了嘛,还不是他接近之流。 那就把这个九六部分再滤出一些滤网吗?这个电容的容量越大,这个锯齿性的越平直, 他就非常接近直流了。有直流点就好办了。那政绩,过来走吧,这能不走?咱四百七十开走不通,你阻碍能力太大了,一地鸡毛当路。那咱就从这走,从这走 走就行。你只要从这走,这些二级拐他不就亮起来了吗?你这个左容降压没降压,如果后面有断路电,接电容的两端电压高达三倍多幅,如果这个 这设备说的不就很容易炸吗?降压了吗?没降压还省呀,怎么降的呀?都是被人忽悠的。只不过我们就说惯了, 祖宗降压驱动,那就祖宗降压来到底祖宗降压驱动好不好?便宜啊?灯泡闪烁,刺眼不?刺眼,不经过验证,我们不能被商家忽悠,我们以后通过验证再给大家详细说明。

进入静态数码管的工程,上节课我们讲过,无论是实现数码管的静态显示还是动态显示,他的底层的逻辑都是一码。所以说我们在实现的时候是要先从线上设计过程,我们要先把底层的逻辑搭建好,这里我们先去建立一个一码的模块, 这个一码模块呢,主要就是将十进制转化成二进制,有一个特定的输出,那为什么要把它转换成八位二进制呢?主要是八段数码管去构成,那他每一段对应给到他一个高低电频对应的,就可以控制点亮、熄灭数码管来显示我们需要的数字了。这个一码的过程呢, 它是一个组合逻辑,提示一下,一马和编马都是组合逻辑,我们之前讲过,组合逻辑是不需要涉及到时钟复位,既然要一马一马出来是对应的二进制,就是说是这个数码管八段对应的显示,数码管输入 显示的是零到九的数字,我们只需要去一零到九的这十个数字,十个数的话我们给到的位宽四个就够了,所以这里是三到零的 number。 接下来是输出,输出的是数码管对应到八段,每一位它对应的高低电频就对应了每一位数码管的每一段,八段数码管对应段有八个阴角,所以这里输出的是七到零。 这里是一个组合逻辑。这个 always 敏感信号量表里面以前给大家讲到触发方式有边沿触发和电频触发,边沿触发一般用在实序逻辑中,电频触发一般用在组合逻辑中,组合逻辑一般用新号来代替,那这里我们就直接用一个 case 语句,那这里 case 谁呢? case, 这个 number 完善一下模块加 and case, number 有哪几种可能呢?四位一撇第零,这个是数字零。继续操作,四位一撇第一,四位一撇第二,四, 四位一匹第三,四位一匹第四,四位一匹第五,四位一匹第六,四位一匹第七,四位一匹第八,四位一匹第九。 数字零到九,一共就有这么多可能,对应的一个输出 side 等于八位一撇 h, 因为这里输出是 red 类型,上面这里加上 red, 那对应的数字的一码,大家可以自己下去一码一下,我这就不一一带着一码了,把之前一码的内容复制过来。以上就是我们一码出来的数字, 这里我们使用的是组合逻辑,组合逻辑当中之前我们讲过,如果说使用某些语法使用不当的话,它有可能会产生所存器。产生所存器一共有两种原因,写 if 不写 else, 写 case 不写 default。 我们这里 case 使用的是 number, number 一共有四个未宽,四个未宽的话一共会有十六种可能,但是我们现在只写了十种,所以这里需要把 default 给加上,不然的话它 会生成所存器,我们可以让它等于 f, f 以上我们就完成了静态数码管显示的底层逻辑文件,这个底层逻辑呢就是一码过程,既然要实现静态数码管显示,所以说我们还要去建立一个上层逻辑文件。下一节课继续讲解。


大家好,最近呢,在研究怎么用 f p g 纯玩儿 log 实现图像的 shift 特征点提取, shift 图像特征点提取这一块的算法呢,使用频率呢,我用的是二百五十兆, 但是呢,代码工程 dna 呢,实习尾例的问题呢,一直没有得到很好的控制。实习尾例的引起的原因呢,主要是 dsp 的资源使用率太高,我的工程呢,用到了六百二十五个 dsp, 占整个 ipg 的资源呢,百分之六十九了。还有对图像卷接的一个结果呢,也就是六百二十五贝特的数据的一个求和这块引起的。 这个图呢,是逻辑资源的一个布局布线图,红色的呢,是 dsb 的一个逻辑资源分布,白色的线是六百二十五个二十四位数据的一个求和的一个布线。 在尝试解决这个问题的过程中呢,也尝试了很多方法,包括用那个 p block 插入触发器,还有修改模块的代码。但是呢,我始终没有降低这个时钟频率, 因为呢,我的工程设计呢,最少需要二百五十兆的一个时钟才能处理 shift 算法所需要的一个计算量,所以呢,降低频率对我来说没有什么意义。整个工程呢,我用了 windows 和 linux 两个系统, 米花豆的版本呢,有二零二零点二和二零二三点二两个版本,平常呢,我设计开发呢,是在 windows 环境下用的,米花豆版本呢,是二零二零点二。 最近呢,由于需要了解 vtas 的 aie 设计,所以呢,我在另外一台电脑上呢,安装了一个 linux 系统,并安装了最新的米瓦豆版本, 也就是二零二三点二的版本。代码设计的一个基本功能呢,已经完成了一段时间,下载到硬件运行呢,也基本上没有什么问题,但是呢,工程的编译报告呢,显示一直有一些伪劣的路径, 在尝试解决这个实习伟力的过程中呢,偶然一次机会呢,我把这个工程呢放到了一个 linux 下,用那个比巴豆二零二三点二进行编译,哎,突然我发现这个实习伟力消失了,那个这个呢,也让我激动了一会, 我还以为这我自己搞错呢,不过呢,经过再三那个确认呢,我能发现那个这个实习尾翼呢,有解决方法了。同时呢,我也把整个过程给复现了一下,这个呢是一个最原始的一个工程 windows 环境下尾巴的版本呢是二零二零点二, 你看它的持续呢一个,这是一个最差的一个路径,这是所有路径的一个总和。 dsp 呢,我们用了,呃,百分之,占了百分之六十九,我们总共呢用了六百二十五个 dsp, 这个 ipg 呢,总共有九百个电视信。这是 windows 环境下 vivodo 二二零二二零点二的版本变异的一个结果。我们再看一下 ladygood 环境下,这个呢是 ladygood 环境下变异的一个结果,这个 vivodo 版本呢是二零二三点二。 哎,你看这个实际还挺好,资源都是一样的。我们再看一下这个,呃, windows 环境下这个里挖豆二零二三点二的一个变异结果,你看他的变异结果呢,还是不是很好?


when you look at an industrial control panel wiring diagram despite how many pages they include they most probably consist of two sections one is the power or main circuit and the other is the control circuit in this video we're going to turn this control circuit into a plc control circuit and draw the whole wiring diagram using e plan which is an electrical cat software then you learn how to convert this electrical wiring diagram into a plc program the logic behind this electrical diagram is this conveyor system which is designed to move some palettes toward a check varier machine for that it is equipped with a three phase electric motor sometimes the operator must stop the conveyor and sometimes turn on the conveyor in the reverse direction to move the palettes backward actually this is a forward reverse motor control system or clockwise and counterclockwise control system it is possible to implement this mechanism without the plc, but as you may know these days even for small sized processes we use plc systems to control all of the mechanisms in the process reduce the cabling works and have more control over the process now it's time to take a look at the old electrical diagram and turn it into a plc based wiring diagram there are lots of electrical cats software such as automation studio, autocade, electrical iplan and so on, but in this video i used iplan to draw the wiring diagrams let's draw the main or power circuit as this is the common circuit within the old and plc wirings in this chapter you'll gain some basic information about how to drive wiring diagram with iplan as you see on the lift pane, i have already created a new project first, i need a symbol for a three face circuit breaker with thermal and short circuit protection instead of drawing the symbol of this specific standard device by myself i can access a quite complete library of the symbols by easily clicking the insert menu and then click on the symbols sub menu there are different libraries according to different standards i open up the iec symbol folder and then choose the electrical engineering subfolder i click over the protection device and here i should search for a three phase disconnector switch and here it is i choose it and tap okay after i insert the device, i should adjust the parameters other devices we need are two contactors one for forward movement and the other for reverse movement i just need the contacts of a contactor here and we'll use their coils on the control firing diagram as you see when i want to place the contactor under the seeker breaker the suffer automatically connects them i place them here and here i also need some terminals i need four of them and i place them one by one now i need a three phase motor symbol to add to our circuit i find it under power consumers and place it as well the final action is to connect the mainspower and the contactors so here i should choose the interruption, point, icon and insert three arrows corresponding to the three phases of the mainspower i named them l, one, l two and l three there are some angled and t connections on the right hand side toolbar helping to connect the devices to connect the three phase power to the circuit breaker i need this one okay now we have power on top of the switch to connect the reverse contactor i have to change the order of two phases and connected to the output connections of the forward contactor in this way as we'll see see later in this video the turning direction of the three phase motor will be changed as you see i changed the order of the l one and l three i also have added a pe connection to the motor so we have done with the power section of the electrical drawing to save some time i've drawn the controlsickers beforehand this is the old wiring diagram and this is the plc wiring diagram this power circuit is applicable in both systems without any changes so now let's compare the two control systems wiring diagrams step by step, we have a video on how to read electrical wiring diagrams i suggest checking out that if you haven't already seen it as it helps you to get a better understanding of industrial wiring techrums here when we push the forward push button the coil of the k one which is the forward contactor will get energized and at the same time the cave once normally open auxiliary contact would get closed to keep the circuit closed and maintain the power to the contactor's coil after we release the push button the same thing will happen to the reverse contactor this time as the order of the two phases has been changed when the k two contactor gets energized the rotation of the motor will be reversed to prevent the contactors from functioning at the same time their nc auxiliary contacts have been considered on the opposite circuit this is an nc contact from the power for circuit breaker which cuts the power from the control circuit in case of overload or short circuit therefore to keep the motor safe the run commands will be removed from the motor immediately by pushing the stop push button as it has also a normally closed contact we can turn off the process manually so far we saw that everything was hardwired but in the plc control systems things are a little bit different the plc will replace and carry out the function of some of the hardware interlocks based on the software that we were right in the rest of this video therefore i've updated the control wiring as you see this page shows the plc digital input card and the input signals that are wired to that this page shows the plc output card and the signals that exit from that let's compare these two wearing diagrams on the same screen at the first glance, the input devices are more or less the same the n o context that we have used for maintaining the power after releasing the start push buttons are no more of use instead as we'll see the software will turn from their function the software will also fulfill the function of these two contacts here we have the output devices like contactor coils that are connected to the plc digital output card and these are the signal lamps of the push buttons now it's time to ride the plc software as always i used the seamondstia portal and if you want to learn more about that you can easily find the links to the relevant videos in the description area as always, i first define the tax and attack table the first four of them are inputs and the last two are the outputs to the contactor coils as you learned in previous videos i should add an sr flip flop for our electric motor i'll add one for our forward movement to network one i'll add another one for a reverse movement to network two i then add the forward push button to the set input of the forward flip flop, i also add the stop push button to the reset input of the flip flop as the stop push button is a normally closed contact i had to add an nc contact for that you can watch this video to get a better understanding of n o and nc contacts to stop the motor in case of false i add the nc contact of the cica breaker to the stop input as well to save some time i've done the same things to network too now i should add the software interlocks to replace the hardware we had a metre from the old wiring techrim if you remember we had a retainer contact to keep the power on the coil of the contactor after we release the start push button the sr flip flop will do the same thing for us and latches the start command on the contactor therefore we don't need to add anything to our software in these stems in case that the motor is running in the forward direction and the operator pushes the reverse push button the motor should not show any reaction in other words the operator should fares to stop the conveyor and then run it in the opposite direction to do that i have to add an nc contact of the q zero point one to the start input of the flip flop in series with the forward push button and of course i should add the nc contact of the q zero point zero to the start input of the fleet flop in network ii all right now think about how and then to turn on the start and stop lamps of the push buttons and share your answers in the comments in a future video you will learn how to wire the actual electrical devices of this process downloading this suffer to the plc and simulate the process i really hope you've learned something new from this video if so please like and share this video with your friends colleagues or your students thank you for watching。
