文档库 最新最全的文档下载
当前位置:文档库 › 宠物定时喂食器设计中英文翻译

宠物定时喂食器设计中英文翻译

宠物定时喂食器设计中英文翻译
宠物定时喂食器设计中英文翻译

The digital temperature sensor of DS18B20

The digital temperature sensor of DS18B20, This product uses the American DALLAS company's DS18B20 network digital temperature s ensor chip package. b ut become wear-resistant touch, the physical volume is small, convenient, packaging form is varied , Suitable for all kinds of narrow space in digital temperature test and control field equipment.

Unique 1-Wire TM interface requires only one port pin for communication. Multidrop capability simplifies distributed temperature sensing applications, requires no external components, Can be powered from data line. Power supply range is 3.0V to

5.5V, Zero standby power required, Measures temperatures f rom -55°C t o+125°C. Fahrenheit equivalent is -67°F to+257°F,0.5 C accuracy from -10°C to

+85°C, Thermometer resolution is programmable f rom 9 to 12 bits, Converts 12-bit temperature to digital word in750 ms (max.).User-definable, nonvolatile temperature alarm settings, Alarm search command identifies and addresses devices whose temperature is outside of programmed limits (temperature alarm condition).Applications include thermostatic controls, industrial systems, consumer products, thermometers, or any thermally sensitive system.

1、the description oftechnique function:

1)Single-line interface is unique, DS18B20 while linking with microprocessor o nly

need a line can immediately carry out the double of microprocessor and DS18B20 toward the communication.

2)measure scope-55 ℃ ~ +125 ℃ , proper measure resolution's 0.5 ℃ .

3)support several set nets function, several DS18B20 can merge at unique three

on-line, the most can merge 8, if amount was excessive, it would make power supply the power electric voltage over low, result in thus the signal delivers of unsteady, the realizations order to measure more

4)work the power:3~5V|DC

5)don't need any outer circle component in the use

6)measure the result measure a way string with 9~12 numbers line transmission

Φ 6

7)stainless steels protect to take care of diameter

8)be applicable to DN15~25, DN40~ DN250 various equipments that lie industrial

piping of quality and narrow and small space measure

9)standards install the thread M10 X1, M12 X1.5, the G 1|2 term chooses

10)PVC electric cable direct the line or virtuous type ball type connect line box line, the

easy to and other electric appliances equipments links.

2、Application

1)products are applicable to cold storage, food Cang, keep a bottle,

tele-communications engine room, electric power engine room, cable slot etc.

measures moderate control realm

2)stalk tiles, urn body, the Fang machine, the air condition, waits industrial equipments

of narrow and small space to measure a moderate control.

3)car air condition, refrigerator, cold cabinet, and medium low temperature dry box of

etc.s.

4)provide hot|make cold piping calories to calculate, the central air condition divides a

thermal energy to calculate to measure a moderate control with industrial realm

3、Product model number and specification

type temperature range install thread electric cable length apply piping

TS-18B20-55~125no 1.5 m

TS-18B20A-55~125M10X1 1.5m DN15~25

TS-18B20B-55~1251/2G Connects line box DN40~ 60

4、Connect line instruction

The characteristics special front line connects, needs a line to correspond by letter

to order more ability and simplified a distribute type the temperature spread the feeling

application didn't need an external component to use data total line power supply, the

electric voltage scope has never needed to provide for use the power diagraph

temperature scope for the 3.0-5.5 Vs BE-55 ℃ to+125 ℃ .The Fahrenheit is equal

10 ℃ go to+85 ℃ accuracy inside the scope is ±0.5 hence-67-257 Fahrenheit degree-

The temperature s preads a feeling machine's p rogrammable r esolution to convert

into 12 number formats for 9~12 temperatures b iggest be worth to 750 a milli- of

second the customer can define of not and easily lose sex temperature to report to the

police to establish a n application to include a constant temperature c ontrol, industrial

system, consume electronics product thermometer, or any hot sensitive system

