1

关于投票
linux'short cut---link

对应中文版:    http://blog.ednchina.com/likee/100229/message.aspx

 

As known to all of us that under the windows ,There is many “short cut” to use. On the contrary, Is there anything corresponding under the linux? If has, What is it ?  The answer is :of course have! That is “ link ”, “Link ” has many functions , it can separate to two parts: hard link and symbolic links.

一、Hard Links

From the last chapter , we know that, Before to read a certain file, the linux will first to read inode table. Only in this way , can the linux know where to load information. Of course , these informations are recorded in inode table . than the linux will follow the information in the inode and load the data from the block area to utilize.

Hard link is to establish a inode which called block .the inode is linked to this block. This means mapping. In this process,the real filesystem is not changed. So ,you can use either formar inode or the new inode to search .they can both point to where the filesystem is ,they are all the same. But it can cause problems. Because the inode can link to the block area , while the directory only use up the inode. In this way , hand link can not link directory. All in all , the Hard Link has some limitations:

1、  can not go beyond filesystem ..because all filesystems have their own inode table.

2、  Can not link directory.

二、symbolic Links

What is different with hard link is that: the symbolic will establish a independent filesystem .

So the filesystem will link the database to the file test. So if the format file is deleted , the symbolic links do not know where to link . so the symbolic links can not be opened .shown as: can not open the file…

Which link is much safer? In a way, hard link is much safer,because it has two inodes. If one of them is killed , if only one of them exists , the file will exists.but we know that hard link has many limits. So on the contrary, the symbolic links are more popular. For example:

Let us establish a fold named test under /root:

点击看大图

 

After establish the hard link , the information is as follows:

 

After establish the symbolic link ,the information is as follows:

 

Delete the former file ,the information is as follows:

 

 

PS:

If there is no parameter, the defalt mode is hard link . described as above , after adding hard link, we discover that the attribution in link is added . what will happened when we kill the “passwd” now? If so ,the content of the passwd-hard will not changed .but the passwd-soft will not find the file.

If we use the attribute “-s”,this is much like the short cut in windows. But we must notice that,there is a defference between the two: In windows ,you can change the content of the short cut freely. This is very safe.bacause the formar file will not changed . but in linux, when you change the attribution of the link, the formar file will be changed follow the link.

For example :

ln –s  /bin/root/bin

if you enter the directory of /root/bin, if we change any of the file , the file of /bin will changed too! So we can say that , not all of the things under the /root is belonged to it. We still need to notice its sttribution!

 

 

 

 

系统分类: 嵌入式
用户分类: 专业英语
标签: linux link
来源: 原创
发表评论 阅读全文(231) | 回复(0)

11

关于投票
Switching Power Supply (二)

            

中文版:   http://blog.ednchina.com/likee/98420/message.aspx

       Tandem Switching Power Supply

In the last capture(http://blog.ednchina.com/likee/97144/message.aspx)We know that in the basic power_transfer circuit,with the input vlotage fluctuating or the load changed,the output voltage will increase or decrease correspondingly!Now in order to make the ripple of the output vlotage as low as possible and the output voltage as stable as possible,what measure should we take?

We know that:

            Uo = qU1.

So, if we decrease the dutyfactor when the Uo increases, and increase the dutyfactor when the Uo decrease.the output vlotage will much stabler. So as a IT member, It is not so hard to user negative feedback to solve this problem.We use the sampling vlotage of Uo via feedback to control the dutyfactor of the uB. In this case , Tandem Switching Power Supply appears.

Tandem Switching Power Supply includes compensating pipe,swhich drive circuit,sampling circuit,triangle generate circuit, reference voltage circuit,compare-amplifier circuit filtering circuit and so on.

The basic circuit is as follows:

点击看大图

 

In this circuit,bacause all of the switch and the filtering circuit have no consumption,So it also abey the formula:

Uo = qU1.

 

 

                 Parallel Switching Power Supply

In the Tandem Switching Power Supply,The compensating pipe and the load is in series,so the output vlotage is always less than the input vlotage,So it also named as Buck Switching Power Supply.But in application,we need to make the direct current supply output rise above the input.so it named boost switching power supply.In this part of circuit,the compensating pipe and the load is paralleled,So it also named Parallel Switching Power Supply.Because the inductance can store the power,and the circuit add this voltage and the input voltage together to the load,So the output vlotage is larger than the input vlotage.

The basic circuit is as follows:U1 is the  input vlotage, transistor T is the compensating pipe, uB is square wave. Inductance  L  and the capacitance  C  consiste of filtering circuit, D is the fly-wheel diode .

点击看大图

 

The state of T is controled by uB,when the uB is high, U1 can electricize the L ,and the charge current almost lineary increase. The direction of the current is as the arrow in the circuit.When the uB is low , T is cut off. L generate the induced electromotive force, whose direction prevent the change of the current.So it is the same with U1,the two voltage added up together to electricize capacitance C via D.the equivalent circuit is showed as (c), so inspite of the state of the T and D,the direction of the load current will not changed.

Note that only if the L is large enough,the output voltage is higher than the input voltage. And only if the capacitance C is large enough,the ripple of output voltage is low enough, when the period of the uB is fixed , the larger the dutyfactor is ,the higher the output voltage is .

 

   

系统分类: 模拟技术
用户分类: 专业英语
标签: 开关电源
来源: 原创
发表评论 阅读全文(672) | 回复(2)

39

关于投票
AD工程师谈DDS及应用(翻译)

doc

由likee翻译,由于水平有限,如果有哪些地方不恰当的,请给我留言,谢谢!

系统分类: 专业英语
用户分类: 专业英语
标签: DDS
来源: 原创
发表评论 阅读全文(3483) | 回复(7)

15

关于投票
推荐一个学习专业英语的好网站
很不错哦!很全面,还可以查各种词组~~~
系统分类: 专业英语
用户分类: 专业英语
标签: 专业英语
来源: 原创
发表评论 阅读全文(1512) | 回复(0)
总共 , 当前 /