CN111679613A - Operating system based on single chip microcomputer - Google Patents

Operating system based on single chip microcomputer Download PDF

Info

Publication number
CN111679613A
CN111679613A CN202010601109.6A CN202010601109A CN111679613A CN 111679613 A CN111679613 A CN 111679613A CN 202010601109 A CN202010601109 A CN 202010601109A CN 111679613 A CN111679613 A CN 111679613A
Authority
CN
China
Prior art keywords
chip microcomputer
single chip
servo driver
control
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010601109.6A
Other languages
Chinese (zh)
Inventor
解海滨
张红军
赵卫民
杨明远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hebei Shengyong Technology Co ltd
Xingtai Polytechnic College
Original Assignee
Hebei Shengyong Technology Co ltd
Xingtai Polytechnic College
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hebei Shengyong Technology Co ltd, Xingtai Polytechnic College filed Critical Hebei Shengyong Technology Co ltd
Priority to CN202010601109.6A priority Critical patent/CN111679613A/en
Publication of CN111679613A publication Critical patent/CN111679613A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

The invention relates to an operating system based on a single chip microcomputer, which comprises: the touch screen, the touch screen is connected with the singlechip, the singlechip is connected with servo driver, be provided with display frame and control button on the touch screen, install analog switch in the servo driver, the analog switch model is DG413, be equipped with adjusting circuit and instruction circuit on the singlechip. The technical scheme is realized by taking the single chip microcomputer as a core, remotely setting and displaying working parameters of the servo driver through the touch screen, inputting digital signals through the touch screen, processing the digital signals through the adjusting circuit and the instruction circuit on the single chip microcomputer, converting the digital signals into analog signals, transmitting the analog signals into the servo driver, controlling the work of the servo driver and the analog switch, greatly improving the man-machine interaction capacity, and more conveniently monitoring the servo motor in real time and changing control parameters.

Description

Operating system based on single chip microcomputer
Technical Field
The invention relates to the technical field of control systems, in particular to an operating system based on a single chip microcomputer.
Background
The AC asynchronous motor is an electric driving device for converting electric energy into mechanical energy, a servo driver is an important component of modern motion control at present and is widely applied to controlling the AC asynchronous motor, a circuit, speed and position based on vector control are generally adopted in design, the servo driver and the AC asynchronous motor are an inseparable system and are connected through an encoder cable and a power cable, the servo driver receives a control instruction of a controller and then drives the AC asynchronous motor through the power cable, and the real-time position of the AC asynchronous motor is fed back to the servo driver through the encoder cable to form closed-loop control. At present, a Digital Signal Processor (DSP) is adopted as a control core in a mainstream servo driver, so that a relatively complex control algorithm can be realized, digitization, networking and intellectualization are realized, but the man-machine interaction capability is not strong, and the servo driver is inconvenient for monitoring a servo motor in real time and changing control parameters.
Disclosure of Invention
In order to solve the technical problems, the invention provides an operating system based on a single chip microcomputer, which has the advantages of strong man-machine interaction capability and convenience in operation.
In order to achieve the purpose, the technical scheme of the invention is as follows:
an operating system based on a single chip microcomputer comprises: the touch-sensitive screen, be equipped with serial communication connection port on the touch-sensitive screen, the touch-sensitive screen has the singlechip through serial communication connection, the singlechip is connected with the servo driver who is used for controlling alternating current asynchronous motor, be provided with on the touch-sensitive screen and show frame and control button, install analog switch in the servo driver, the analog switch model is DG413, be equipped with adjusting circuit and instruction circuit on the singlechip, adjusting circuit comprises digital potentiometer and operational amplifier, the instruction circuit in-connection has transistor 9012, transistor 9013 and operational amplifier.
The technical scheme is realized by taking the single chip microcomputer as a core, remotely setting and displaying working parameters of the servo driver through the touch screen, inputting digital signals through the touch screen, processing the digital signals through the adjusting circuit and the instruction circuit on the single chip microcomputer, converting the digital signals into analog signals, transmitting the analog signals into the servo driver, controlling the work of the servo driver and the analog switch, greatly improving the man-machine interaction capacity, and more conveniently monitoring the servo motor in real time and changing control parameters.
As a preferred aspect of the present invention, the display parameters in the display frame include a driver operating current, a motor rotation speed, a driver operating temperature, a power module operating temperature, and an alarm message.
According to the technical scheme, the driver working circuit represents the magnitude of real-time current flowing through the servo driver, the rotating speed of the motor represents the real-time rotating speed of the alternating-current asynchronous motor, the working temperature of the driver represents the real-time temperature of components inside the servo driver, the working temperature of the power module represents the real-time temperature of the power module, and the alarm information represents that early warning is displayed in time when faults such as overspeed, overpressure, overcurrent and encoder disconnection occur.
As a preferable aspect of the present invention, the control button includes a driver enable control, an alarm protection control, a reset control, a command voltage control, and a gain resistance control.
According to the technical scheme, various parameters of the servo driver are set through the touch screen, and the servo driver is convenient and fast to use.
As a preferable scheme of the present invention, a pin CT1 of the analog switch is connected to a pin P23 of a CPU of the one-chip microcomputer, and a pin CT2 of the analog switch is connected to a pin P24 of the CPU of the one-chip microcomputer.
When the CT1 is in a high level, the enable control EN is larger than the ENC, the servo driver is controlled to be enabled, and the working mode of the servo driver is controlled to be switched between the spindle and the feeding by the level change of the CT 2.
In a preferred embodiment of the present invention, the digital potentiometer is AD5290, and the operational amplifier is OPA 2188.
According to the technical scheme, the working voltage of the servo driver control circuit is positive and negative 15V, the AD5290 digital potentiometer is suitable for high-voltage devices compared with most digital potentiometers with the working voltage of 5V, the working voltage of the servo driver control circuit is positive and negative 15V, and the AD5290 digital potentiometer is suitable for high-voltage devices compared with most digital potentiometers with the working voltage of 5V.
As a preferable aspect of the present invention, the adjusting circuit employs an RC filtering technique.
By the technical scheme, the adjusting circuit can work in the environment with high electromagnetic interference.
In conclusion, the invention has the following beneficial effects: the single chip microcomputer is used as a core, the working parameters of the servo driver are remotely set and displayed through the touch screen, digital signals are input through the touch screen, processed through an adjusting circuit and an instruction circuit on the single chip microcomputer, and then converted into analog signals to be transmitted into the servo driver, so that the working of the servo driver and an analog switch are controlled, the man-machine interaction capacity is greatly improved, and the servo motor is more conveniently monitored in real time and the control parameters are changed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of an analog switch in an embodiment of the present invention.
FIG. 3 is a schematic diagram of an adjusting circuit according to an embodiment of the invention.
FIG. 4 is a diagram of an instruction circuit according to an embodiment of the present invention.
The corresponding part names indicated by the numbers and letters in the drawings:
1. a touch screen; 2. a single chip microcomputer; 3. a servo driver; 4. an analog switch; 5. an adjustment circuit; 6. a digital potentiometer; 7. an operational amplifier; 8. an instruction circuit; 9. a transistor 9012; 10. a transistor 9013.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Examples
As shown in fig. 1 to 4, the present invention provides an operating system based on a single chip microcomputer, including: the touch screen comprises a touch screen 1, a serial communication connection port is arranged on the touch screen 1, the touch screen 1 is connected with a single chip microcomputer 2 through serial communication, the single chip microcomputer 2 is connected with a servo driver 3 used for controlling an alternating current asynchronous motor, a display frame and a control button are arranged on the touch screen 1, an analog switch 4 is installed in the servo driver 3, the model of the analog switch 4 is DG413, an adjusting circuit 5 and an instruction circuit 8 are arranged on the single chip microcomputer 2, the adjusting circuit 5 is composed of a digital potentiometer 6 and an operational amplifier 7, and a transistor 90129, a transistor 901310 and an operational amplifier 7 are connected in the instruction circuit 8.
The display parameters in the display frame comprise a driver working current, a motor rotating speed, a driver working temperature, a power module working temperature and alarm information, a driver working circuit represents the magnitude of a real-time current flowing through the servo driver 3, the motor rotating speed represents the real-time rotating speed of an alternating current asynchronous motor, the driver working temperature represents the real-time temperature of components inside the servo driver 3, the power module working temperature represents the real-time temperature of the power module, the alarm information represents that early warning is timely displayed when faults such as overspeed, overpressure, overcurrent and encoder disconnection occur, a control button comprises a driver enabling control, an alarm protection control, a reset control, an instruction voltage control and a gain resistance control, various parameters of the servo driver 3 are set through the touch screen 1, and the display frame is convenient and rapid.
And a CT1 pin in the analog switch 4 is connected with a P23 pin of a CPU in the singlechip 2, a CT2 pin is connected with a P24 pin of the CPU in the singlechip 2, when the CT1 is at a high level, the enable control EN is greater than ENC, the enable on the servo driver 3 is controlled, and the level change of the CT2 controls the working mode of the servo driver 3 to be switched between the spindle and the feeding.
Preferably, the model of the digital potentiometer 6 is AD5290, the model of the operational amplifier 7 is OPA2188, the operating voltage of the control circuit of the servo driver 3 is plus or minus 15V, the AD5290 digital potentiometer 6 is a device suitable for high voltage compared with most digital potentiometers 6 with 5V, the operating voltage of the control circuit of the servo driver 3 is plus or minus 15V, and the AD5290 digital potentiometer 6 is a device suitable for high voltage compared with most digital potentiometers 6 with 5V.
Preferably, the adjusting circuit 5 employs an RC filtering technique, so that the adjusting circuit 5 can operate in an environment with high electromagnetic interference.
In the embodiment of the invention, a singlechip 2 is taken as a core, a working parameter of a servo driver 3 is remotely set and displayed through a touch screen 1, a digital signal is input through the touch screen 1, the digital signal is processed by an adjusting circuit 5 and an instruction circuit 8 on the singlechip 2 and then is converted into an analog signal to be transmitted into the servo driver 3, the working of the servo driver 3 and an analog switch 4 are controlled, the man-machine interaction capacity is greatly improved, and the servo motor is more conveniently monitored in real time and the control parameter is changed; the single chip microcomputer 2 is of an STC15W408AS model, the touch screen 1 is of a DWTL543 color touch screen 1, the touch screen 1 is provided with a setting and display unit of working parameters of a servo driver 3 of an alternating current asynchronous motor which is designed by taking the single chip microcomputer 2 as a core, the single chip microcomputer 2 is connected with a PC (personal computer) through RS485 serial port communication, a control program is introduced into the single chip microcomputer 2 through the PC, and the single chip microcomputer 2 converts an analog quantity measured by the servo motor into a digital quantity through an input end to be displayed on a display frame of the touch screen 1; meanwhile, a corresponding control button on the touch screen 1 is pressed, an instruction is sent to the single chip microcomputer 2, the instruction is converted into analog quantity through an output port of the single chip microcomputer 2 to control the servo driver 3, an analog switch 4DG413 is used for replacing an electromagnetic relay and a manual selection switch, the use of the servo driver 3 is more convenient, the servo driver 3 is connected with the single chip microcomputer 2, the single chip microcomputer 2 is connected with the touch screen 1, the function of remotely controlling a working mode of a servo motor through the single chip microcomputer 2 through the touch screen 1 is achieved, the energy consumption is reduced, the area of a PCB is reduced, and the servo driver 3 of the alternating current asynchronous motor is integrated with a control; the digital potentiometer 6 is used for replacing a current plate used for adjusting current feedback gain, the digital potentiometer 6 controlled by the single chip microcomputer 2 is changed into a mode that the gain of an operational amplifier 7 is adjusted, parameters are set through the touch screen 1, the single chip microcomputer 2 controls the resistance value of the digital potentiometer 6 through serial ports SCK and SD I, so that the gain of the operational amplifier 7 is adjusted, the use and field debugging are greatly facilitated, the PWM (pulse width modulation) output of a CPU (central processing unit) in the single chip microcomputer 2 is utilized, the operational amplifier 7 is combined to synthesize a speed regulation command voltage of positive and negative 10V, a command switching control P15 is arranged in the command circuit 8, a transistor 901310 is conducted when the P15 is high level, the manual speed regulation voltage V + is short-circuited, a PWM signal output by the single chip microcomputer 2 is filtered, amplified, adjusted and added to the positive end of the operational amplifier 7 to serve as the; when the P15 is at low level, the transistor 90129 is connected, the output of the singlechip 2 is short-circuited, and the speed of the motor is controlled by manually regulating the speed of the voltage.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