The number thermometer that describes the DS18B20 provides 9-12(the

programmable e quipments temperature r ead a number. The information is disheveled

hair to send to connect through a line from the DS18B20, so central microprocessor and

DS18B20 only have a per line conjunction. For read and write and the temperature

conversion can acquire energy from the data line, don't need to circumscribe the power. Because each DS18B20 includes a special ordinal number, several ds 18 bs 20 seses can be existed to a total line at the same time. This makes the temperature spread a feeling machine to place in many different places. I ts use is a lot of, include an air condition environment control, detect equipments inside the building or machine, and carry on process monitor and control.

The DS18B20 internal structure mainly constitutes to from the four-part cent: 64 temperatures that only engrave ROM and temperature to spread a feeling machine and don't vaporize report to the police to trigger a machine TH and TL and allocation to deposit a machine. While equiping signal line Gao, the internal capacitor stores an energy from a line and corresponds by letter circuit to the film power supply, and at low electricity even period for film power supply until next Gao Dian Ping's arrival refreshes .The power of the DS18B20 can also.5V electric voltages get from 3 Vs-5s in the exterior.

The DS18B20 adopts front line correspondence to connect. Because the front line correspondence c onnects, have to previously complete ROM enactment, otherwise memory and control function will can not use. Mainly provide following function to

order any first of a:

1)read ROM

2)ROM match

3)search ROM

4)jump ROM

5)report to the police a check.

These instruction operation the function has no 64 sequences that only engrave ROM of a spare part, can be hanging several s pare parts on the front line to make selection a certain spare part, at the same time, the total line can also know always on-line hang how much, what kind of equipments.

If the instruction successfully makes the DS18B20 completion temperature measure, the data saves in the saving machine of DS18B20.The performance of a control function conductor designation DS18B20 measures. Measure result will be placed in the DS18B20 memories, and can let reading to send out the conductor of remembering the function, reading contents of slice ascend saving machine. The temperature reports to the police to trigger machine TH and TLs to all have one word stanza EEPROM data. If DS18B20

not the use report to the police to check instruction, these deposit a machine to be a general c ustomer to remember use. Still carry to there is allocation word's the stanza converting by ideal solution temperature number on the slice. Write TH, TL instruction

and allocation word stanza makes use of instruction completion that remembers function. Pass to slowly save a machine to read to deposit a machine. All datas read writing all a beginning from the lowest.

The DS18B20 has 4 main data parts:

1、only engrave 64 sequences in ROM are what factory front be only engraved likes, it can see make the address s equence that is the DS18B20 code.64 a lignments t hat only engrave ROM are: Starting 8(28 Hs) is the product type mark number, immediately after

of 48 sequences that is the DS18 B20 oneself, last 8 is 56 front circulating redundancy

schools to check code.(CRC=X 8+ Xs 5+ Xs 4+s 1)The function that only engraves ROM is to make each DS18B20 all each not same, so can carry out a purpose that is always on-line to hang to connect several DS18 B20s.

2、the temperature in the DS18B20 spread a feeling machine to complete the diagraph to the temperature a nd take 12 conversions as an example: The binary system expanding with 16 signs repairs code to read to count a form to provide, with 0.0625 ℃ |the LSB form express, among them, the S is a sign.

The saving machine o f DS18B20 includes high speed to temporary save machine RAM and can give or get an electric shock to wipe in addition to RAM, can give or get

an electric shock to wipe in addition to RAM includes temperature to trigger machine

TH and TL again, and an allocation deposits a machine. Saving machine ability the integrity really settle the communication of front-line port, the number starts using to

write the order of depositing the machine to write into deposit a machine, immediately after can also use order of reading to deposit the machine to confirm these numbers. After confirming can use the order that the replication deposits a machine can give or get an electric shock to wipe to transfer these numbers to in addition to RAM in. While once modifying to deposit the number in the machine, this process can ensure the integrity of number.

from the saving The high speed temporary saves machine RAM to constitute to°machine of 8 word stanzas; The f irst and the second word stanza are temperatures to show. The fourth Sha-ho word stanza is to make duplicate TH and TL, at the same time the fourth Sha-ho number of word stanza can renew; The fifth word stanza is to make

duplicate allocation to deposit a machine, the fifth number of word stanza can renew at

