Discuss the design of the direct current stream source of numerical control and realize simply

9,330

Discuss the design of the direct current stream source of numerical control and realize simply
Discuss the design of the direct current stream source of numerical control and realize simply

This circuit features high stability and precision, providing a direct current source that can be preset for various electronic devices. The numerical control direct current source designed here effectively reduces output errors caused by component wear, temperature drift, and other factors. The output current is adjustable from 20mA to 2000mA with preset capabilities. Additional functionalities include step-by-step adjustment, direct display of output current signals, and voice prompts. The hardware utilizes the SPCE061A microcontroller to control the core, employing closed-loop control principles and feedback loops to ensure accurate output current regulation through a PID algorithm. This system is reliable, compact, and user-friendly, featuring a friendly human-machine interface. The design integrates a microcontroller for presetting output current values, with real-time display via a liquid crystal module controlled through a keyboard. The overall hardware comprises modules such as the microcontroller, voltage-current conversion, keyboard, display, direct current stabilization power supply, and voice prompt. The microcontroller serves as the core of the system, coordinating functions such as voice reporting, keyboard setup, and real-time information display. The SPCE061A microcontroller incorporates various integrated circuits including ADC, DAC, PLL, AGC, DTMF, and an LCD driver, utilizing a simplified RISC instruction set for efficient operation. It also features DSP capabilities with 16 built-in multipliers and adders, significantly enhancing algorithm execution speed. The development environment supports standard C language and assembly language for streamlined software development. The display module primarily shows the output current value and other user-configurable information, utilizing a character-type LCD (LCD-SMC1602A) for clear visual representation. This module is lightweight, energy-efficient, and offers excellent visibility, making it suitable for displaying letters, numbers, and symbols without requiring extensive peripheral circuitry.

The electronic schematic for this direct current source circuit outlines a robust design aimed at precise control and user interaction. The core component, the SPCE061A microcontroller, acts as the brain of the system, managing the operation of the entire circuit. It interfaces with various modules to achieve the desired functionalities. The voltage-current conversion module is essential for translating the digital signals from the microcontroller into the desired analog output current, maintaining accuracy across the adjustable range.

The PID control algorithm implemented within the microcontroller ensures that the output current remains stable despite variations in load or environmental conditions. Feedback from the output is continuously monitored, allowing the system to make real-time adjustments to maintain the set current level. This closed-loop control mechanism enhances the reliability of the circuit, making it suitable for applications requiring consistent performance.

The user interface is designed for ease of use, featuring a keyboard for inputting preset values and a liquid crystal display that provides real-time feedback on the output current. The voice prompt functionality serves as an additional layer of user interaction, providing auditory confirmation of settings and adjustments.

In summary, this direct current source circuit is an advanced tool for electronic applications, combining precision control, user-friendly interfaces, and robust performance through its carefully selected components and design principles. The integration of modern microcontroller technology allows for efficient operation and simplifies the overall hardware complexity while enhancing functionality.It uses good stability, precision to be high outputting the direct current stream source that can be presetted often in electronic device. The numerical control direct current stream source that this text designs can well lower the output error caused because of reasons such as components and parts wearing out, temp drift, etc.

, output current is at 20mA-2000mA adjustable, it can preset, have output current  Functions such as step-by-step adjustment, output current signal but direct display and voice prompt, etc. The hardware circuit adopts and insults the open one-chip computer SPCE061A in order to control the core, utilizes the close cycle control principle, add the backfeed loop, make the whole circuit form a closed loop, mainly make use of PID algorithm to realize the accuracy control to the output current in software.

This system reliability is high, small and operating simple and convenient, man-machine interface friendship. Originally design adopting the one-chip computer as the main control unit, is presetted the current value of the output and adopts the module real-time display of the liquid crystal through the keyboard.

The whole system hardware part is made up of module such as microcontroller, voltage electric current changing, keyboard, revealing, direct-flow stabilized voltage supply and voice prompt. The system makes up the block diagram and is shown as in Fig. 1. The microcontroller is a core of the overall system, are responsible for the operation of the overall system.

In order to realize that it is stable and reliable, easy to realize the coordination in functions such as pronunciation reporting, keyboard setting up and real-time display of information, etc. to simplify circuit of the hardware, system performance, after proving through many kinds of schemes, the microcontroller chooses SPCE061A which insults the open company, integrate circuit such as ADC, DAC, PLL, AGC, DTMF, LCD-Driver relate to IC type within this one-chip computer.

It adopts and simplifies the instruction set RISC, Instruction cycle counts as the unit with CPU clock. In addition, it also has DSP functions concurrently, 16 built-in multipliers of hardware and adders, and is equipped with the special order that DSP has, have accelerated the running speed of different algorithms greatly.

Can use and insult the open one-chip computer to employ the developing instrument under the environment of Windows at the same time, this tool supports standard language C and Ling Yang`s one-chip computer assembler language, incorporate functions such as collecting, programming, emulation, etc. into an organic whole, have accelerated the software development process greatly. Use this one-chip computer as the control device more suitable, under the simple prerequisite of the circuit of the hardware, it is apt to realize functions such as A/D and D/A changing, operation of voice prompt, PID, etc.

The function that the display module mainly realizes is to reveal output value of electric current and other man-machine mutual information set up. This part can adopt seven sections of digital LED display units, reveal information such as figure, simple letter and radix point, but because their display information is single, human-computer interaction is unfriendly, this literary grace uses the liquid crystal display LCDSMC1602A module of the char type.

This module has light and thin and short and small, undervoltage low power loss, small, nonradiative, such advantages as the level right angle revealing and image is steady and without glare, and the visual area is large, one is effectual, definition high, antijamming capability is strong, suitable for use in revealing information such as the letter, figure, symbol, and does not need to expand too much peripheral circuit, can be controlled to export and reveal directly by the one-chip computer. The voltage electric current conversion module is 🔗 External reference