1. An operating system based on a single chip microcomputer is characterized by comprising: the touch-sensitive screen, be equipped with serial communication connection port on the touch-sensitive screen, the touch-sensitive screen has the singlechip through serial communication connection, the singlechip is connected with the servo driver who is used for controlling alternating current asynchronous motor, be provided with display frame and control button on the touch-sensitive screen, install analog switch in the servo driver, the analog switch model is DG413, be equipped with adjusting circuit and instruction circuit on the singlechip, adjusting circuit comprises digital potentiometer and operational amplifier, the instruction circuit in-connection has transistor 90125, transistor 9013 and operational amplifier.
2. The operating system based on the single chip microcomputer according to claim 1, wherein the display parameters in the display frame include a driver operating current, a motor speed, a driver operating temperature, a power module operating temperature, and alarm information.
3. The operating system of claim 2, wherein the control buttons include driver enable control, alarm protection control, reset control, command voltage control, and gain resistance control.
4. The operating system as claimed in claim 1, wherein the analog switch has a pin CT1 connected to a pin P23 of the CPU of the single chip microcomputer and a pin CT2 connected to a pin P24 of the CPU of the single chip microcomputer.
5. The operating system as claimed in claim 1, wherein the digital potentiometer is of the type AD5290 and the operational amplifier is of the type OPA 2188.
6. The operating system based on the single chip microcomputer according to claim 5, wherein the adjusting circuit adopts an RC filtering technology.
CN202010601109.6A 2020-06-28 2020-06-28 Operating system based on single chip microcomputer Pending CN111679613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010601109.6A CN111679613A (en) 2020-06-28 2020-06-28 Operating system based on single chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010601109.6A CN111679613A (en) 2020-06-28 2020-06-28 Operating system based on single chip microcomputer

