CN106707888B - Programmable control module and system, control method with the control module - Google Patents

Programmable control module and system, control method with the control module Download PDF

Info

Publication number
CN106707888B
CN106707888B CN201710084389.6A CN201710084389A CN106707888B CN 106707888 B CN106707888 B CN 106707888B CN 201710084389 A CN201710084389 A CN 201710084389A CN 106707888 B CN106707888 B CN 106707888B
Authority
CN
China
Prior art keywords
signal
control module
interface
programmable control
module
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.)
Active
Application number
CN201710084389.6A
Other languages
Chinese (zh)
Other versions
CN106707888A (en
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.)
Shandong Pulse Robot Technology Co Ltd
Original Assignee
Shandong Pulse Robot Technology Co Ltd
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 Shandong Pulse Robot Technology Co Ltd filed Critical Shandong Pulse Robot Technology Co Ltd
Priority to CN201710084389.6A priority Critical patent/CN106707888B/en
Publication of CN106707888A publication Critical patent/CN106707888A/en
Application granted granted Critical
Publication of CN106707888B publication Critical patent/CN106707888B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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)
  • Programmable Controllers (AREA)

Abstract

The invention discloses programmable control module and the system with the control module, control method; programmable control module includes: PCB substrate; it is equipped in the PCB substrate: microcontroller, scanning of a display unit, audio communication prompt unit, temperature protection unit and clock unit; the microcontroller, to adjust, control above-mentioned component;The scanning of a display unit, to Dynamically Announce operating parameter on a display screen;The audio communication prompt unit, to carry out voice signal prompt;The temperature protection unit, temperature when to monitoring;The clock unit, to timing, power-off protection;It further include a power management module, to be powered to the programmable control module;It further include a communication interface, to be communicated with external bus.The present invention saves additional development cost, simplifies the upgrading of product by the way that general component to be integrated into a PCB substrate.

Description

