ͼʾǵϵͳӲ
3ҪתһͨĵַABC˿ϡ 4ST˸һ100nsźš 5ǷתϣǸEOCźжϡ
6EOCΪߵƽʱʱOEΪߵƽתݾƬˡ
3.3.4 A/D·ԭ
ADC0809ģҪźŵԣѹΧ05Vź̫СзŴģתӦñֲ䣬ģ仯̫죬ǰӲֵ·ԭͼͼ3-5ʾ
ͼ3-5 ADC0809ԭͼ
3.4 η·
3.4.1ݲDz·
ڱҪǽݲDzΣ뵽˴һ·ûֵ·Dz,ȴDz·ͨȽ
źšβIJüDAC0832òķΪźCLKˣʹܹѭѼֵDAC0832ѭĽݲ
CLKźƷҪϸߣһ˷Ŵķ·źʹݲβȶԭΪCLKźҪϣһ˷Ŵķ·ķһë̡555źŷ·ķԱΪCLKźſʹ
η·ԭͼͼ3-6ʾ
1.6V-3.2VDz0-11VDzӷ··555·0-5Vλźż74161DAC0832
ͼ3-6 β·ͼ
3.4.2 555ĹܽŹ
555·ɵѹѹȽRSŵܺ5ɡĸŹ£
1ţGND(Vss)ӵԴVSSӵأһ½ӵء 8ţVCC(VDD)ӵԴVCC˫ʱ·VCCķΧ4.516VCMOSʱ·VCCķΧΪ318Vһ5V
3ţOUTVoˡ 2ţTRʹˡ 6ţTHߴˡ
4ţRֱˡR˽ӵ͵ƽʱ·ʱTRTHںεƽʱ·Ϊ0ö˲ʱӦӸߵƽ
5ţCO(VC)ΪƵѹˡ˶ӵѹɸıڲȽĻѹö˲ʱӦö˴һֻ0.01FݽӵأԷš
7ţDŵˡöŵܼ缫ʱʱݵķŵ硣ѹ5kĵֵ贮ɡѹΪȽC1C2ṩοѹȽC1IJοѹΪ2/3VccͬˣȽC2IJοѹΪ1/3VccڷˡȽṹͬļ˷C1C2
ͼʾǵϵͳӲ
ɡߵƽźżC1ķˣͬ˵IJοѹȽϺΪRSR˵źţ͵ƽźżC2ͬˣ뷴˵IJοѹȽϺΪRSS˵źšRS״̬ܱȽC1C2˿ơ
·Ƶ·ͼ3-7ʾ
ͼ3-7 ·
555DzͷD1D2ݳ䡢ŵ;ʱD1ͨD2ֹŵʱD2ͨD1ֹУ
Ƶʣ
f?1/0.693RA+RBC=500Hz (3-1)
ռձȣ
q=RA/(RA+RB=50% (3-2)
ֵ
Uz?5V
3.5 ʾ·
ƲʾܵķŴƬͨADC0809ܻ뼯缫ĵѹͨԵIJ輰ϵܹĹϵɵõܵķŴֻҪڳܹŴλķλ̬ʾʾŴѡùܣͨ74HC573
ʾ·ԭͼͼ3-8ʾ
RbѹADC0809RcѹƬ74HC573ж0ж1ʾ
ͼ3-8ʾ·ԭͼ
ҪܹʾҪ·ܵĸ룬ӶʾҪ֣˸ܵʽIJͬԷΪ̬ʽͶ̬ʽࡣ
̬ʾ̬Ҳֱָ̬ÿܵÿһ붼һƬI/O˿ڽʹBCD-ʮ̬ŵDZ̼ʾȸߣȱռI/O˿ڶ࣬ʵӦʱӲ·ĸԡ
̬ʾ̬ܶʾӿǵƬӦΪ㷺һʾʽ֮һ̬ǽܵ8ʾʻ\ͬһΪÿܵĹCOMλѡͨƵ·λѡͨɸԶI/O߿ƣƬʱܶյͬ룬ǸܻʾΣȡڵƬλѡͨCOM˵·ĿƣֻҪҪʾܵѡͨƴλʾΣûѡܾͨͲͨʱƸܵĵCOMˣʹܿʾǶ̬ʾУÿλܵĵʱΪ1~2ms˵ӾܵЧӦʵϸλܲͬʱֻҪɨٶ㹻죬˵ӡһȶʾݣ˸У̬ʾЧ;̬ʾһģܹʡI/O˿ڣҹĸ͡
ʾʽıȽϷ̬ʽҪI/O̬ɨʾʽܹʡI/Oڣҵ·ṹҲȽϼʾЧãղö̬ɨʾʽԭ3-9ʾ