Master and slave type keyboard controller based on MCU (microprogrammed control unit) and CPLD (complex programmable logic device)

A main controller and controller technology, applied in the direction of comprehensive factory control, comprehensive factory control, electrical program control, etc., can solve the problems of resource consumption, no modularization of the main control, and single function of the controller, so as to improve the processing speed, The effect of low cost and simple structure

Inactive Publication Date: 2014-03-12
贺义方
View PDF0 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

A single MCU or CPLD as the main control consumes a lot of resources in the process of matrix keyboard scanning and button debounce. The controller must complete the encoding and decoding functions after completing the button detection, and transmit it to the operating device through the USB HID protocol and PS2 protocol.
When realizing complex keyboard control and gorgeous backlight control, there is a key delay, etc.
[0004] The existing controller has a single function, and it is impossible to realize free and flexi

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Master and slave type keyboard controller based on MCU (microprogrammed control unit) and CPLD (complex programmable logic device)
  • Master and slave type keyboard controller based on MCU (microprogrammed control unit) and CPLD (complex programmable logic device)
  • Master and slave type keyboard controller based on MCU (microprogrammed control unit) and CPLD (complex programmable logic device)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the schematic diagrams of the present invention are used to explain the present invention, but not to limit the present invention.

[0027] figure 2 It is a functional block diagram of the system structure of the present invention, including a master controller 101, a bus 111, a slave controller 102, and a reserved slave controller 103, etc.

[0028] The main controller 101 is developed based on the MCU device, and includes a communication module USB HID module 106, a PS2 module 107, a Bluetooth wireless module 108, a decoding and programming controller 109, a master-slave communication module 110, etc. for interacting with operating devices.

[0029] The master-slave communication module 110 is responsible for communicating with the slave controllers. The master c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a keyboard controller which comprises a master module based on an MCU (microprogrammed control unit) and a slave module designed based on a CPLD (complex programmable logic device); a master communicates with a slave through a bus; the slave detects every key of an independent keyboard by adopting CPLD device design, implements shake elimination processing and also outputs an LED (light emitting diode) control state; each IO (input/output) interface of the slave can be designed to be a key detection port or an LED state output port; a reserved IO interface can be used for freely and selectively increasing or decreasing a key or an LED; the master communicates with the slave through the bus to acquire key information of the independent keyboard and controls the slave to output the state; furthermore, the master encodes the keys to realize a function of a protocol layer and sends codes to a computer through an USB (universal serial bus) interface and a PS2 (play station 2) interface. Keyboard designs with different distributions and different functions can be realized by increasing or decreasing the number of the slaves; the master can change the function and the code of each IO of each slave by modifying firmware of the master.

Description

technical field [0001] The invention relates to a novel keyboard controller, in particular to a master-slave keyboard controller which is designed based on MCU and CPLD and can be freely developed, expanded and split. Background technique [0002] In the operation of operating equipment, the keyboard is a commonly used device to realize human-computer interaction. The keyboard is composed of keys, backlight and main controller. Due to the limitation of the IO resources of the controller, the existing keyboards are all designed with determinant matrix keyboards. Multiple buttons share limited IO resources, and the mode of software scanning and query is used to judge whether the buttons are pressed or released. [0003] Existing keyboards are all a master control. In the keyboards used by computer equipment, MCU is generally used as the master control. Some keyboards in test and measurement equipment such as oscilloscopes and signal sources use CPLD devices as controllers. A...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G05B19/418
CPCY02P90/02
Inventor 贺义方
Owner 贺义方
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products