the same time;6, 7, 8, three word stanzas are calculator oneself use. Using reads that the

order that deposit a machine can read the ninth word stanza, this word stanza is eight

word stanzas to the front to carry on schools to check.

64 8 ex- oneself codes that is a DS18B20 t hat only engrave ROM, next 48 are a

continuous number code, 8 of end is to 56 ex- of the CRC schools check.64-the light of

engrave R OM and include the function order of 5 ROMs:Read R OM, match ROM,

jump up ROM, check to seek ROM and report to the police to check to seek.

The DS18B20 can use external power VDD as well as use the power in the living

on of inner part. When the VDD port connects the electric voltage with 3.0 Vs

~Vs-5.5ses is use external power; When the VDD port connects ground used the power

in the living on of inner part. No matter is an inner part to live on the power or an

external power supply, I|the O line want to connect a 5 K Ωto or soly and up pull

electric resistance.

Allocation's depositing a machine is the conversion that installs different number to

make sure temperature and number.

R1, the R0 is the decision of temperature, from the R1, the different combination of

R0 can install for 9, 10, 11, 12 temperatures show. So can know a different temperature

conversion to should of conversion time, four kinds of resolutions of allocations

distinguish to 0.5 ℃ , 0.25 ℃ , 0.125 ℃ and 0.0625 ℃ , factory take installing DS18B20 at factory with install for 12, read temperature t otally read 16, so the

empress is 112 enter make to convert into 10 enter make after at multiply 0.0625 is then

measure of temperature, also need to be judged plus or minus. Front 5 piece words are signs, current 5 is 1:00, read of temperature is minus quantity;5 is 0:00, read at present of temperature is plus quantity.16 numbers put from low to Gao Wei.

The instruction agrees on code operating instructions:

1)The temperature converts the 44 H start DS18B20 to carry on a temperature

conversion

2)Read to temporary save machine BEH to read to temporary save machine 9 word

stanza contentses

3)Write temporary and save the machine 4 EHs to write in a data temporary TH of

saving the machine and TL word stanza

4)The replication temporary saves t he machine 48 Hs temporary save the TH of

machine and TL word stanza to write E2 RAM

5)Re- adjust the E2 RAM B8's Hs write the E2 TH within RAMs and TL word stanza

to arrive to temporary save machine TH and TL word stanza and read that the signal that the B4 H start DS18B20 of the power supply method sends out the power

supply method gives lord CPU

The beginning of DS18B20 starts to turn.

1)place data line first Gao Dian Ping"1".

2)postpone(what the time request isn't very strict, but possibly a little bit shorter)

3)the data line pull a low electricity even"0".

4)postpone 750.(the horary time scope can from 480-960)

5)the data line pull Gao Dian Ping"1".

6)wait for while postponing(if is early to start to become an achievement then in 15-60

time inside produce a low electricity that is returned by the DS18 B20 even"0".Can

make sure its existence a ccording to the status, but should notice can not be

infinitely carry on waiting for, otherwise will make procedure get into to die

circulating, so control while wanting to carry on to be super).

7)if CPU read the data is on-line low to give or get an electric shock even"0" after,

while also needing to do to postpone time for it to postpones from send out of Gao

Dian Ping start to calculate to at least want 480.

8)pull data line again Gao Dao Gao to end after giving or getting an electric shock is

even"1".

As the simple structure, convenient installment, low loss and wide range of

temperature test, DS18B20 temperature test sensors are applied to the fields which needs

the multipoint temperature test, such as the chemical industry, the grain, the

environment supervision and so on. Because of the adoption of one bus in the DS18B20

multipoint temperature test system, a ll DS18B20 are hung on one bus, and then the

temperature conversion value of each test point is read by turns. As the conversion value

must be read after reading-pin state for 8 times, and position and store data must be

moved, so time spend much in reading one point of the data system by every time. If the temperature test system is large-scaled, the system loss caused by it is rather much, and

then the alternate test speed of the system decreases obviously, which influences the

efficiency of the multipoint temperature t est system s eriously. I n this paper, DS18B20

are hung on some I/O buses by grouping DS18B20 evenly, and the conversion