Publications (1)

Publication Number Publication Date
CN111679613A true CN111679613A (en) 2020-09-18

Family

ID=72456805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010601109.6A Pending CN111679613A (en) 2020-06-28 2020-06-28 Operating system based on single chip microcomputer

Country Status (1)

Country Link
CN (1) CN111679613A (en)

Similar Documents

Publication Publication Date Title
CN201887551U (en) Monitor and control device for medium and high-voltage switch cabinet
CN204886764U (en) Servo electric actuator
CN101719693A (en) Intelligent AC distribution monitoring system
CN209105065U (en) Motor driver and motor driven systems
CN212846415U (en) Operating system based on single chip microcomputer
CN111679613A (en) Operating system based on single chip microcomputer
US20170223903A1 (en) Method of controlling speed change of a pruning machine
CN101840209A (en) Intelligent electric actuating mechanism
CN212846416U (en) Digital display device based on single chip microcomputer
CN110058567A (en) A kind of servomotor energy-saving control system
CN209565588U (en) A kind of no sensitive servo tapping machine system
CN208903145U (en) A kind of PID temperature control training platform based on PLC
CN103825511A (en) DC-motor control system
CN204231243U (en) Be applied to the digitial controller of series machine
CN207742537U (en) A kind of SEW frequency converters ease of Use panel
CN201716555U (en) Intelligent electric actuator
CN213151941U (en) Working parameter adjusting circuit based on single chip microcomputer
CN216867170U (en) Visual touch system of servo hydraulic power unit of testing machine
RU2193630C1 (en) Excavator electric drive control device
CN213151942U (en) Speed synthesis instruction circuit based on single chip microcomputer
CN211577725U (en) Driver process control system
CN215067819U (en) Intelligent control device for rock tea green-making process
CN211846907U (en) Light-weight intelligent bridge crane electric control system based on PLC control
CN215117247U (en) Full autoloader controlling means and system based on PLC
CN219435240U (en) Card clothing package rolling machine power source remote monitoring system based on STM32 singlechip

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination