Please wait a minute...
大学物理实验, 2025, 38(2): 97-103     https://doi.org/10.14139/j.cnki.en22-228.2025.02.017
  本期目录 | 过刊浏览 | 高级检索 |
基于 LabVIEW 的虚拟函数发生器设计
陈家昊 1 ,张嘉宝 1 ,孙科学 1,2*,邹辉 1,张瑛 1
1.南京邮电大学 电子与光学工程学院、柔性电子(未来技术)学院,江苏 南京 210023;2.信息电子技术国家级虚拟仿真实验教学中心,江苏 南京 210023
LabVlEW-based Wirtual Function Generator Design
CHEN Jiahao1 ,ZHANG Jiabao1 ,SUN Kexue1,2* ,ZHOU Hui1,ZHANG Ying1
1.College af Eleetronic and Optical Engineering, College af Flexible Eleetronies ( Future Technology) , Nanjing University of Pastsand Telecammunieatioas Nanjing,210023, China; 2.The Natiennl Virusl Simulation Fxperiment Teaching Center of informationElectrnic Technology,Nanjing 210023, China
下载:  PDF (2943KB) 
输出:  BibTeX | EndNote (RIS)      
摘要 

为克服传统实验仪器价格昂贵、教学需固定场所的问题,采用 STM32F103 单片机设计了基于 MAX038 的函数信号发生器,同时运用 LabVIEW 开发平台设计了一个包含信号源与示波器的虚拟仪器。为了论证设计的正确性和简化设计复杂度,利用 Altium Desinger 设计印制电路板(PCB)样品板进行硬件测试,完成设计和安装。文中利用上位机软件生成各种常用波形,再将数据通过串行通信口发送到单片机,进而控制 MAX038 电路输出各种波形的模拟信号。本设计能够产生正弦波、三角波、方波等常用波形,输出频率范围为 0 至20 MHz,且具有独立的占空比和频率调节功能。实验结果表明该系统产生的波形清晰,频率、相位和幅度稳定。

服务
把本文推荐给朋友
加入引用管理器
E-mail Alert
RSS
作者相关文章
陈家昊
张嘉宝
孙科学
邹 辉
张 瑛
关键词:  LabVIEW  信号发生器  STM32F103  MAX038  虚拟仪器     
Abstract: 

in order to overeome the deleets of traditional experimental instruments that are expensive andrequire a fixed place for teaching, a funetion signal generator based on MAX038 is designed using theS'T'M32F103 mierocontroller, and at the same time, a virtual instrument containing a signal souree and anoseilloscope is designed using the LabVlEW development platform. ln order to argue the correctness of thedesign and simplify the complexity of the desigu , Altium Desinger is utilized to design Printed Circuit Board(PCB) sample boards for hardware testing to complete the design and installation.In the paper, the uppercomputer software is used to generate a variety of commonly used waveforms, and then send the data to themieroeontroller through the serial communieation port, which in turn eontrols the MAX038 circuit to output avariely of waveforms of analog signals,This design can generate sine wave, triangle wave, square wave and othercommonly used waveforms, the output fequeney range of 0 to 20MHz, and has an independent duty cyele andfrequeney adjustment, Experimental results show that the system produces clear waveforms with stablefrequeney,phase and amplitude.

Key words:  LabVlEW    signal generator    STM32F103    MAX038    virtual instrument
               出版日期:  2025-04-25      发布日期:  2025-04-25      整期出版日期:  2025-04-25
ZTFLH:  G 482  
基金资助: 

江苏省高等教育教改研究立项课题(2023JSJG433);江苏省研究生科研创新计划(KYCX24_1165);南京邮电大学研究生教育教学改革课题(JGKT24_XK05)

