¸ßËãÁ¦GD32G5ϵÁÐMCUÈçºÎÒýÁìÊý×ÖÄÜÔ´¡¢µç»ú¿ØÖÆÓë¹âͨÐŵÄÀå¸ï
2024-12-31
ÆñÂÛÊÇÅÐËÆðµÄÊý×ÖÄÜÔ´¡¢²»¾øÍØÕ¹Ó¦ÓýçÏ޵ĵç»ú¿ØÖÆ£¬Õվɼ«ËÙÉú³¤µÄ¹âͨÐÅ£¬ÕâЩÁìÓòÕýÔÚ¾ÀúÒ»³¡Óë´óÊý¾ÝÆÊÎö¡¢ÔÆÅÌËãºÍÈ˹¤ÖÇÄÜ£¨AI£©µÈÇ°Ñؼ¼ÊõÉî¶ÈÈںϵÄÀå¸ï¡£ÕâÒ»Èںϲ»µ«Íƶ¯Á˼¼Êõ½çÏ޵Ĵó¹æÄ£À©Õ¹£¬Ò²Òý·¢Á˶ÔÖÇÄÜ»¯½â¾ö¼Æ»®ÐèÇóµÄѸÃÍÔö³¤¡£
Ãæ¶ÔÕâЩÐÐÒµÈÕÒæÅÓ´óµÄÌôÕ½£¬Î¢¿ØÖÆÆ÷£¨MCU£©³ÉΪÁËÆƾֵÄÒªº¦¡£MCU²»¿ÉÊÇʵÏÖϵͳÖÇÄÜ»¯µÄ½¹µã×é¼þ£¬»¹ÔÚÌáÉýÄÜЧ¡¢ÓÅ»¯ÐÔÄܺͰü¹ÜÄþ¾²ÐÔ·½Ãæ·¢»ÓÁ˲»¿É»òȱµÄ×÷Óá£Í¨¹ý¼¯³ÉÏȽøµÄËã·¨ºÍ¹¦Ð§Ä£¿é£¬MCUÄܹ»ÊµÊ±ÏìÓ¦²¢´¦ÀíÅÓ´óµÄÊý¾Ý£¬È·±£¸÷¸öϵͳÔÚ¸ßЧ¡¢Îȶ¨µÄ״̬ÏÂÔËÐС£ÍþÁ®Ï£¶ûÍƳöµÄGD32G5ϵÁиßÐÔÄÜMCU£¬ÒÔÆäÇ¿´óµÄËãÁ¦¡¢¸»ºñµÄÍâÉèºÍÈ«ÃæµÄÄþ¾²»úÖÆ£¬ÎªÓ¦¶ÔÕâЩÌôÕ½ÌṩÁ˼áʵµÄ¼¼ÊõÖ§³Ö£¬ÖúÁ¦¸÷ÐÐҵʵÏÖЧÄÜÓÅ»¯¡¢ÐÔÄÜÌáÉý¼°Îȶ¨ÔË×÷¡£
¸ßÐÔÄÜ¡¢¸ßÄþ¾²MCUÊÇÈý´óÁìÓòÓ¦ÓõÄÒªº¦
½áºÏÁËIoT¡¢´óÊý¾ÝÆÊÎö¡¢ÔÆÅÌËãºÍAIµÈÇ°Ñؼ¼ÊõµÄÊý×ÖÄÜԴϵͳ£¬ÖÂÁ¦ÓÚÌá¸ßÄÜЧ¡¢¼õÉÙÀ˷Ѳ¢Ôö½ø¿ÉÔÙÉúÄÜÔ´µÄÕûºÏ¡£ÔÚÕâ¸öÉú̬ϵͳÖУ¬MCUͨ¹ý¾«È·¼à¿ØµçÁ¦²ÎÊý£¬Èçµçѹ¡¢µçÁ÷µÈ£¬²¢ÊµÊ±µ÷½âϵͳÉèÖã¬È·±£ÏµÍ³¸ßЧÔËÐС£±ðµÄ£¬MCUÖ§³Ö¶àÖÖͨÐÅÐÒ飬ʵÏÖÉ豸¼äµÄÎÞ·ìÊý¾Ý½»»»£¬Íƶ¯ÂþÑÜʽÄÜÔ´×ÊÔ´µÄÓÐЧ¼¯³É¡£
¹ØÓÚµç»ú¿ØÖƶøÑÔ£¬ÏÖ´úMCU¼¯³ÉÁËPWM¿ØÖÆ¡¢¸ßËÙADCµÈ¹¦Ð§£¬¼ò»¯ÁËϵͳµÄÉè¼Æ£¬¼õÉÙÁËÍⲿ×é¼þµÄÐèÇó¡£±ðµÄ£¬MCU»¹Äܹ»ÊµÊ±´¦ÀíÅÓ´óµÄ¿ØÖÆËã·¨£¬È·±£µç»úÔÚÖÖÖÖ¸ºÔØÌõ¼þ϶¼ÄÜƽÎÈÔËÐУ¬´Ó¶øÌá¸ßÁËÕûÌåÐÔÄÜ¡£
ÔÚ¹âͨÐÅÁìÓò£¬MCUµÄ×÷ÓÃͬÑù²»¿ÉºöÊÓ¡£ÌرðÊÇÔÚ¹âÄ£¿éÖУ¬MCUÂôÁ¦ÊµÊ±¼à¿Øζȡ¢µçѹ¡¢µçÁ÷ºÍ¹â¹¦ÂʵÈÒªº¦²ÎÊý£¬È·±£¹âÄ£¿éÎȶ¨ÊÂÇ顣ͬʱ£¬MCUÖ§³ÖÔ¶³ÌÖÎÀíºÍÕï¶Ï¹¦Ð§£¬ÌáÉýÁËÍøÂçµÄÔËάЧÂʺÍÄþ¾²ÐÔ¡£
ΪÁËÓ¦¶ÔÕâÈý¸öÁìÓò¶Ô¸ßÐÔÄÜMCUÈÕÒæÔö³¤µÄÐèÇó£¬ÍþÁ®Ï£¶ûÍƳöµÄGD32G5ϵÁиßÐÔÄÜMCU¡£¸ÃϵÁÐ×î´óµÄÌصã¾ÍÊÇÓ¦ÓÃÇ¿´óµÄËãÁ¦£¬½ÓÄÉArm? Cortex?-M33Äںˣ¬Ö÷Ƶ¸ß´ï216MHz£¬ÄÚÖø߼¶DSPÓ²¼þ¼ÓËÙÆ÷ºÍµ¥¾«¶È¸¡µãµ¥Î»£¨FPU£©£¬ÒÔ¼°Ó²¼þÈý½Çº¯Êý¼ÓËÙÆ÷£¨TMU£©ºÍÖ§³Ö¶àÀàÓ²¼þ¼ÓËÙµ¥Î»¡£ÕâЩÌØÐÔ´ó·ùÌáÉýÁËÊý¾Ý´¦ÀíËٶȺÍÅÓ´óÔËËãÄÜÁ¦¡£
´æ´¢×ÊÔ´Ò²ÊǾö¶¨MCUÌåÏÖµÄÒªº¦¡£GD32G5ϵÁÐMCUÅ䱸ÁË256KBµ½512KBǶÈëʽFlash£¬Ö§³ÖFlashË«Bank¹¦Ð§£¬ÒÔ¼°128KB SRAM£¬»¹Å䱸Á˸ßËÙ»º´æ¿Õ¼ä£¬½øÒ»²½ÌáÉýÄں˴¦ÀíÐÔÄÜ¡£
ÍâÉ輯³É¶ÈÉÏ£¬GD32G5ϵÁÐͬÑùÌåÏÖ¾«²Ê£¬ÄÚÖÃÁ˸»ºñµÄ½Ó¿ÚºÍ¹¦Ð§Ä£¿é£¬ÒÔÊÊÓ¦¶àÑù»¯µÄÓ¦Óó¡¾°¡£ÓÈÆäÖµµÃÒ»ÌáµÄÊÇÆäÈ«ÃæµÄÄþ¾²»úÖÆ£¬°üÀ¨Äþ¾²µÄ¿ÕÖÐÏÂÔØ£¨OTA£©¸üС¢Äþ¾²Æô¶¯¡¢Äþ¾²µ÷ÊÔ¼°Äþ¾²Éý¼¶µÈ¹¦Ð§£¬ÎªÍ¨ÐÅÀú³ÌÖеÄÊý¾ÝÍêÕûÐÔÓëÄþ¾²ÐÔÌṩÁ˼áʵµÄ°ü¹Ü¡£GD32G5²úƷϵÁÐÖ§³ÖIEC 61508 SIL2¹¦Ð§Äþ¾²±ê×¼£¬ÌṩÍêÕûµÄSafety Package£¬°üÀ¨Safety Manual¡¢FMEDAºÍ×Ô¼ì¿âµÈ£¬ÖúÁ¦¹¤ÒµÓ¦ÓøüÄþ¾²¿É¿¿¡£
Êý×ÖÄÜԴЧÄÜÓÅ»¯µÄ½¹µã
ÔÚÊý×ÖÄÜÔ´ÁìÓò£¬¹¦ÂÊ¿ØÖÆÊÇMCUµÄÒ»¸öÒªº¦Ó¦ÓÃÆ«Ïò¡£ÔÚÕâÒ»ÁìÓò£¬GD32G5ϵÁÐMCUÕ¹ÏÖ³öÁËÏÔÖøµÄÓÅÊÆ£¬ÌرðÊÇÔÚÒÔÏÂÁ½ÏîÒªº¦¼¼ÊõÉÏ£º
Ê×ÏÈÊÇ·¢²¨¿ØÖÆ¡£ÒÔ¸ÃϵÁеÄGD32G553ΪÀý£¬Æä¾ßÓеĸ߾«¶È׼ʱÆ÷£¨HRTIM£©Ö§³Ö16λ16ͨµÀ£¬¿ÉÒÔÂú×ã¶àÖÖÅÓ´óÍØÆ˽ṹ£»±ðµÄ£¬Ëü»¹Ö§³Ö10¸öÍⲿʼþÊäÈëºÍ8¸ö¹ÊÕÏÊäÈëͨµÀ£¬¿ÉÅäºÏʵÏÖ¶àÖÖÍØÆ˽ṹµÄÁé»î·¢²¨Ä£Ê½¡£
µÚ¶þÊǾ«È·¸Ð²â¡£GD32G553Ö§³Ö4¸ö12λADC²ÉÑùËÙÂʸߴï5.3MSPS£¬¾ß±¸¸ß´ï42¸öͨµÀ£¬Äܹ»¸ßЧµØÊÕÂ޺ʹ¦Àí¶àÖÖ´«¸ÐÆ÷µÄÐźš£Í¬Ê±£¬GD32G553»¹¾ßÓпìËÙϵͳ±£»¤ºÍ¸¨Öú·¢²¨¹¦Ð§¡£ÆäÅ䱸8¸öCMP£¨±È½ÏÆ÷£©£¬Á÷´«ÑÓʱ½ö15.8ns£¬0-63mVµÄ¿É±à³Ì³ÙÖÍ£¬Äܹ»¿ìËÙÏìÓ¦¹ÊÕÏÊäÈë»òÍⲿʼþ¡£±ðµÄ£¬GD32G553»¹¾ßÓÐ4¸ö1Msps/15MspsµÄ12λDAC£¬×î¶à¿ÉÖ§³Ö8ͨµÀ£¬¿ÉÅäºÏHRTIMʵÏÖбÆÂÅâ³¥µÈ¹¦Ð§¡£
ͼ1 3.5kWÖ±Á÷³äµç¼Æ»®ÍØÆË
ÍþÁ®Ï£¶ûÒÔGD32G553Ϊ½¹µã¹¹½¨ÁËÁ½¸öÓ¦Óüƻ®¡£Ê×ÏÈÊÇ3.5kWÖ±Á÷³äµç¼Æ»®£¬ÆäʹÓõ¥¿ÅGD32G553ϵÁÐMCU£¬¿ØÖÆÁ½¼¶¸ßЧÂʵĿª¹ØµçÔ´ÍØÆË£¬°üÀ¨Ç°¼¶µ¥ÏàͼÌÚÖùPFCºÍºó¼¶È«ÇÅLLC¡£¸Ã¼Æ»®µÄÊäÈëµçѹΪ220V£¨¡À10%£©/50Hz£¬ÊäÈëµçÁ÷×î´óÓÐЧֵ17A£»Êä³öµçѹΪ250VDC~450VDC£¬Ö§³Öä¸Á÷¡¢ºãÁ÷ºÍºãѹ³äµçģʽ£»PFC¿ª¹ØƵÂÊ70kHz£¬LLC¿ª¹ØƵÂÊ94kHz~300kHz¡£
¸Ã¼Æ»®ÊµÏÖϵͳ·åֵЧÂÊ96.2%£¬PFΪ0.999£¬THDΪ2.7%¡£ÔÚÂúÔغãÁ÷³äµçÏ£¬ÏµÍ³Ð§ÂÊ95.6%£¬PFΪ0.999£¬THDΪ2.5%¡£ÎªÁËÈ·±£ÏµÍ³Äþ¾²ºÍ¿É¿¿ÐÔ£¬¸Ã¼Æ»®Å䱸Á˶àÖÖÈí¡¢Ó²¼þ±£»¤¹¦Ð§£¬°üÀ¨OCP¡¢SCP¡¢OVP¡¢OTP¡¢CBC¡¢DESATµÈϵͳ±£»¤¡£
ͼ2 ±ãЯʽ˫Ïò´¢ÄÜÄæ±ä¼Æ»®ÍØÆË
ÁíÒ»¸öÊÇ»ùÓÚGD32G5ϵÁÐ/GD32E5ϵÁеıãЯʽ˫Ïò´¢ÄÜÄæ±ä¼Æ»®£¬Äܹ»ÊµÏÖÀëÍø·ÅµçºÍ²¢Íø³äµç¹¦Ð§¡£¸Ã¼Æ»®Í¨¹ýÁ½¿ÅGD32G5ϵÁÐMCU/GD32E5ϵÁÐMCU¿ØÖÆÈý¼¶¼Ü¹¹£¨LLC + Buck/Boost + Äæ±ä/PFC£©£¬È·±£ÁËϵͳµÄ¸ßЧÐÔºÍÎȶ¨ÐÔ¡£ÆäLLCµÄ¿ª¹ØƵÂÊΪ100kHz£¬Boost/BuckºÍÄæ±ä/PFC²¿·ÖµÄ¿ª¹ØƵÂʾùΪ20kHz£»ÄÚ²¿±È½ÏÆ÷ʵÏÖÁ˹ýÁ÷ºÍ¹ýѹ±£»¤£¬¼õÉÙÁ˶ÔÍⲿӲ¼þµç·µÄÒÀÀµ£¬¼ò»¯ÁËϵͳÉè¼Æ£»½ÓÄɵÄADC±¶Æµ²ÉÑù¼¼ÊõÄܹ»ÊµÏÖ¸ü¾«È·µÄƽ¾ùµçÁ÷¿ØÖÆ£¬Æä¹ýѹ¡¢¹ýÁ÷ºÍ¹ýα£»¤»úÖÆÔòÈ·±£ÁËϵͳÔÚÖÖÖÖÊÂÇéÌõ¼þϵÄÄþ¾²ÔËÐС£
ÖúÁ¦µç»ú¿ØÖÆÐÔÄÜÓëЧÂÊË«ÌáÉý
ÉÏÖÁС¼Òµç£¬ÏÂÖÁµç¶¯Æû³µ£¬µç»úµÄÓ¦ÓÃÎÞ´¦²»ÔÚ¡£¶øµç»ú¿ØÖƶÔMCUµÄÒªÇó¼«ÎªÑϸñ£¬°üÀ¨¸ßЧ´¦ÀíÄÜÁ¦¡¢¾«È·µÄʵʱ¿ØÖƺ͸»ºñµÄÍâÉè½Ó¿Ú¡£¾ßÌå¶øÑÔ£¬MCUÐèÒªÖ§³Ö¿ìËÙÇÒ¾«È·µÄPWMÐźÅÉú³ÉÒÔÈ·±£µç»úÔËתƽ»¬£¬Å䱸¸ßÇø·ÖÂÊADC½øÐеçÁ÷ÓëµçѹµÄʵʱ¼à²â£¬²¢ÓµÓи»×ãµÄ´æ´¢¿Õ¼äÒÔÔËÐÐÅÓ´óµÄ¿ØÖÆËã·¨¡£±ðµÄ£¬¼¯³ÉµÄÄþ¾²»úÖƺͶàÑùµÄͨÐŽӿڹØÓÚ°ü¹ÜϵͳµÄÎȶ¨ÐÔºÍÁ¬½ÓÐÔÖÁ¹ØÖØÒª¡£
GD32G553ƾ½èÆä׿ԽµÄÅäÖÃÍêÃÀÓ¦¶ÔÁËÕâЩÌôÕ½¡£Ê×ÏÈ£¬¸ÃMCUµÄËãÁ¦ÓÐÁËÏÔÖøÌáÉý£¬Äܹ»¸ü¸ßЧµØ´¦ÀíÅÓ´óµÄµç»ú¿ØÖÆËã·¨¡£Æä´Î£¬ËüÌṩÁ˸»ºñµÄƬÉÏ×ÊÔ´£¬°üÀ¨Ëĸö12λADC¡¢8¸ö±È½ÏÆ÷ÒÔ¼°1¸ö¸ßÐÔÄÜÊý×ÖÂ˲¨Æ÷£¨HPDF£©£¬ºóÕßÖ§³Ö8ͨµÀ/4Â˲¨Æ÷ÅäÖ㬿ÉÍâ½Ó¦²-¦¤µ÷ÖÆÆ÷£¬¿ÉÓÃÓÚ±äƵÆ÷¡¢µÍ¶ËËÅ·þÀïÃæÍâ½Óµ÷ÖÆÆ÷¡£×îºó£¬GD32G553Å䱸ÁËÈý¸ö16λ¸ß¼¶×¼Ê±Æ÷£¬Ö§³Ö8ͨµÀ/4¶Ô»¥²¹Ä£Ê½£¬ÊÊÓÃÓÚ¿ØÖÆÁ½ÏàËÄÏß²½½øµç»ú£»Æ临ºÏģʽ֧³Öµ¥µç×è²ÉÑùºÍĸÏßµçÁ¦Á½´Î²ÉÑù£¬ÊµÏÖÁ˲½½øµç»ú¿ìÂýË¥¼õ»ìÏýģʽµÄ¾«×¼¿ØÖÆ£¬½øÒ»²½ÔöÇ¿Á˵ç»ú¿ØÖƵÄÁé»îÐÔºÍЧÂÊ¡£
GD32G553²»µ«ÔÚÐÔÄÜÉÏÂú×ãÁ˵ç»ú¿ØÖƵÄÑÏ¿ÁÒªÇ󣬻¹ÔÚ¹¦Ð§¸»ºñ¶ÈºÍÓ¦ÓÃÊÊÓ¦ÐÔ·½ÃæÕ¹ÏÖÁËÃ÷ÏÔÓÅÊÆ£¬¿ÉÂú×ã¸÷ÁìÓòÅÓ´óµç»ú¿ØÖÆÐèÇó¡£
¹âÄ£¿éÎȶ¨ÔË×÷µÄÒªº¦
ÓëͨÓÃMCUÓÐËù²î±ð£¬¹âÄ£¿é¶ÔÆäרÓÃMCUÔÚоƬ³ß´ç¡¢Ä£Ä⹦Ч¼¯³ÉÒÔ¼°¿É¿¿ÐÔ·½ÃæÓÐןüÑϸñµÄ±ê×¼£¬ÍþÁ®Ï£¶ûΪGD32G553½øÐÐÁËÈ«ÃæµÄÅäÖã¬Ê¹Æä¿ÉÒÔÊÊÓ¦¹âÄ£¿éµÄÌôÕ½¡£
GD32G553¾ßÓÐÁé»îµÄ´æ´¢¿Õ¼ä¡£Æä512KBµÄFlash´æ´¢Ö§³ÖË«BankÉè¼Æ£¬²»µôµçÉý¼¶£¬È·±£Êý¾ÝµÄÄþ¾²ÐԺͳ¤ÆÚÐÔ£»128KBµÄSRAM´æ´¢£¬Ö§³Ö800GÒÔÉϹâÄ£¿éµÄSRAMÐèÇ󣨴óÓÚ64KB£©£¬Âú×ã¸ßÐÔÄܹâÄ£¿éµÄÊý¾Ý´¦ÀíÐèÇó¡£
GD32G553¼¯³ÉÁ˸»ºñµÄÄ£ÄâºÍÊý×Ö×ÊÔ´£¬³ÉΪÆäʤÈιâÄ£¿éÓ¦ÓõÄÒ»´óÓÅÊÆ¡£Ëü¾ß±¸Ëĸö12λADC£¬×î¸ß²ÉÑùËÙÂÊ¿É´ï5.3Msps£¬²¢Ö§³Ö¶à´ï42¸öͨµÀ¡£Í¨¹ý¶à×éADC½»´í²ÉÑù¼¼Êõ£¬GD32G553¿ÉÒÔʵÏָߴï10MµÄ²ÉÑùËÙÂÊ£¬ÍêÃÀÆõºÏ¸ß¾«¶ÈºÍ¸ßËٶȲÉÑùµÄÐèÇó¡£±ðµÄ£¬GD32G553»¹Å䱸ÓÐËĸö12λDAC£¬ÆäÖÐËĸöͨµÀÖ§³Ö¶ÔÍâÊä³ö£¬ÌṩÁ˸߶ÈÁé»îµÄÄ£ÄâÐźÅÊä³öÄÜÁ¦£¬ÊÊÓÃÓÚ¶àÖÖÓ¦Óó¡¾°¡£
ΪÁ˱ãÓÚϵͳ¼¯³ÉºÍµ÷ÊÔ£¬GD32G553ÌṩÁËËĸöI2C½Ó¿Ú£¬Ö§³Ö1MHzµÄFast Mode Plus (Fm+)£¬È·±£ÓëÉÏλ»úͨÐŵĸßЧÐÔ¡£
GD32G553µÄÉè¼Æ³ä·Ö¿¼ÂÇÁ˹âÄ£¿éSFP-DD/QSFP-DDµÈСÐÍ»¯·â×°µÄÐèÇó£¬Ö§³ÖWLCSP·â×°£¬ºÜÊÇÊÊÊÊÓÃÓÚ¸ßÃܶȰ²ÅźͿռäÊÜÏÞµÄÓ¦Óó¡¾°¡£ÕâÒ»ÌØÐÔʹµÃGD32G553ÔÚ°ü¹ÜÐÔÄܵÄͬʱ£¬Ò²¼«ºéÁ÷ƽÉϽÚÔ¼Á˵ç·°å¿Õ¼ä£¬ÌáÉýÁËϵͳµÄ¼¯³É¶È¡£
ΪÁ˼ÓËÙÓû§µÄ¿ª·¢½ø³Ì£¬ÍþÁ®Ï£¶ûΪȫÐÂGD32G5ϵÁиßÐÔÄÜ΢¿ØÖÆÆ÷ÌṩÁËÃâ·Ñ¿ª·¢Çé¿öGD32 Embedded Builder IDE¡¢µ÷ÊÔÏÂÔع¤¾ßGD-LINKÓë¶àºÏÒ»±à³Ì¹¤¾ßGD32 All-In-One Programmer¡£Í¬Ê±£¬Arm? KEIL¡¢IAR¡¢SEGGERµÈÒµ½çÖ÷Á÷ǶÈëʽ¹¤¾ß³§ÉÌÒ²½«ÎªGD32G5ȫвúÆ·Ìṩ°üÀ¨¿ª·¢±àÒëºÍ¸ú×Ùµ÷ÊÔ¹¤¾ßÔÚÄÚµÄÈ«ÃæÖ§³Ö¡£