Programmable control module and system, control method with the control module
Technical field
The present invention relates to controller fields, the in particular to system of control module and control with the control module.
Background technique
Controller (controller), which refers to, to be changed the wiring of main circuit or control circuit according to predetermined order and changes electricity Resistance value enables device to control starting, speed regulation, braking and reversely main of motor in road.By program counter, order register Device, command decoder, clock generator and operation controller composition, it is publication order " policy-making body ", that is, completes to coordinate With the operation for commanding entire computer system.
In general, controller needs to have following function:
Data buffering since the rate of I/O equipment is lower and the rate of CPU and memory is very high, therefore in the controller must It must one buffer of setting.In output, the data transmitted by host high speed are kept in this buffer, then just with I/O equipment institute The rate having gives the data transmission in buffer to I/O equipment;In input, buffer is then used to keep in and send from I/O equipment The data come, it is waiting receive batch of data after, then send the data high-speed in buffer to host.
Error Control, device controller also be concurrently in charge of to by I/O equipment transmission come data progress error detection.If it was found that passing Occur mistake in sending, usually by error detecting code set, and is reported to CPU, then CPU makees the data that this transmission comes It is useless, and re-start primary transmission.It can guarantee the correctness of data input in this way.
Data exchange, this refers to the data exchange realized between CPU and controller, between controller and equipment.For preceding Person is concurrently to write the data to controller by CPU, or data are concurrently read from controller by data/address bus;For The latter is that equipment enters data into controller, or sends equipment to from controller.For this purpose, data must be arranged in the controller Register.
The state that the state controller of state description, mark and reporting device should write down equipment understands for CPU.For example, only When the equipment is in ready for sending state, CPU could start controller and read data from the device.For this purpose, in the controller One status register should be set, a certain state of equipment is reflected with each of these position.When CPU is by the content of the register After reading, the state of the equipment can be understood.
Order is received and recognized, CPU can send a variety of different orders to controller, and device controller should be able to receive simultaneously Identify these orders.For this purpose, there should be corresponding control register in the controller, it is used to store received order and parameter, And the received order of institute is decoded.For example, Magnetic Disk Controler can receive Read, Write, Format etc. that CPU is sent 15 different orders, and some orders also have parameter;Correspondingly, there are multiple registers and order in Magnetic Disk Controler Decoder etc..
Address Recognition, just as each of memory unit has an address, each of system equipment There is an address, and device controller must be capable of identify the address for each equipment that it is controlled.In addition, to make CPU Write-in (or reading) data, these registers can should all have unique address into (or from) register.
Currently, more typically type is microcontroller i.e. MCU to one of controller, by by ROM, RAM, CPU, I/O collection It closes in the same chip, does various combination control for different applications.
PLC controller, PLC are general purpose controller, programmable logic controller (PLC) (Programmable Logic Controller, abbreviation PLC), a kind of digital electronic device with microprocessor, the Digital Logic control for automation control Control instruction can be loaded storage in memory at any time and executed by device processed.Programmable controller is by innernal CPU, instruction and data The units institute such as memory, input-output unit, power supply mould group, digital simulation modularity is combined into, and is current automation application field One of " widest controller ".Currently, PLC controller is widely used in current industrial control field.In programmable logic Before controller occurs, generally to use hundreds of relay and counter that could form with the same function automatic Change system, and it is present, and the simple programmable logic controller module by programming has substantially been filled instead of these large sizes It sets.The system program of programmable logic controller (PLC) is initialized generally before factory to be finished, and user can be according to oneself need To meet different automated production requirements from the corresponding user program of edlin.
But due to PLC controller, because its volume, the mode of connection, combination, usage mode are restricted;Except this Except, PLC usually requires just to can be used by PLC special-purpose software in technical aspect, since PLC product versatility is high, causes The defects of product researched and developed easily is imitated, is copied.
PLC controller at least will include: power supply, and the power supply of PLC plays a very important role in the entire system.If None good, reliable power-supply system can not work normally, and general AC voltage fluctuations are in+10% (+15%) In range, other measures can not be taken and PLC is directly connected to AC network up.CPU is the control axis of PLC.It The user program keyed in from programmable device and data are received and stored according to the function that PLC system program assigns;Check power supply, storage Device, I/O and the state for guarding against timer, and the syntax error in user program can be diagnosed.When PLC puts into operation, first It receives the state and data of each input unit in scene in a manner of scanning, and is stored in I/O image area respectively, then from user's journey User program is read one by one in sequence memory, executes the result of logic or arithmetic operator by the regulation of instruction after command interpretation It is sent into I/O image area or data register.After being finished etc. all user programs, finally by each of I/O image area Data transmission in output state or output register is to corresponding output device, such circular flow, until out of service.It deposits The memory of reservoir, storage system software is known as system program memory, and the memory for storing application software is known as user program Memory.Input/output interface circuit, input interface circuit of the live input interface circuit by optically coupled circuit and microcomputer, effect It is the input channel of the connection interface of PLC and field control.Live output interface circuit is by output data register, gating circuit With interrupt requests circuit integration, acts on PLC and pass through execution unit output corresponding control of the live output interface circuit to scene Signal.Functional module, such as count, positioning functional module.Communication module, as Ethernet, RS485, Profibus-DP communicate mould Block etc..
Summary of the invention
How the technical problem to be solved by the present invention is to provide using the integrated of general performance circuit, researching and developing other products When can greatly reduce research and development cost, while the programmable control convenient for later maintenance, upgrading individual module, without influencing integrated circuit Molding block.
In addition, programmable control module by universal circuit it is intensive it is integrated together, completed using two-sided paster technique Board production processing;When researching and developing other products, it is only necessary to research and develop functional circuit, interface circuit.
Above-mentioned technical problem is solved, the present invention provides programmable control modules, comprising: PCB substrate, the PCB substrate On be equipped with: microcontroller, scanning of a display unit, audio communication prompt unit, temperature protection unit and clock unit,
The microcontroller, to adjust, control above-mentioned component;
The scanning of a display unit, to Dynamically Announce operating parameter on a display screen;
The audio communication prompt unit, to carry out voice signal prompt;
The temperature protection unit, temperature when to monitoring;
The clock unit, to timing, power-off protection;
It further include a power management module, to be powered to the programmable control module;
It further include a communication interface, to be communicated with external bus.
The microcontroller includes but is not limited to arithmetic unit and controller, and all operationss performed by arithmetic unit are all by controlling The control signal that device issues is commanded, also, an arithmetical operation generates operation result, a logical operation generation one A judgement.
Further, programmable control module further include: TTL signal interface is used as from the microcontroller to group The TTL data-signal of output is transferred directly to defeated people's interface of liquid crystal display panel through cable.
Further, programmable control module further include: serial ports turns parallel port unit, turns serial communication signal to provide Turn to interface/chip of Parallel Interface Communication signal.
Further, programmable control module further include: one expands I/O interface, and one end is connect with microcontroller, the other end It is connect with external equipment and/or memory.
Further, it is defeated to be also configured to the signal acquisition to a switching value controller, switching value for programmable control module Out,
Switch acquisition mode is configured,
Under above-mentioned switch acquisition mode, configures switch acquisition feature board (such as optical coupling isolation circuit) and terminal connects Oralia, and the acquisition feature board is introduced signals by the terminal interface plate, to by external signal and internal signal By Phototube Coupling, Signal Pretreatment, signal shaping,
It is sent by board to board connector to the programmable control module and carries out logical process.
Further, programmable control module is also configured to the control to a signal communication adapter, signal processing,
Communications adapter mode is configured,
Under above-mentioned communications adapter mode, communications adapter feature board is configured, adapter functions plate is to believe outside It number is protected with the level conversion of internal signal, communication security and the task of signal shaping,
Signal docks after above-mentioned pretreatment, through board to board connector with programmable control module, PLC technology Microcontroller in module cooperates communications adapter feature board, external interface board, and internal/external signal is introduced or drawn by terminal And it handles.
For example, the IO of the microcontroller as low level input port, exports high level by adapter functions plate, realizes electricity Flat conversion.For example, signal shaping realizes digital-to-analogue conversion by RC, oscillating circuit.
Further, programmable control module is also configured to the control to motor driving motion controller, at signal Reason,
Programmable control module directly controls current parameters, directioin parameter, rotary speed parameter, guarantor in motor drive controller Data are protected, and to motor real-time control and monitoring,
In said motor drive control device, it is equipped with DAC D/A converting circuit and pulse shaper, programmable control molding Digital signal of the block by I/O mouthfuls, board to board connector connect with motor driving motion controller, and implement to control.It is (optional Ground, specific control logic are worked out private code and are realized according to user demand)
Further, programmable control module is also configured to the control to a man-machine dialog interface controller, at signal Reason,
Programmable control module is as processing unit, in man-machine dialog interface controller, to the finger by CAN bus It enables and does relay process with man-machine interface, push button signalling input and output;
Programmable control module is parsed the touching signals of scanning of a display unit by serial ports, then by total Line is sent to other performers;
It by key pressing or lifts signal also and will be carried out by nucleus module and pre-process and parsed by logical requirements, after parsing It is equally instruction by power and energy, is sent to other bus performers.
The present invention also provides the systems with programmable control module, comprising: host computer, CAN protocol bus and such as The programmable control module,
The host computer is connect by the CAN protocol bus with the programmable control module,
The programmable control module is connect with CAN protocol bus, to receive bus communication signal, and in the micro-control It is adjusted, controls in device processed, and complete CAN networking by 2 line CAN protocol buses and carry out Web control;
The programmable control module is connect with a functional module, to execute at least one movement and/or then switching value Control function;
The functional module is connect by an interface board with terminal device, to connect with external wiring terminal and/or communication Mouth establishes connection;
The programmable control module further includes a wireless transport module, to establish wireless self-networking.
The invention also includes a kind of control method, using in the programmable control module, comprising steps of
Pretreatment: configuration feature plate and interface board,
S1 System self-test
Check whether display circuit shows normally,
Check whether working power is normal,
Check whether symbol is adjusted module peripheral temperature environment,
S2 Network Check
Check whether CAN communication is normal,
Check whether online submodule can establish handshaking information,
Global reset is sent by CAN bus to await orders information,
S3 functional check
It executes all modules on network and presses warm-up condition movement,
Belt switch module, ADC, encoder module carry out feedback inspection,
Function logic is first carried out in advance,
S4 executes logic function operation
Input and output control is executed by user program,
S5 abnormality processing
Order is executed by abnormal logic after appearance exception.
Core board needs networking to use after configuration feature plate, interface board, (single machine using need under specific function or Special product use), hardware module is according to required networking.
Beneficial effects of the present invention:
Programmable control module in the present invention is equipped with: micro-control due to including: PCB substrate in the PCB substrate Device, scanning of a display unit, audio communication prompt unit, temperature protection unit and clock unit processed, the microcontroller, to adjust It saves, control above-mentioned component;The scanning of a display unit, to Dynamically Announce operating parameter on a display screen;The audio communication Prompt unit, to carry out voice signal prompt;The temperature protection unit, temperature when to monitoring;The clock Unit, to timing, power-off protection;It further include power management module, to be powered to the programmable control module;Also Including communication interface, to be communicated with external bus.By the way that general component to be integrated into a PCB substrate, save Additional development cost simplifies the upgrading of product.
Programmable control module in the present invention, in design compact, high integration, only matchbox size Nearly 80 multiple element is integrated on PCB.In addition, PCB is completed using two-sided paster technique, module collection " power supply, processor, display Processing, temperature self-checking, audio communication prompt, perpetual calendar clock IC are in one ";When designing other products, it is only necessary to simple peripheral circuit The research and development of integral product can be completed, can be light as long as it is constant to guarantee that interface defines when future upgrading new product substitutes old product It is readily accomplished new product upgrading.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of programmable control module of the invention;
Fig. 2 (a) is the microcontroller circuit schematic diagram in Fig. 1;
Fig. 2 (b) is the microcontroller circuit schematic diagram in Fig. 1;
Fig. 3 (a), Fig. 3 (b) are the scanning of a display element circuit schematic diagrams in Fig. 1;
Fig. 4 is the audio communication prompt unit circuit diagram in Fig. 1;
Fig. 5 is the temperature protection element circuit schematic diagram in Fig. 1;
Fig. 6 is the clock unit circuit diagram in Fig. 1;
Fig. 7 is the power management module circuit diagram in Fig. 1;
Fig. 8 is communication interface circuit schematic diagram in Fig. 1;
Fig. 9 is the system structure diagram that the present invention has programmable control module;
Figure 10 is control method flow diagram;
Figure 11 is the programmable control module positive structure schematic in one embodiment of the invention;
Figure 12 is the programmable control module structure schematic diagram in one embodiment of the invention.
Specific embodiment
The principle of the disclosure is described referring now to some example embodiments.It is appreciated that these embodiments are merely for saying It is bright and help it will be understood by those skilled in the art that with the purpose of the embodiment disclosure and describe, rather than suggest the model to the disclosure Any restrictions enclosed.Content of this disclosure described herein can be implemented in the various modes except mode described below.
As described herein, term " includes " and its various variants are construed as open-ended term, it means that " packet It includes but is not limited to ".Term "based" is construed as " being based at least partially on ".Term " one embodiment " it is understood that For " at least one embodiment ".Term " another embodiment " is construed as " at least one other embodiment ".
It is appreciated that PCB substrate in this application, is the basic material for manufacturing PCB, under normal circumstances, substrate is exactly Copper-clad laminate, single, double surface printed board are selectively to carry out hole on baseplate material-copper-clad laminate during manufacturing The processing such as processing, electroless copper, electro-coppering, etching, obtains required circuitous pattern.The manufacture of another kind of multilayer board, and Using the slim copper coated foil plate of inner core as base, conductive pattern layer is alternately sticked together through disposable lamination with prepreg, Form 3 layers or more conductive pattern interlayer interconnection.It has the function of three aspects of conductive, insulation and support.It is specific to weld first device When part, reference can be made to " electronic component welding standard " welds component.
It is appreciated that microcontroller (MCU) in this application can classify from different aspect: according to wide data bus Degree can be divided into 8,16 and 32 machines;Harvard structure and Von Neumann structure can be divided into according to memory construction;Root OTP, exposure mask, EPROM/EEPROM and flash memory Flash can be divided into according to the classification of embedded program memory;Again may be used according to order structure It is divided into CISC (Complex Instruction Set Computer) and RISC (Reduced Instruction Set Computer) microcontroller.
Switching value in the application, including but not limited to: switching value is on-off signal, passive signal, and the resis tance method of surveying is Resistance 0 or infinity;It is also possible to active signal, professional call is step signal, is exactly 0 or 1, it is possible to understand that at pulsed quantity, Multiple switch amount can form digital quantity.Digital quantity: the signal type being made of 0 and 1, it is usually regular after coding Signal.Relationship with analog quantity is the analog quantity after quantization.Analog quantity: continuous voltage, the semaphores such as electric current, analog signal It is the signal of amplitude consecutive variations at any time, is exactly digital quantity after oversampling and quantization.Pulsed quantity: in transient voltage or electricity Stream is jumped to the semaphore of another value by a certain value.After quantization, the variation of continuous rule is exactly digital quantity, if it is by 0 Become a certain fixed value and remain unchanged, is exactly switching value.
Please refer to the structural schematic diagram that Fig. 1 is programmable control module of the invention, programmable control module 100, comprising: PCB substrate is equipped in the PCB substrate: microcontroller 1, scanning of a display unit 5, audio communication prompt unit 2, temperature protection Unit 3 and clock unit 4, the microcontroller 1, to adjust, control above-mentioned component;The scanning of a display unit 5, To Dynamically Announce operating parameter on a display screen;The audio communication prompt unit 2, to carry out voice signal prompt;The temperature Spend protection location 3, temperature when to monitoring;The clock unit 4, to timing, power-off protection;It further include a power supply Management module 7, to be powered to the programmable control module;It further include a communication interface 6, to logical with external bus Letter.
In some embodiments, microcontroller 1 can use the STM8 family chip of Harvard structure, be meaning method half 8 single-chip microcontrollers of conductor company production, the model single-chip microcontroller are divided into tri- series of STM8A, STM8S, STM8L: STM8A: vapour Vehicle grade application/STM8S: standard series/STM8L: super low-power consumption MCU.
It is that the chip of microcontroller 1 is the chip of STM8S series, as shown in Fig. 2, having as shown in Fig. 2 (a) and Fig. 2 (b) UART, PWM, CAN interface, ADC converting interface etc..
In some embodiments, clock, reset and power management;Interrupt management;Timer;Communication interface;The port I/O; Above-mentioned communication interface is for example, the UART with synchronised clock output, smart card, infrared IrDA, LIN holotype interface.The end I/O Mouthful, for example, be up to 28 I/O on 32 feet encapsulation chip, including 21 high-selenium corn electric current outputs.
In some embodiments, using 8031 and dynamic scanning displaying device interfacing in scanning of a display unit 5, through Pl Mouth is connected with 8155, lights each LED in turn using one one, each stops the method for 1ms, utilizes the persistence of vision of people Phenomenon is lighted simultaneously as 6 LED.Specific such as Fig. 3 (a) is shown, including 16 bit constant-current LED drivers.Fig. 3 (b) is Each LED circuit schematic diagram.
In some embodiments, integrated speech chip I SD2560 is used in the audio communication prompt unit 2, carries out voice Alarm, it is preferable that can refer to the schematic diagram in Fig. 4.
In some embodiments, temperature protection unit 3 can use thermal protector, i.e., a kind of temperature controller device works as line In road when the temperature is excessively high, thermal protector will be triggered to disconnect circuit, in order to avoid cause equipment burnout phenomenon even electrical hazard Occur;After temperature is reduced in normal range (NR), closing of circuit restores normal operating conditions.Preferably, it can refer to the original of Fig. 5 Reason figure.
In some embodiments, temperature protection unit 3 can also include: the temperature controller of KI-31 series, main using a kind of Use bimetal leaf as the temperature module.When electric appliance works normally, bimetal leaf is in free state, and contact is in closure/disconnection State, when temperature reaches operating temperature, bimetal leaf is heated to be generated internal stress and acts rapidly, opened/closed contact, is cut It is disconnected/to connect circuit, to play temperature control function.When electric appliance is cooled to reset temperature, the automatic closed/open in contact is restored just Normal working condition.
In some embodiments, clock unit 4 can use perpetual calendar digital clock IC, be a kind of perpetual calendar clock core Piece realizes year, month, day, hour, min, second timing, and by giving the device that display chip shows after single-chip microcontroller processing, and mechanical Clock, which is compared, has higher accuracy and intuitive, and has longer service life, for example, clock chip uses PCF8563, PCF8563 be PHILIPS company release a technical grade include I2C bus interface function have extremely low power dissipation Multifunction timepiece/calendar chip.Internal clock circuit, internal oscillator circuit, internal low voltage detection circuit and two-wire system I2C bus communication mode not only makes peripheral circuit and its succinct, and also increases the reliability of chip.Preferably, it can refer to The schematic diagram of Fig. 6.
In some embodiments, the power management module in power management module 7 is opened by low-voltage detection circuit and power supply Dynamic circuit, voltage conversion circuit, driving circuit, control logic circuit, RAM save circuit etc. etc. point are constituted.Power starting circuit, It is responsible for the starting of power supply and restarts, generates power supply starting signal;Low-voltage detection circuit is monitored to internal electric source, is generated Low power event signal;Voltage conversion circuit converts external power supply under the control of logic control circuit, provides voltage To driving circuit;Three driving circuits flash memory into System on Chip/SoC (Flash), phaselocked loop (PLL) and micro-control respectively Device (MCU) processed provides supply voltage;Logic control circuit is the core of power management module and MCU, power starting circuit, low Voltage detecting circuit is interrelated, controls voltage conversion circuit, reaches the mesh of determining power management module working condition , realize the dynamic management to power supply.Preferably, it can refer to the schematic diagram of Fig. 7.
In some embodiments, communication interface 6 may include RS232 interface, RS485 interface etc., it is preferable that such as Fig. 8 institute The schematic diagram shown.
In some embodiments, programmable control module 100 mainly applies following product: d.c. motor intelligent control is opened Measure input/output module, communications adapter, man-machine interface manipulation pretreatment etc. in pass.
In some embodiments, the product being made of programmable control module 100 and functional circuit, is applied in various intelligence Manufacturing, such as rectangular co-ordinate servo type mechanical arm, cylinder type mechanical arm, aquaculture equipment, intelligent production line, pass through stepping Motor drive function plate is, it can be achieved that the products such as various metering pumps, motion control, angle displacement.By relay and light every composition The amount of opening the light input and output control, according to function difference, the conversion transmission-receiving function of various communications protocol can also be formed.For example, Programmable control module 100 realizes following functional circuits, cartesian co-ordinate type combination in rectangular co-ordinate servo type mechanical arm It is versatile and flexible, the uniaxial manipulator for arriving multiaxis can be assembled into, such as planer-type, cantilevered, wall-mounted, it can also be according to different Load, stroke, function and special space requirement, are the required product of custom.Meanwhile it can expand on the basis of tri- axis of X, Y, Z Rotary shaft and torsion shaft are opened up, constitutes five degree of freedom and six-DOF robot, or as the straight line in professional automated machine Positioning system.
In some embodiments, programmable control module 100 is also connect with pinboard, there is connecting terminal on pinboard;Turn Display board is also equipped on fishplate bar, the display board includes: LED charactrons and multi-functional navigation knob.
As preferred in the present embodiment, programmable control module 100 further include: TTL signal interface, to group as from The TTL data-signal exported in the microcontroller is transferred directly to defeated people's interface of liquid crystal display panel, TTL through cable (Transistor Transistor Logic) i.e. transistor-transistor logic, Transistor-Transistor Logic level signal is generated by TTL device.TTL Device is the one main kind of of digital integrated electronic circuit, it is manufactured using bipolar technology, have at high speed, low-power consumption and wide in variety etc. Feature.TTL signal interface includes but is not limited to: single channel (or single channel) 6bit TTL output interface, in above-mentioned interface circuit, It is transmitted using single-channel mode, each primary colour signal uses 6bit data (R0~R5, G0~G5, B0~B5).Due to primary colours RGB number According to for 18bit, therefore, also referred to as 18 or 18bit TTL interface.
TTL signal interface includes but is not limited to: in this interface circuit of two-way 6bit TTL output interface, using two-way side Formula transmission, each primary colour signal use 6bit data (odd road for 0RO~OR5, OG0~OG5, OB0~OB5;Even road be BRO~ ER5, EG0~EG5, EB0~EB5).Since primary colours RGB data is 36bit.
TTL signal interface includes but is not limited to: single channel 8bit TTL output interface, in above-mentioned interface circuit, using list Road mode is transmitted, and each primary colour signal uses 8bit data (R0~R7, G0~G7, B0~B7).Since primary colours RGB data is 24bit, therefore, also referred to as 24 or 24bit TTL interface.
TTL signal interface includes but is not limited to: two-way 8bit TTL output bit interface, in above-mentioned interface circuit, uses Two-way mode is transmitted, each primary colour signal use 8bit data (odd road for OR0~OR7, OG0~0G7, OB0~OB7;Even road is ER0~ER7, EG0~EG7, EB0~EB7), since primary colours RGB data is 48bit, also referred to as 48 or 48bit TTL connect Mouthful.
As preferred in the present embodiment, programmable control module 100 further include: serial ports turns parallel port unit, to provide Convert serial communication signal to interface/chip of Parallel Interface Communication signal.
As preferred in the present embodiment, programmable control module 100 further include: one expands I/O interface, one end and micro-control Device connection processed, the other end are connect with external equipment and/or memory.
Programmable control module 100 in the present invention is pacified in the PCB substrate due to including: above-mentioned PCB substrate It is equipped with: microcontroller, scanning of a display unit, audio communication prompt unit, temperature protection unit and clock unit, the microcontroller Device, to adjust, control above-mentioned component;The scanning of a display unit, to Dynamically Announce operating parameter on a display screen; The audio communication prompt unit, to carry out voice signal prompt;The temperature protection unit, temperature when to monitoring; The clock unit, to timing, power-off protection;Further include power management module, to the programmable control module into Row power supply;It further include communication interface, to be communicated with external bus.By the way that general component is integrated into a PCB substrate In, additional development cost is saved, the upgrading of product is simplified.
Fig. 9 is the system structure diagram that the present invention has programmable control module, and what it is with programmable control module is System, comprising: host computer 200, CAN protocol bus 300 and the programmable control module 100, the host computer 200 pass through The CAN protocol bus 300 is connect with the programmable control module 100, the programmable control module 100 and CAN protocol Bus 300 connects, and to receive bus communication signal, and is adjusted in the microcontroller, controls, and passes through 2 Line CAN protocol bus completes CAN networking and carries out Web control;The programmable control module and a functional module 400 Connection, to execute at least one movement and/or the then control function of switching value;The functional module passes through an interface board 500 It is connect with terminal device 600, to establish connection with external wiring terminal and/or communication interface;The programmable control module It further include a wireless transport module, to establish wireless self-networking.By the way that general component is integrated into a programmable control In the PCB substrate of molding block 100, additional development cost is saved, simplifies the upgrading of product.
As preferred in the present embodiment, programmable control module 100, comprising: PCB substrate is installed in the PCB substrate Have: microcontroller 1, scanning of a display unit 5, audio communication prompt unit 2, temperature protection unit 3 and clock unit 4, it is described micro- Controller 1, to adjust, control above-mentioned component;The scanning of a display unit 5 is grasped to Dynamically Announce on a display screen Make parameter;The audio communication prompt unit 2, to carry out voice signal prompt;The temperature protection unit 3, to monitoring When temperature;The clock unit 4, to timing, power-off protection;It further include a power management module 7, to be compiled to described Process control module is powered;It further include a communication interface 6, to be communicated with external bus.
As preferred in the present embodiment, pass through two CAN bus and control programmable control modules 100.
Figure 10 is control method flow diagram, is included the following steps:
Step S0 pretreatment: configuration feature plate and interface board;
Step S1 System self-test checks whether display circuit shows normally, checks whether working power is normal, checks module Whether symbol is adjusted (programmable control module) peripheral temperature environment;Whether there is the symbol of temperature DEG C.
Step S2 Network Check checks whether CAN communication is normal, checks online submodule (multiple programmable control modules) Whether can establish handshaking information, Global reset is sent by CAN bus and is awaited orders information;
Step S3 functional check executes all modules on network and presses warm-up condition movement, belt switch module, ADC, coding The module of device carries out feedback inspection, first carries out function logic in advance;For example, executing various arithmetical operations.For another example, various patrol is executed Operation is collected, and carries out logic testing, such as null detection or two comparisons being worth.
Step S4 executes logic function operation, executes input and output control by user program;
It include but is not limited to the signal acquisition, output switch parameter to a switching value controller in the step S4,
Switch acquisition mode is configured,
Under above-mentioned switch acquisition mode, switch acquisition feature board and terminal interface plate are configured, and pass through the end Sub-interface plate introduces signals into the acquisition feature board, external signal and internal signal are passed through Phototube Coupling, signal Pretreatment, signal shaping,
It is sent by board to board connector to the programmable control module and carries out logical process.
Include but is not limited in the step S4, control, signal processing to a signal communication adapter,
Communications adapter mode is configured,
Under above-mentioned communications adapter mode, communications adapter feature board is configured, adapter functions plate is to believe outside It number is protected with the level conversion of internal signal, communication security and the task of signal shaping,
Signal docks after above-mentioned pretreatment, through board to board connector with programmable control module, PLC technology Microcontroller in module cooperates communications adapter feature board, external interface board, and internal/external signal is introduced or drawn by terminal And it handles.
It include but is not limited to control, signal processing to motor driving motion controller in the step S4,
Programmable control module directly controls current parameters, directioin parameter, rotary speed parameter, guarantor in motor drive controller Data are protected, and to motor real-time control and monitoring,
In said motor drive control device, it is equipped with DAC D/A converting circuit and pulse shaper, programmable control molding Digital signal of the block by I/O mouthfuls, board to board connector connect with motor driving motion controller, and implement to control.
Include but is not limited in the step S4, control, signal processing to a man-machine dialog interface controller,
Programmable control module is as processing unit, in man-machine dialog interface controller, to the finger by CAN bus It enables and does relay process with man-machine interface, push button signalling input and output;
Programmable control module is parsed the touching signals of scanning of a display unit by serial ports, then by total Line is sent to other performers;
It by key pressing or lifts signal also and will be carried out by nucleus module and pre-process and parsed by logical requirements, after parsing It is equally instruction by power and energy, is sent to other bus performers.
Step S5 abnormality processing occurs executing order by abnormal logic after exception.
Please refer to Figure 11 and Figure 12, wherein Figure 11 is the programmable control module Facad structure in one embodiment of the invention Schematic diagram, Figure 12 are the programmable control module structure schematic diagrams in one embodiment of the invention.
Wherein, programmable control module, comprising: PCB substrate is equipped in the PCB substrate: microcontroller, display Device scanning element, audio communication prompt unit, temperature protection unit and clock unit, the microcontroller, on adjusting, control State component;The scanning of a display unit, to Dynamically Announce operating parameter on a display screen;The audio communication prompt unit, To carry out voice signal prompt;The temperature protection unit, temperature when to monitoring;The clock unit, to Timing, power-off protection;It further include a power management module, to be powered to the programmable control module;It further include one Communication interface, to be communicated with external bus.It include: scanning of a display processing MCU, serial ports turn in the front of the PCB substrate Chip, temperature sensor, board to board connector flow over (to realize and feature board TTL data exchange and associated communication function in parallel port Can), primary processor (such as MCU of STM8 series) and CAN bus transceiving chip.It include: number at the back side of the PCB substrate Code tube display interface, TTL wireless telecommunications expansion card, buzzer, button cell, clock chip, interface board power supply/communication connect Mouth, power management chip and program downloading mouth and expansion I/O mouth.
Although the disclosure acts to describe with specific structural features and/or method, but it is understood that wanting in appended right The disclosure limited in book is asked to be not necessarily limited to above-mentioned specific feature or action.But above-mentioned specific features and movement are only public It opens to implement the exemplary forms of claim.