引用本文:    
陈家昊, 张嘉宝, 孙科学, 邹 辉, 张 瑛. 基于 LabVIEW 的虚拟函数发生器设计 [J]. 大学物理实验, 2025, 38(2): 97-103.
CHEN Jiahao , ZHANG Jiabao , SUN Kexue , ZHOU Hui, ZHANG Ying. LabVlEW-based Wirtual Function Generator Design . Physical Experiment of College, 2025, 38(2): 97-103.
链接本文:  
https://dawushiyan.jlict.edu.cn/CN/10.14139/j.cnki.en22-228.2025.02.017  或          https://dawushiyan.jlict.edu.cn/CN/Y2025/V38/I2/97
[1] 程时葵, 廖 飞, 赵 帅. 基于 Labview 平台开发的数智化软件在大学物理实验教学中的应用 [J]. 大学物理实验, 2024, 37(4): 73-79.
[2] 曲长红, 冯正南. 基于LabVIEW的单臂直流电桥实验仿真系统[J]. 大学物理实验, 2023, 36(6): 107-114.
[3] 吴黄鑫, 王 强, 关兴彩 . 高纯锗探测器实验的可视化数据分析系统 [J]. 大学物理实验, 2023, 36(5): 102-107.
[4] 李 曼, 张淳棠, 刘安琪, 郭宇锋 , 杨可萌, 姚佳飞, 张 珺. 基于 LabVIEW 与 TCAD 的 MOS 场效应晶体管虚拟仿真实验平台设计与实现 [J]. 大学物理实验, 2023, 36(3): 106-110.
[5] 陈禹同, 罗 浩, 王慧丽 . 基于虚拟仪器的微小位移测量实验 [J]. 大学物理实验, 2023, 36(2): 81-84.
[6] 徐 强 , 张昕妍 , 杨玲珍 . 基于 LabVIEW的电信号傅里叶分解合成实验系统开发[J]. 大学物理实验, 2023, 36(2): 132-138.
[7] 白洪亮 , , 刘仕洁 , 范博文 , 张若晗 , 李世济 , 李雪春 , . 多维磁场实时扫描再现教学系统的设计与实现 [J]. 大学物理实验, 2023, 36(1): 107-113.
[8] 刘小利. 虚拟示波器在医学物理实验中的应用 [J]. 大学物理实验, 2022, 35(6): 17-20.
[9] 孙 超 , 段彬 , 胡长城 , 姚烨 , 于 跃 . 基于 LabVIEW 的核衰变统计规律虚拟实验系统设计 [J]. 大学物理实验, 2022, 35(6): 91-95.
[10] 黄 林, 丁晓夏 , 唐一文. 基于LabVIEW和PASCO传感器的多普勒测速实验 [J]. 大学物理实验, 2022, 35(5): 105-108.
[11] 徐一清, 周益民, 周国泉, 倪涌舟. 基于 NI 数据采集卡的铂电阻温度系数测量 [J]. 大学物理实验, 2022, 35(4): 90-94.
[12] 李文韬 , 孙茜茜 , 余茗舟 , 陆辰凌 , 李永涛, 王增旭, . 基于LabVIEW 的虚拟弗兰克赫兹实验仪 [J]. 大学物理实验, 2022, 35(2): 79-84.
[13] 黄 林, 丁晓夏, 韩凌云, 唐一文. 基于 Labview 的四探针法和卡文迪许扭秤测量半导体薄层电阻综合性实验设计 [J]. 大学物理实验, 2022, 35(1): 74-78.
[14] 原安娟 , 崔 敏, 吴 龙, 何 伟, 欧阳丽婷, 刘立英, 万 欣, 张 兵. 基于虚拟仪器技术的 RLC 电路特性研究 [J]. 大学物理实验, 2022, 35(1): 94-97.
[15] 王力, 施芸城, 杨旭方, 苗晓莉, 崔博, 王超梁, 杨华政. 基于LabVIEW的阿贝4F系统成像实验的仿真设计 [J]. 大学物理实验, 2020, 33(1): 85-89.
No Suggested Reading articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed