毕业论文 基于at89c51单片机的函数信号发生器.doc
约34页DOC格式手机打开展开
毕业论文 基于at89c51单片机的函数信号发生器,ÕªÒªÐźŷ¢ÉúÆ÷ÊÇÒ»ÖÖ³£ÓõÄÐźÅÔ´£¬¹ã·ºµØÓ¦ÓÃÓÚµç×ӵ緡¢×Ô¶¯¿ØÖÆϵͳºÍ½ÌѧʵÑéµÈÁìÓò¡£Ä¿Ç°Ê¹ÓõÄÐźŷ¢ÉúÆ÷´ó²¿·ÖÊǺ¯ÊýÐźŷ¢ÉúÆ÷£¬ÇÒÌØÊⲨÐη¢ÉúÆ÷µÄ¼Û¸ñ°º¹ó¡£Ëù...
内容介绍
此文档由会员 ljjwl8321 发布
ÕªÒª
Ðźŷ¢ÉúÆ÷ÊÇÒ»ÖÖ³£ÓõÄÐźÅÔ´£¬¹ã·ºµØÓ¦ÓÃÓÚµç×ӵ緡¢×Ô¶¯¿ØÖÆϵͳºÍ½ÌѧʵÑéµÈÁìÓò¡£Ä¿Ç°Ê¹ÓõÄÐźŷ¢ÉúÆ÷´ó²¿·ÖÊǺ¯ÊýÐźŷ¢ÉúÆ÷£¬ÇÒÌØÊⲨÐη¢ÉúÆ÷µÄ¼Û¸ñ°º¹ó¡£ËùÒÔ±¾Éè¼ÆʹÓõÄÊÇAT89C51µ¥Æ¬»ú¹¹³ÉµÄ·¢ÉúÆ÷£¬¿É²úÉúÈý½Ç²¨¡¢·½²¨¡¢ÕýÏÒ²¨µÈ¶àÖÖÌØÊⲨÐκÍÈÎÒⲨÐΣ¬²¨ÐεÄƵÂÊ¿ÉÓóÌÐò¿ØÖƸı䡣ÔÚµ¥Æ¬»úÉϼÓÍâΧÆ÷¼þ¾àÕóʽ¼üÅÌ£¬Í¨¹ý¼üÅÌ¿ØÖƲ¨ÐÎƵÂʵÄÔö¼õÒÔ¼°²¨ÐεÄÑ¡Ôñ£¬²¢ÓÃÁËLCDÏÔʾƵÂÊ´óС¡£ÔÚµ¥Æ¬»úµÄÊä³ö¶Ë¿Ú½ÓDAC0832½øÐÐD/Aת»»£¬ÔÙͨ¹ýÔ˷ŽøÐв¨Ðε÷Õû£¬×îºóÊä³ö²¨ÐνÓÔÚʾ²¨Æ÷ÉÏÏÔʾ¡£±¾Éè¼Æ¾ßÓÐÏß·¼òµ¥¡¢½á¹¹½ô´Õ¡¢¼Û¸ñµÍÁ®¡¢ÐÔÄÜÓÅÔ½µÈÓŵ㡣
ÔÚ½éÉÜDAC0832оƬÌØÐԵĻù´¡ÉÏ,ÂÛÊöÁ˲ÉÓÃDAC0832оƬÉè¼ÆÊý×Öº¯ÊýÐźŷ¢ÉúÆ÷µÄÔÀíÒÔ¼°Õû»úµÄ½á¹¹Éè¼Æ¡£¶ÔÆäÕñµ´ÆµÂÊ¿ØÖÆ¡¢ÐźÅÊä³ö·ù¶È¿ØÖÆÒÔ¼°ÆµÂʺͷù¶ÈÊýÏÔµÄʵÏÖ×÷Á˽ÏÏêϸµÄÂÛÊö¡£¸Ãº¯ÊýÐźŷ¢ÉúÆ÷¿ÉÊä³öÈý½Ç²¨,·½²¨ºÍÕýÏÒ²¨¡£
¹Ø¼ü´Ê£º Ðźŷ¢ÉúÆ÷ µ¥Æ¬»ú ²¨Ðε÷Õû
Abstract
Signal-generator is a kind of signal source in common use, broadly applied at the electronics electric circuit, auto control system and teaching experiment etc. Currently used mostly function signal generator signal generator, waveform generator and a special price of expensive . So the dissertation is usage of the AT89s51 single-chip microcomputer constitute of wave-form generator, which can generate triangle wave, square wave, sine wave etc variety wave-form, the period of wave can be controlled by procedure, at outer circle spare part of the machine, plus independence type keyboard , which can control wave increase or decrease of form-frequency and the choice of wave-form, at the same time LED display frequency size. The output of the machine connect DAC0832 to carry on a DA conversion£¬again pass operation amplifier to put an end exportation wave-form. This design has advantage of simple circuit, tightly packed structure, cheap price, superior function etc.
Based on the introduction of MAX038 , we discussed the principle and the whole frame of the digital function signal generator. We described the control of the oscillatory frequent , amplitude and the digital display in detail. Thegenerator can output three kinds of waves : sine wave , square wave , triangle wave.
Keywords£º signal generator MCU wave-form adjustment
Ŀ¼
1£®Ð÷ÂÛ
1.1£º¿Î³Ì±³¾°Ä¿µÄ¼°ÒâÒå¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡1
1.2£ºÉè¼ÆÈÎÎñºÍÒªÇó¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2
2£®·½°¸µÄÑо¿
2.1£º·½°¸µÄÌá³öºÍÕûÂÛ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡3
2.2£ºÄ£¿éµÄ½á¹¹»®·Ö¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡4
3£®¸÷²¿·Ö¹¦ÄÜÄ£¿é
3.1£ºµ¥Æ¬»úÄ£¿é¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡5
3.2£ºµçÔ´Ä£¿é¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡6
3.3£ºD/Aת»»Ä£¿é¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡7
3.4£º¼üÅÌÊäÈëÄ£¿é¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡10
3.5£ºÏÔʾģ¿é¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡12
3.6£ºI/Vת»¯Ä£¿é¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡13
3.7: »ù×¼µçѹµ÷½ÚÄ£¿é¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡14
4£®µç·Èí¼þÉè¼Æ
4.1£ºÏµÍ³×Ü¿òͼ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡18
4.1£ºÏÔʾ×Ó³ÌÐò¿òͼ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡19
4.2£º°´¼ü×Ó³ÌÐò¿òͼ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡20
×ܽá
²Î¿¼ÎÄÏ×
¸½Â¼A£ºÏµÍ³×@@ÌÐò
¸½Â¼B£ºÏµÍ³×ܵç·ͼ
Ðźŷ¢ÉúÆ÷ÊÇÒ»ÖÖ³£ÓõÄÐźÅÔ´£¬¹ã·ºµØÓ¦ÓÃÓÚµç×ӵ緡¢×Ô¶¯¿ØÖÆϵͳºÍ½ÌѧʵÑéµÈÁìÓò¡£Ä¿Ç°Ê¹ÓõÄÐźŷ¢ÉúÆ÷´ó²¿·ÖÊǺ¯ÊýÐźŷ¢ÉúÆ÷£¬ÇÒÌØÊⲨÐη¢ÉúÆ÷µÄ¼Û¸ñ°º¹ó¡£ËùÒÔ±¾Éè¼ÆʹÓõÄÊÇAT89C51µ¥Æ¬»ú¹¹³ÉµÄ·¢ÉúÆ÷£¬¿É²úÉúÈý½Ç²¨¡¢·½²¨¡¢ÕýÏÒ²¨µÈ¶àÖÖÌØÊⲨÐκÍÈÎÒⲨÐΣ¬²¨ÐεÄƵÂÊ¿ÉÓóÌÐò¿ØÖƸı䡣ÔÚµ¥Æ¬»úÉϼÓÍâΧÆ÷¼þ¾àÕóʽ¼üÅÌ£¬Í¨¹ý¼üÅÌ¿ØÖƲ¨ÐÎƵÂʵÄÔö¼õÒÔ¼°²¨ÐεÄÑ¡Ôñ£¬²¢ÓÃÁËLCDÏÔʾƵÂÊ´óС¡£ÔÚµ¥Æ¬»úµÄÊä³ö¶Ë¿Ú½ÓDAC0832½øÐÐD/Aת»»£¬ÔÙͨ¹ýÔ˷ŽøÐв¨Ðε÷Õû£¬×îºóÊä³ö²¨ÐνÓÔÚʾ²¨Æ÷ÉÏÏÔʾ¡£±¾Éè¼Æ¾ßÓÐÏß·¼òµ¥¡¢½á¹¹½ô´Õ¡¢¼Û¸ñµÍÁ®¡¢ÐÔÄÜÓÅÔ½µÈÓŵ㡣
ÔÚ½éÉÜDAC0832оƬÌØÐԵĻù´¡ÉÏ,ÂÛÊöÁ˲ÉÓÃDAC0832оƬÉè¼ÆÊý×Öº¯ÊýÐźŷ¢ÉúÆ÷µÄÔÀíÒÔ¼°Õû»úµÄ½á¹¹Éè¼Æ¡£¶ÔÆäÕñµ´ÆµÂÊ¿ØÖÆ¡¢ÐźÅÊä³ö·ù¶È¿ØÖÆÒÔ¼°ÆµÂʺͷù¶ÈÊýÏÔµÄʵÏÖ×÷Á˽ÏÏêϸµÄÂÛÊö¡£¸Ãº¯ÊýÐźŷ¢ÉúÆ÷¿ÉÊä³öÈý½Ç²¨,·½²¨ºÍÕýÏÒ²¨¡£
¹Ø¼ü´Ê£º Ðźŷ¢ÉúÆ÷ µ¥Æ¬»ú ²¨Ðε÷Õû
Abstract
Signal-generator is a kind of signal source in common use, broadly applied at the electronics electric circuit, auto control system and teaching experiment etc. Currently used mostly function signal generator signal generator, waveform generator and a special price of expensive . So the dissertation is usage of the AT89s51 single-chip microcomputer constitute of wave-form generator, which can generate triangle wave, square wave, sine wave etc variety wave-form, the period of wave can be controlled by procedure, at outer circle spare part of the machine, plus independence type keyboard , which can control wave increase or decrease of form-frequency and the choice of wave-form, at the same time LED display frequency size. The output of the machine connect DAC0832 to carry on a DA conversion£¬again pass operation amplifier to put an end exportation wave-form. This design has advantage of simple circuit, tightly packed structure, cheap price, superior function etc.
Based on the introduction of MAX038 , we discussed the principle and the whole frame of the digital function signal generator. We described the control of the oscillatory frequent , amplitude and the digital display in detail. Thegenerator can output three kinds of waves : sine wave , square wave , triangle wave.
Keywords£º signal generator MCU wave-form adjustment
Ŀ¼
1£®Ð÷ÂÛ
1.1£º¿Î³Ì±³¾°Ä¿µÄ¼°ÒâÒå¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡1
1.2£ºÉè¼ÆÈÎÎñºÍÒªÇó¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2
2£®·½°¸µÄÑо¿
2.1£º·½°¸µÄÌá³öºÍÕûÂÛ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡3
2.2£ºÄ£¿éµÄ½á¹¹»®·Ö¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡4
3£®¸÷²¿·Ö¹¦ÄÜÄ£¿é
3.1£ºµ¥Æ¬»úÄ£¿é¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡5
3.2£ºµçÔ´Ä£¿é¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡6
3.3£ºD/Aת»»Ä£¿é¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡7
3.4£º¼üÅÌÊäÈëÄ£¿é¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡10
3.5£ºÏÔʾģ¿é¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡12
3.6£ºI/Vת»¯Ä£¿é¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡13
3.7: »ù×¼µçѹµ÷½ÚÄ£¿é¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡14
4£®µç·Èí¼þÉè¼Æ
4.1£ºÏµÍ³×Ü¿òͼ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡18
4.1£ºÏÔʾ×Ó³ÌÐò¿òͼ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡19
4.2£º°´¼ü×Ó³ÌÐò¿òͼ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡20
×ܽá
²Î¿¼ÎÄÏ×
¸½Â¼A£ºÏµÍ³×@@ÌÐò
¸½Â¼B£ºÏµÍ³×ܵç·ͼ