Claims (8)

1. a kind of control method, using the system with programmable control module, including,
Host computer, CAN protocol bus and programmable control module,
The host computer is connect by the CAN protocol bus with the programmable control module,
The programmable control module is connect with CAN protocol bus, to receive bus communication signal, and in the microcontroller into Row is adjusted, is controlled, and is completed CAN networkings by 2 line CAN protocol buses and carried out Web control;
The programmable control module is connect with a functional module, to execute at least one movement and/or the then control of switching value Function processed;
The functional module is connect by an interface board with terminal device, to build with external wiring terminal and/or communication interface Vertical connection;
The programmable control module further includes a wireless transport module, to establish wireless self-networking;
The programmable control module includes,
PCB substrate is equipped with: microcontroller, scanning of a display unit, audio communication prompt unit, temperature protection unit and clock Unit,
The microcontroller, to adjust, control above-mentioned component;
The scanning of a display unit, to Dynamically Announce operating parameter on a display screen;
The audio communication prompt unit, to carry out voice signal prompt;
The temperature protection unit, temperature when to monitoring;
The clock unit, to timing, power-off protection;
It further include a power management module, to be powered to the programmable control module;
It further include a communication interface, to be communicated with external bus;
Characterized in that it comprises the following steps:
Pretreatment: configuration feature plate and interface board,
S1 System self-test
Check whether display circuit shows normally,
Check whether working power is normal,
Check whether symbol is adjusted module peripheral temperature environment,
S2 Network Check
Check whether CAN communication is normal,
Check whether online submodule can establish handshaking information,
Global reset is sent by CAN bus to await orders information,
S3 functional check
It executes all modules on network and presses warm-up condition movement,
Belt switch module, ADC, encoder module carry out feedback inspection,
Function logic is first carried out in advance,
S4 executes logic function operation
Input and output control is executed by user program,
S5 abnormality processing
Order is executed by abnormal logic after appearance exception.
2. control method according to claim 1, which is characterized in that further include: TTL signal interface, to group as from The TTL data-signal exported in the microcontroller is transferred directly to defeated people's interface of liquid crystal display panel through cable.
3. control method according to claim 1, which is characterized in that further include: serial ports turns parallel port unit, to provide by Serial communication signal is converted into interface/chip of Parallel Interface Communication signal.
4. control method according to claim 1, which is characterized in that further include: one expands I/O interface, one end and micro-control Device connection processed, the other end are connect with external equipment and/or memory.
5. control method according to claim 1-4, which is characterized in that be also configured to a switching value control The signal acquisition of device processed, output switch parameter,
Switch acquisition mode is configured,
Under above-mentioned switch acquisition mode, switch acquisition feature board and terminal interface plate are configured, and connect by the terminal Oralia introduces signals into the acquisition feature board, to locate external signal in advance by Phototube Coupling, signal with internal signal Reason, signal shaping,
It is sent by board to board connector to the programmable control module and carries out logical process.
6. control method according to claim 1-4, which is characterized in that be also configured to a signal communication The control of adapter, signal processing,
Communications adapter mode is configured,
Under above-mentioned communications adapter mode, configure communications adapter feature board, adapter functions plate to by external signal with Level conversion, the task of communication security protection and signal shaping of internal signal,
Signal docks after above-mentioned pretreatment, through board to board connector with programmable control module, programmable control module Interior microcontroller cooperates communications adapter feature board, external interface board, and internal/external signal is introduced or drawn by terminal and located Reason.
7. control method according to claim 1-4, which is characterized in that be also configured to drive a motor The control of motion controller, signal processing,
Programmable control module directly controls current parameters, directioin parameter, rotary speed parameter, protection number in motor drive controller According to, and to motor real-time control and monitoring,
In said motor drive control device, it is equipped with DAC D/A converting circuit and pulse shaper, programmable control module is logical Digital signal, the board to board connector for crossing I/O mouthfuls connect with motor driving motion controller, and implement to control.
8. control method according to claim 1-4, which is characterized in that be also configured to a human-computer dialogue The control of interfacial level controller, signal processing,
Programmable control module is as processing unit, in man-machine dialog interface controller, to by the instruction of CAN bus with Relay process is done in man-machine interface, push button signalling input and output;
Programmable control module is parsed the touching signals of scanning of a display unit by serial ports, is then sent out by bus It is sent to other performers;
By key pressing or lifts signal also and will be carried out by nucleus module and pre-process and parsed by logical requirements, it is same after parsing It is instruction by power and energy, is sent to other bus performers.
CN201710084389.6A 2017-02-16 2017-02-16 Programmable control module and system, control method with the control module Active CN106707888B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710084389.6A CN106707888B (en) 2017-02-16 2017-02-16 Programmable control module and system, control method with the control module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710084389.6A CN106707888B (en) 2017-02-16 2017-02-16 Programmable control module and system, control method with the control module