temperature data is obtained by reading the state of DS18B20, then the system loss

decreases and the alternate test speed increases obviously, which won’t i precision and the reliability of the conversion. A set of multipoint temperature test of

artificial environment laboratory is achieved in this paper, which increases t he test

efficiency of the former system.

DS18B20 is the single bus digital temperature sensor from American Dallas

Company. DS18B20 is consisted of the 64 figures ROM engraved by laser, the temperature sensitivity component, non-volatile temperature alarms trigger (Device TH and TL).DS18B20 communicates with the microprocessor by the single bus port and the test range of DS18B20 is from -55 centigrade to +125 centigrade, and the incremental value is 0.5 centigrade. The temperature can be changed into figures within 720ms and each DS18B20 has the sole 64 figures serial number. The specific content is revealed as Fig 1: There are two 8 figures storages (No.0 and No.1) for storing temperature value in DS18B20. No.0 storage stores complement of the temperature v alue, and No.1 stores symbols of the temperature value. The user can define non-volatile temperature alarms sets and distinguish the alarms search order and seek the component temperature alarms state outside the scheduled limit. There are two alternative ways of power supply: Signal bus high-level borrow power is adopted, or the +5v power supply externally is adopted directly.

DS-18B20 数字温度传感器

DS-18B20数字温度传感器,该产品采用美国DALLAS公司生产的DS18B20可组网数字温度传感器芯片封装而成,具有耐磨耐碰,体积小,使用方便,封装

形式多样,适用于各种狭小空间设备数字测温和控制领域。

DS18B20数字温度传感器,具有3引脚TO-92小体积封装形式;温度测量范围为-55℃~+125℃,可编程为9位~12位A/D转换精度,测温分辨率可达0.0625℃,被测温度用符号扩展的16位数字量的方式串行输出;其工作电源既可在远端引入,也可采用寄生电源方式产生;多个DS18B20可以并联到3根或2根线上,CPU只需一根端口线就能与诸多DS18B20通信,占用微处理器的端口较少,可节省大量的引线和逻辑电路。以上特点使DS18B20非常适用于远距离多点温度检测系统。

1、技术性能描述:

1)独特的单线接口方式,DS18B20在与微处理器连接时仅需要一条口线即可实

现微处理器与DS18B20的双向通讯。

2)测温范围-55℃~+125℃,固有测温分辨率0.5℃。

3)支持多点组网功能,多个DS18B20可以并联在唯一的三线上,最多只能并联

8个,如果数量过多,会使供电电源电压过低,从而造成信号传输的不稳定,实现多点测温

4)工作电源: 3~5V/DC

5)在使用中不需要任何外围元件

6)测量结果以9~12位数字量方式串行传送

7)不锈钢保护管直径Φ6

8)适用于DN15~25, DN40~DN250各种介质工业管道和狭小空间设备测温

9)标准安装螺纹M10X1, M12X1.5, G1/2任选

10)PVC电缆直接出线或德式球型接线盒出线,便于与其它电器设备连接。

2、应用范围:

1)该产品适用于冷冻库,粮仓,储罐,电讯机房,电力机房,电缆线槽等测温

和控制领域

2)轴瓦,缸体,纺机,空调,等狭小空间工业设备测温和控制。

3)汽车空调、冰箱、冷柜、以及中低温干燥箱等。

4)供热/制冷管道热量计量,中央空调分户热能计量和工业领域测温和控制

3、产品型号与规格:

型号测温范围安装螺纹电缆长度适用管道

TS-18B20-55~125无 1.5 m

TS-18B20A-55~125M10X1 1.5m DN15~25

TS-18B20B-55~1251/2G接线盒DN40~ 60 4、接线说明:

特点独特的一线接口,只需要一条口线通信多点能力,简化了分布式温度传感应用无需外部元件可用数据总线供电,电压范围为 3.0 V至5.5 V 无需备用电源测量温度范围为-55℃至+125℃ 。华氏相当于是-67到257华氏度-10℃至+85℃范围内精度为±0.5℃

温度传感器可编程的分辨率为9~12位温度转换为12位数字格式最大值为750毫秒用户可定义的非易失性温度报警设置应用范围包括恒温控制,工业系

统,消费电子产品温度计,或任何热敏感系统

描述该DS18B20的数字温度计提供9至12位(可编程设备温度读数。信息

被发送到/从DS18B20 通过1线接口,所以中央微处理器与DS18B20只有一个一条口线连接。为读写以及温度转换可以从数据线本身获得能量,不需要外接电源。因为每一个DS18B20的包含一个独特的序号,多个ds18b20s可以同时存在于一条总线。这使得温度传感器放置在许多不同的地方。它的用途很多,包括空调环境控制,感测建筑物内温设备或机器,并进行过程监测和控制。

DS18B20内部结构主要由四部分组成:64位光刻ROM、温度传感器、非挥发的温度报警触发器TH和TL、配置寄存器。该装置信号线高的时候,内部电

容器储存能量通由1线通信线路给片子供电,而且在低电平期间为片子供电直

至下一个高电平的到来重新充电。DS18B20的电源也可以从外部3V-5 .5V的电压得到。

DS18B20采用一线通信接口。因为一线通信接口,必须在先完成ROM设定,否则记忆和控制功能将无法使用。主要首先提供以下功能命令之一:

1)读ROM

2)ROM匹配

3)搜索ROM

4)跳过ROM

5)报警检查。

这些指令操作作用在没有一个器件的64位光刻ROM序列号,可以在挂在一线上多个器件选定某一个器件,同时,总线也可以知道总线上挂有多少,什么样的设备。

若指令成功地使DS18B20完成温度测量,数据存储在DS18B20的存储器。一个控制功能指挥指示DS18B20的演出测温。测量结果将被放置在DS18B20内存中,并可以让阅读发出记忆功能的指挥,阅读内容的片上存储器。温度报警触发器TH和TL都有一字节EEPROM 的数据。如果DS18B20不使用报警检查指令,这些寄存器可作为一般的用户记忆用途。在片上还载有配置字节以理想的解

决温度数字转换。写TH,TL指令以及配置字节利用一个记忆功能的指令完成。

通过缓存器读寄存器。所有数据的读,写都是从最低位开始。

DS18B20有4个主要的数据部件:

1、光刻ROM中的64位序列号是出厂前被光刻好的,它可以看作是该DS18B20的地址序列码。64位光刻ROM的排列是:开始8位(28H)是产品类型标号,接着的48位是该DS18B20自身的序列号,最后8位是前面56位的循环冗余校验码(CRC=X8+X5+X4+1)。光刻ROM的作用是使每一个DS18B20都各不相同,这样就可以实现一根总线上挂接多个DS18B20的目的。

2、DS18B20中的温度传感器可完成对温度的测量,以12位转化为例:用16位符号扩展的二进制补码读数形式提供,以0.0625℃/LSB形式表达,其中S为符号位。

DS18B20的存储器包括高速暂存器RAM和可电擦除RAM,可电擦除RAM 又包括温度触发器TH和TL,以及一个配置寄存器。存储器能完整的确定一线

端口的通讯,数字开始用写寄存器的命令写进寄存器,接着也可以用读寄存器的命令来确认这些数字。当确认以后就可以用复制寄存器的命令来将这些数字转移

到可电擦除RAM中。当修改过寄存器中的数时,这个过程能确保数字的完整性。

高速暂存器RAM是由8个字节的存储器组成;第一和第二个字节是温度的

显示位。第三和第四个字节是复制TH和TL,同时第三和第四个字节的数字可

以更新;第五个字节是复制配置寄存器,同时第五个字节的数字可以更新;六、七、八,三个字节是计算机自身使用。用读寄存器的命令能读出第九个字节,这

个字节是对前面的八个字节进行校验。

64位光刻ROM的前8位是DS18B20的自身代码,接下来的48位为连续的数字代码,最后的8位是对前56位的CRC校验。64-位的光刻ROM又包括5个ROM的功能命令:读ROM,匹配ROM,跳跃ROM,查找ROM和报警查找。

