ËÕICP±¸112451047180ºÅ-6
Õª¡¡Òª£ºÎª½â¾öÆÕͨµçÔ´¾«¶È²»¸ßºÍÎÞ¸ºµçѹÊä³öµÄÎÊÌâ,±¾ÎĽéÉÜÒ»ÖÖÊý¿ØÖ±Á÷ÎÈѹµçÔ´¡£ÏêϸÂÛÊöÁ˸ÃϵͳµÄ×ÜÌå½á¹¹¡¢Ó²¼þºÍÈí¼þµÄÉè¼Æ¡£±¾ÎÄÃèÊöµÄ¿ØÖÆÏµÍ³ÊÇÒÔÖ±Á÷µçѹԴΪºËÐÄ£¬AT89C51µ¥Æ¬»úΪÖ÷¿ØÖÆÆ÷£¬Í¨¹ý¼üÅÌÀ´ÉèÖÃÖ±Á÷µçÔ´µÄÊä³öµçѹ£¬ÉèÖò½½øµÈ¼¶¿É´ï0.1VºÍ0.05V£¬Êä³öµçѹ·¶Î§Îª0¡«+9.9V£¬ÎƲ¨²»´óÓÚ10mV£¬×îСµçÁ÷Ϊ500mA£¬²ÉÓÃËÄλLED ÊýÂë¹Ü¶¯Ì¬ÏÔʾʵ¼ÊÊä³öµçѹֵ¡¢µçѹÉ趨ֵºÍÊä³öµçÁ÷Öµ£¬ÏµÍ³¾ßÓа´¼üÉèÖÃÔ¤Öõçѹ¹¦ÄÜ£¬±¾ÏµÍ³Óɵ¥Æ¬»úÄÚ²¿¼Ä´æÆ÷Êä³öPWMÂö³å£¬ÔÙ¾¹ýÇý¶¯µç··Å´óPWMÂö³åÐźš£µ¥Æ¬»úϵͳͨ¹ýÄÚ²¿Ê®Î»A/D²»¶Ï¼ì²âµçÔ´µÄÊä³öµçѹ£¬¸ù¾ÝµçÔ´Êä³öµçѹÓëÉ趨ֵ֮²î£¬ÀûÓÃÆ¬ÄÚPWMÄ£¿éÊä³öPWM²¨£¬Ö±½Ó¿ØÖƵçÔ´µÄ¹¤×÷¡£
¹Ø¼ü´Ê£ºÊý¿Ø¿ª¹ØµçÔ´£»Âö¿íµ÷ÖÆ£¨PWM£©£»µ¥Æ¬»ú£»±Õ»·¿ØÖÆ
The design of numerical control DC voltage source
Abstract: In order to solve the ordinary power accuracy is not high, and no negative voltage output of the problem, the paper presents a numerical DC power supply. Discusses the overall architecture, hardware and software design of the system. This article describes the control system is based on a DC voltage source for the core, AT89C51 micro-controller-based controllers, to set the output voltage of the DC power supply through the keyboard, setting Stepping level up to 0.1V and 0.05V, the output voltage range of 0 to + 9.9 V, the ripple is not greater than 10mV, the minimum current of 500mA, using four LED digital tube dynamic display the actual output voltage, output current and voltage set-point value, the system has a matrix of buttons to set the preset voltage, protection circuits and other functions, this system consists of MCU internal PWM pulse output register. SCM system through internal ten bit A / D continues to sense the output voltage power supply, according to the difference between the power supply output voltage with the set value, the use of on-chip PWM module output PWM wave, the direct control of the power of work.
Keywords: NC switching power supply; pulse width modulation (PWM); SCM; closed-loop control
Ŀ¼
1Ð÷ÂÛ
1.1¿ÎÌâµÄ±³¾°¼°ÒâÒå.................................................................................................3
1.2¹úÄÚÍâÑо¿ÏÖ×´.....................................................................................................4
1.3¿ÎÌâµÄÑо¿ÄÚÈÝ.....................................................................................................5
2×ÜÌåÉè¼Æ
2.1ϵͳÕûÌåÉè¼Æ.........................................................................................................5
2.2×ÜÌåÉè¼Æ¿òͼ.........................................................................................................5
3µç·Éè¼Æ
3.1ϵͳµç·Éè¼ÆË¼Â·.................................................................................................6
3.2Ö÷µçÔ´ºÍ¸¨ÖúµçÔ´µÄÉè¼Æ.....................................................................................6
3.3 AT89C51Ö÷¿Øµç·µÄÉè¼Æ....................................................................................6
3.4ÏÔʾºÍ°´¼üµç·Éè¼Æ.............................................................................................8
3.5 D/Aת»»µç·.........................................................................................................8
4Ó²¼þÉè¼Æ
4.1AT98C51оƬµÄ½éÉÜ.............................................................................................9
4.2Êýģת»»DAC0832...............................................................................................12
4.3ÊýÂë¹ÜÏÔʾºÍ¼üÅ̼ì²âÔÀí.................................................................................13
4.4 LM7815¡¢LM7915¡¢LM7805µÄ½éÉÜ..................................................................15
4.5ÔËËã·Å´óÆ÷ºÍÉ伫Êä³öÆ÷.....................................................................................16
5Èí¼þÉè¼Æ
5.1Èí¼þÉè¼ÆË¼Â·.........................................................................................................16
5.2Èí¼þÉè¼Æ¿òͼ.........................................................................................................16
6µ÷ÊÔÓëÎó²î·ÖÎö
6.1Ó²¼þµ÷ÊÔ.................................................................................................................17
6.2Èí¼þµ÷ÊÔ.................................................................................................................17
6.3Îó²î·ÖÎö.................................................................................................................18
7×ܽáÓëÕ¹Íû
7.1×ܽá.........................................................................................................................18
7.2Õ¹Íû.........................................................................................................................19
7.3С½á²¢ÖÂл.............................................................................................................19
²Î¿¼ÎÄÏ×.......................................................................................................................19
¸½Â¼1Ôª¼þÇåµ¥...........................................................................................................20
¸½Â¼2ÔÀíͼ...............................................................................................................21
¸½Â¼3³ÌÐò´úÂë...........................................................................................................22