Publications (2)

Publication Number Publication Date
CN106707888A CN106707888A (en) 2017-05-24
CN106707888B true CN106707888B (en) 2019-01-25

Family

ID=58911693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710084389.6A Active CN106707888B (en) 2017-02-16 2017-02-16 Programmable control module and system, control method with the control module

Country Status (1)

Country Link
CN (1) CN106707888B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608334A (en) * 2017-09-07 2018-01-19 国营芜湖机械厂 Control panel portable detector in certain a kind of type digital communication part
CN107651513A (en) * 2017-10-16 2018-02-02 安徽杰奥电气有限公司 A kind of remote controlled formula cable trough
DE102017219001B3 (en) * 2017-10-24 2019-03-07 Festo Ag & Co. Kg Communication participant and communication system
CN109753013B (en) * 2017-11-02 2020-05-29 上海复旦微电子集团股份有限公司 Novel programmable chip circuit
CN107947126A (en) * 2017-11-20 2018-04-20 安徽晓星能源科技有限公司 One kind is applied to electrical cabinet detection of electrical leakage and protection system
CN108334019A (en) * 2018-01-23 2018-07-27 安徽杰智智能科技有限公司 A kind of more edit mode intelligent controllers
CN108469779A (en) * 2018-01-23 2018-08-31 安徽杰智智能科技有限公司 A kind of ad hoc network intelligent controller
CN111835382B (en) * 2019-04-16 2022-01-14 北京正唐科技有限责任公司 Frequency hopping radio station based on Si446x integrated radio frequency chip and R5F562N8 singlechip
CN110426989A (en) * 2019-08-28 2019-11-08 淮南市金德实业有限公司 A kind of intelligent CAP-B control system for glass fibre reinforced plastics rockbolts production
CN110704073B (en) * 2019-09-06 2023-04-18 北京时代民芯科技有限公司 Microcontroller programmer and programming method thereof
CN111427294B (en) * 2020-03-26 2021-09-07 郑州信大捷安信息技术股份有限公司 Redundant PLC program execution system and method
CN112233498B (en) * 2020-10-14 2023-01-06 烟台鼎钰电子科技有限公司 Tabular programmable display controller
CN112925380B (en) * 2021-02-04 2022-04-29 烽火通信科技股份有限公司 Complex communication equipment control method, device, equipment and storage medium
CN115542809B (en) * 2022-09-30 2024-02-20 佛山食神网络智能科技有限公司 Universal controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2879256Y (en) * 2006-03-30 2007-03-14 西门子(中国)有限公司 Controller
CN202433721U (en) * 2011-11-18 2012-09-12 南京航空航天大学 Servo controller for tri-axial antenna test robot
CN102801174A (en) * 2012-08-31 2012-11-28 长沙威胜能源产业技术有限公司 Main control module for low-voltage dynamic reactive harmonic comprehensive compensation device
CN202997981U (en) * 2012-11-03 2013-06-12 安徽工程大学 Multi-axis motion AC servo control system based on SERCOS bus and CAN bus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2879256Y (en) * 2006-03-30 2007-03-14 西门子(中国)有限公司 Controller
CN202433721U (en) * 2011-11-18 2012-09-12 南京航空航天大学 Servo controller for tri-axial antenna test robot
CN102801174A (en) * 2012-08-31 2012-11-28 长沙威胜能源产业技术有限公司 Main control module for low-voltage dynamic reactive harmonic comprehensive compensation device
CN202997981U (en) * 2012-11-03 2013-06-12 安徽工程大学 Multi-axis motion AC servo control system based on SERCOS bus and CAN bus

Also Published As

Publication number Publication date
CN106707888A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN106707888B (en) Programmable control module and system, control method with the control module
CN201177763Y (en) Novel intelligent electric activator
JP2006522412A5 (en)
CN106533874B (en) A kind of permanent magnet synchronous motor data communication system and method based on Modbus rtu protocol
CN101070855A (en) Pump smart control system based PROFIBUS-DP communication interface
CN204557149U (en) A kind of host computer remote communication module of multibeam laser light source module monitoring
CN202056383U (en) Intelligent actuator for controlling valve of alternating current machine
CN102841561B (en) Diaxon high speed adhesive dispensing robot servo-control system
CN105571690B (en) Digital weighing sensor and sensor network
CN108037674A (en) SCM Based Internet of Things long-distance intelligent appliance control system
CN102495613A (en) Controller area network (CAN)-control-based auxiliary control unit for locomotive
CN203271413U (en) Intelligent automobile window switch based on LIN bus interface
CN1655080A (en) Arm rack motion controller of concrete pump truck
CN106826836A (en) A kind of intelligent industrial robot control system
CN110673572A (en) User programmable universal industrial controller device
CN208766544U (en) Using the long-distance intelligent Pet house of wechat
CN110524155A (en) A kind of remote real-time monitoring system for welding robot system
CN109521776A (en) A kind of intelligent robot chassis control system
CN201972512U (en) Digital control system of universal type door device
CN201974664U (en) LCD (liquid crystal display) electronic manipulator of novel revolving door control system
CN204302785U (en) Based on the intelligent home control system of LABVIEW and 485 buses
CN205856745U (en) A kind of jet loom for drawing weft yarn control system
CN207742509U (en) SCM Based Internet of Things long-distance intelligent appliance control system
CN208848088U (en) A kind of portable integral new-energy passenger fault diagnosis system and device
CN203414788U (en) Novel off-site integrated wireless monitoring device

Legal Events

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