DS18B20可以使用外部电源VDD,也可以使用内部的寄生电源。当VDD 端口接3.0V—5.5V的电压时是使用外部电源;当VDD端口接地时使用了内部的寄生电源。无论是内部寄生电源还是外部供电,I/O口线要接5KΩ左右的上拉电阻。

配置寄存器是配置不同的位数来确定温度和数字的转化。

R1,R0是温度的决定位,由R1,R0的不同组合可以配置为9位,10位,11位,12位的温度显示。这样就可以知道不同的温度转化位所对应的转化时间,

0.0625℃,出厂时以配置为四种配置的分辨率分别为0.5℃,0.25℃,0.125℃和

12位。

DS18B20在出厂时以配置为12位,读取温度时共读取16位,所以把后11位的2进制转化为10进制后在乘以0.0625便为所测的温度,还需要判断正负。

前5个数字为符号位,当前5位为1时,读取的温度为负数;当前5位为0时,读取的温度为正数。16位数字摆放是从低位到高位。

指令约定代码操作说明:

1)温度转换44H 启动DS18B20进行温度转换

2)读暂存器BEH 读暂存器9个字节内容

3)写暂存器4EH 将数据写入暂存器的TH、TL字节

4)复制暂存器48H 把暂存器的TH、TL字节写到E2RAM中

5)重新调E2RAM B8H 把E2RAM中的TH、TL字节写到暂存器TH、TL字节,

读电源供电方式B4H 启动DS18B20发送电源供电方式的信号给主CPU DS18B20的初始化

1)先将数据线置高电平“1”。

2)延时(该时间要求的不是很严格,但是尽可能的短一点)

3)数据线拉到低电平“0”。

4)延时750微秒(该时间的时间范围可以从480到960微秒)。

5)数据线拉到高电平“1”。

6)延时等待(如果初始化成功则在15到60毫秒时间之内产生一个由DS18B20

所返回的低电平“0”。据该状态可以来确定它的存在,但是应注意不能无限的进行等待,不然会使程序进入死循环,所以要进行超时控制)。

7)若CPU读到了数据线上的低电平“0”后,还要做延时,其延时的时间从发

出的高电平算起(第(5)步的时间算起)最少要480微秒。

8)将数据线再次拉高到高电平“1”后结束。

DS18B20温度传感器由于其结构简单、安装方便、低损耗以及测温范围宽而

被广泛应用于需要多点测温的地方,像化工,粮食,环境监测等等。由于多点温

度测试系统采用的是单总线方式,所有的DS18B20传感器挂在一根总线上,然后轮流读取每一个测试点的温度转换值。由于读取单个传感器的转换值时需要读

8次管脚状态,并要进行移位存储数据,所以系统读取每一点的数据花费的时间

不小,如果测温系统规模较大的话,由此造成的系统损耗也是相当大的。从而导致系统的交替检测速度明显下降,极大的影响了多点测温系统的检测效率。本文

中,对DS18B20平均分组并挂到多根I/O线上,通过同时读取DS18B20的状态得到转换的温度数据,从而明显提高交替检测速度并降低系统开销,同时又不影响转换精度及可靠性。本文实现了一套人工环境实验室的多点温度测试,明显提高了原有测试系统的检测效率。

DS18B20是由美国Dallas公司设计的单线数字温度传感器.它由64位激光刻印ROM、温敏元件、非易失性温度报警触发器TH和TL器件三个部分组成,其与单片机的通信采用单线接口,DS18B20的测量范围是-55℃到+125℃,增量值为0.5℃。温度变换为数字可在720ms内完成,每一个DS18B20具有唯一的64位的序列号(图1),DS18B20内部有两个8位存储器RAM用来储存温度值(0号和1号),其中0号存储器存放温度值的补码,1号存储器存储温度值的符号。用户可以定义非易失性的温度告警设置并且区分告警搜索命令,寻求组件温度警报状态以外的预定的限制。有两种供电方式:利用信号线高电平时借电供电,或直接用+5V电源。

(此文档部分内容来源于网络,如有侵权请告知删除,文档可自行编辑修改内容,

供参考,感谢您的配合和支持)

相关文档