欢迎来到济南洁升电气设备有限公司官方网站!

关于我们-> 联系我们-> 网站地图

  1. 15098912336
  2. 15098912336
栏目导航
联系我们
服务热线
15098912336
电子邮箱:86674109@qq.com
地址: 山东省济南市历城区花园东路北
当前位置:主页 > 新闻资讯 > 公司动态 >
超声波清洗机清洗剂则温度越高,清洗作用越显
浏览: 发布日期:2019-08-17
超声波清洗机   
   单片机超声波清洗机的体系规划和调试浅谈_济南洁升超声波清洗机The system is intelligently controlled by the SPCE061A MCU, and the active stalking of the frequency is completed using the voltage maximum method. The ultrasonic cleaning machine has good cleaning effect, high conversion efficiency, and wide use vision.
Software design
体系由SPCE061A单片机完成了智能化操控,使用电压最大值法完成了频率的主动盯梢。该超声波清洗机清洗作用好,变换效率高,使用远景宽广。
The software design of the ultrasonic cleaning machine system uses u\u0026rsquo;nSPTM integrated development environment IDE, which integrates the functions of editing, compiling, connecting, debugging and simulation of the program, with friendly interactive interface, shortcut keys and quick visit list. Programming and debugging work is convenient and efficient. The SPCE061A MCU integrates a functional module for online programming control. Therefore, it is not necessary to insert or remove any chip during the debugging process, and there is no need to block the power supply.
软件设计
The control software of SPCE061A MCU consists of the main program and the abort service program. The main program flow chart is shown in Figure 5. The system is initialized at boot time. The initialization job includes CPU clock selection, punctual count clock setting, and initialization of the corresponding I/O port and A/D converter. In the meantime, the CPU clock frequency is set to 49.152MHz, and the punctual TimerA counting clock selects the highest clock frequency, that is, the CPU clock frequency is divided by two. The reason for selecting the highest clock frequency is that the high clock frequency is relatively simple to obtain an accurate reference frequency.
超声波清洗机体系软件设计选用u’nSPTM集成开发环境IDE,它集程序的编辑、编译、连接、调试以及仿真等功能为一体,具有友好的交互界面、快捷键和迅速拜访列表等,使编程、调试作业便利且高效。SPCE061A单片机内部集成了进行在线编程操控的功能模块,因而,在调试过程中无需插拔任何芯片,也无需堵截电源。
After the initialization of the punctual TimerA, the APWMO pin outputs a pulse sequence of 30 to 35 kHz, and the voltages of the ultrasonic transducers at both ends of the ultrasonic transducer are checked together, and the frequency corresponding to the maximum value of the voltage is set to the resonance frequency.
SPCE061A单片机的操控软件由主程序和中止效劳程序构成。主程序流程图如图5所示。开机时对体系进行初始化,初始化作业包含CPU时钟挑选、守时器计数时钟设置以及相应 I/O 口和A/D变换器的初始化。其间设置CPU时钟频率为49.152MHz,守时器TimerA计数时钟选用最高的时钟频率,即CPU时钟频率的二分频,选用最高时钟频率的原因是高的时钟频率对比简单得到准确的基准频率。
When the system is running in practice, the resonant frequency will also change due to changes in the parameters of the metadevice used and changes in operating conditions. After sampling the voltages at both ends of the transducer, the sampled values ??are sent to I0A0 (LIN-IN0), and the 10-bit successive A/D converter integrated in the SPCE061A microcontroller is used for analog-to-digital conversion.
经过对守时器TimerA的初始化,使APWMO引脚输出30~35kHz的脉冲序列,一起检查超声波清洗机超声波换能器两头电压,将电压最大值对应的频率设置为谐振频率。
In the practical program, the voltage values ??at both ends of the transducer are sampled 8 times in succession, and the average value is filtered, and the average value is taken as the A/D conversion result. The A/D conversion result is compared with the resonance voltage value, and the frequency of the APWMO output pulse sequence is adjusted according to the comparison result, thereby adjusting the resonance frequency in real time. The keyboard is identified by scanning the corresponding port by the program, and the operation mode, power, and punctual time set by the keyboard are dynamically displayed by the LED. The punctuality of the punctuality TimerB, the punctual time to stop, enter the suspension service program.
体系在实践运行时,因为所用元器材参数的改变及作业条件的改变,谐振频率也会发生改变。经过对换能器两头电压进行采样,将采样值送入I0A0(LIN-IN0),由SPCE061A单片机内部集成的10位逐次迫临式A/D变换器进行模数变换。
System debugging
实践程序中,接连采样8次换能器两头电压值,进行平均值滤波,取该平均值为A/D变换成果。将该A/D变换成果与谐振时电压值进行对比,根据对比成果调整APWMO输出脉冲序列的频率,从而实时调整谐振频率。键盘是经过程序对相应端口的扫描来辨认的,经过键盘设定的作业方式、功率、守时时刻由LED动态显示。守时选用守时器TimerB,守时时刻到发生中止,进入中止效劳程序。
The key to system debugging is the matching problem of the load loop. Before the ultrasonic cleaning system is debugged, the equipment of the series resonant circuit should be aged. During the debugging, the waveform of the voltage and current can be investigated by the high-frequency oscilloscope. The phase difference is compared and the relevant parameters ar超声波清洗机厂家e adjusted until the voltage and current are in phase.

网站首页| 产品中心| 客户感言| 应用案例| 新闻资讯| 关于我们| 联系我们|

Copyright ©超声波清洗机 版权所有 备案号:鲁ICP备13028315号-8技术支持:百度
公司地址:山东省济南市历城区花园东路北
联系电话:0531-68659883   15098912336
电子邮箱:86674109@qq.com传真:0531-68659883