CN116528430A - Universal auxiliary control module with adjustable backlight - Google Patents
Universal auxiliary control module with adjustable backlight Download PDFInfo
- Publication number
- CN116528430A CN116528430A CN202211468344.6A CN202211468344A CN116528430A CN 116528430 A CN116528430 A CN 116528430A CN 202211468344 A CN202211468344 A CN 202211468344A CN 116528430 A CN116528430 A CN 116528430A
- Authority
- CN
- China
- Prior art keywords
- circuit
- backlight
- main control
- knob
- dimming
- 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
Links
- 238000005070 sampling Methods 0.000 claims abstract description 16
- 238000004891 communication Methods 0.000 claims description 12
- 230000005540 biological transmission Effects 0.000 claims description 4
- 238000000034 method Methods 0.000 abstract description 4
- 208000003464 asthenopia Diseases 0.000 abstract description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/10—Intensity circuits
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/30—Driver circuits
- H05B45/32—Pulse-control circuits
- H05B45/325—Pulse-width modulation [PWM]
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/165—Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0233—Improving the luminance or brightness uniformity across the screen
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0626—Adjustment of display parameters for control of overall brightness
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0626—Adjustment of display parameters for control of overall brightness
- G09G2320/0633—Adjustment of display parameters for control of overall brightness by amplitude modulation of the brightness of the illumination source
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention discloses a universal auxiliary control module with adjustable backlight, which comprises: the backlight module comprises a plurality of keys, a plurality of knobs, a backlight lamp, a key state sampling circuit, a knob state sampling circuit, a main control circuit and a dimming circuit; the key state sampling circuit collects the working state of each key and transmits the working state to the host computer through the main control circuit and the USB interface circuit; the knob state sampling circuit collects the working state of each knob and transmits the working state to the host computer through the main control circuit and the USB interface circuit; the computer host converts the backlight brightness adjusting instruction into a brightness information message and transmits the brightness information message to the main control circuit through the USB interface, the main control circuit generates a PWM dimming signal according to the brightness information message and transmits the PWM dimming signal to the dimming circuit, and the dimming circuit generates a corresponding driving signal to adjust the brightness of the backlight; the invention can adjust backlight according to the use preference and environment, relieve visual fatigue generated in the use process of a user and meet the brightness requirement of the user.
Description
Technical Field
The invention belongs to the technical field of computer auxiliary control and information input, and particularly relates to a universal auxiliary control module with an adjustable backlight.
Background
The universal auxiliary control module refers to an instruction and data input device for operating equipment such as keys and knobs, is one of main embedded modules for computer auxiliary control, and can input specific signals and the like into a computer through the universal auxiliary control module, so that functions of sending commands and inputting data to the computer and the like are realized, and man-machine communication is realized.
In order to ensure normal use at night and in environments with darker light of specific environments, the conventional universal auxiliary control module is additionally provided with a backlight function, and the universal auxiliary control module with backlight can meet the use requirement in environments with poorer light of a part, but the backlight is unadjustable due to fixed light intensity, so that the fixed backlight intensity can not meet the requirement in certain specific environments.
Disclosure of Invention
In view of this, the invention provides a universal auxiliary control module with adjustable backlight, which can enable a user to realize corresponding functions through the universal auxiliary control module, and simultaneously adjust backlight according to use preference and environment, thereby relieving visual fatigue generated in the use process of the user and meeting the brightness requirement of the user.
The invention is realized by the following technical scheme:
a universal auxiliary control module with adjustable backlight, which is applied to a computer host, and comprises: the backlight module comprises a plurality of keys, a plurality of knobs, a backlight lamp, a key state sampling circuit, a knob state sampling circuit, a main control circuit and a dimming circuit;
the main control circuit is connected with the computer host through a USB interface circuit; the main control circuit adopts a GD32 chip.
The key state sampling circuit collects the working state of each key, generates a key state signal I of a switching value state, transmits the key state signal I to the main control circuit, and the main control circuit converts the key state signal I into a state key state signal II in the form of a USB communication data packet and transmits the state key state signal II to the host computer through the USB interface circuit to realize a key value function;
the knob state sampling circuit collects the working state of each knob, generates a knob state signal I of analog quantity state, transmits the knob state signal I to the main control circuit, and the main control circuit converts the knob state signal I into a knob state signal II in the form of a USB communication data packet, and transmits the knob state signal II to the computer host through the USB interface circuit so as to realize the data transmission function of the knob;
the user inputs a backlight brightness adjusting instruction to the computer host based on brightness requirement, the computer host converts the backlight brightness adjusting instruction into a brightness information message which is transmitted to the main control circuit through the USB interface, the main control circuit generates a PWM dimming signal according to the brightness information message and transmits the PWM dimming signal to the dimming circuit, and the dimming circuit generates a corresponding driving signal to adjust the brightness of the backlight.
Furthermore, the GD32 chip is provided with an HID library file, and the HID communication between the master control circuit and the host computer through the USB interface circuit is realized based on the HID library file.
Further, function customization is performed on the universal auxiliary control module based on the HID library file and with reference to the module coding protocol.
Further, the GD32 chip is provided with a PWM control register; the GD32 chip transmits a PMW dimming signal to the dimming circuit through the PWM control register;
the mode that GD32 chip passes through PWM control register to the dimming circuit and passes PMW dimming signal is: on the premise of not changing the period of the PWM square wave, the duty ratio of the PWM square wave output by the PWM control register is adjusted by adjusting the PWM control register, and the adjusted PWM square wave is transmitted to the dimming circuit; the dimming circuit is used for amplifying the power of the received PWM square wave to charge the backlight lamp, so as to control the charging current of the backlight lamp and adjust the brightness of the backlight lamp.
Furthermore, the module further comprises a CAN interface circuit, and the main control circuit and the computer host are connected through the CAN interface circuit;
the main control circuit transmits the key state signal and the knob state signal to the CAN interface circuit, and the CAN interface circuit respectively converts the key state signal and the knob state signal into corresponding message information and transmits the message information to the host computer.
The beneficial effects are that:
(1) According to the invention, through the cooperation between the main control circuit and other slave circuits, the data input of keys and key values to the computer host can be realized simultaneously, and the brightness of the backlight lamp of the universal auxiliary control module is adjusted through the computer host, so that the visual fatigue of a user in the use process is relieved, and the functions and brightness requirements of the user are met.
Meanwhile, the GD32 chip is adopted as the main control circuit, so that the dependence on imported components is reduced; the functions of key and knob data input can be realized through the functions of the GD32 chip, and the adjustment of the backlight lamp can be realized.
(2) The method can realize the function customization of the universal auxiliary control module by utilizing the self-contained HID library file of the GD32 chip, and meet the functional diversity requirement of users on the universal auxiliary control module.
(3) The invention can transmit the PMW dimming signal to the dimming circuit by utilizing the self-contained PWM control register of the GD32 chip without writing a new program, and adjust the charging current of the backlight by adjusting the duty ratio of the PWM square wave output by the PWM control register by adjusting the PWM control register, thereby realizing the adjustment of the brightness of the backlight.
(4) The main control circuit is also connected with the computer host through the CAN interface circuit, and the CAN interface circuit respectively converts the key state signal and the knob state signal into corresponding message information and transmits the message information to the computer host; to further ensure the accuracy of the command input to the host computer.
Drawings
FIG. 1 is a schematic diagram of a backlight-adjustable universal auxiliary control module according to the present invention.
Detailed Description
The invention will now be described in detail by way of example with reference to the accompanying drawings.
Example 1:
the embodiment provides a general auxiliary control module with adjustable backlight, which is applied to a computer host, referring to fig. 1, and includes: the backlight module comprises a plurality of keys, a plurality of knobs, a backlight lamp, a key state sampling circuit, a knob state sampling circuit, a main control circuit and a dimming circuit;
the main control circuit is connected with the computer host through a USB interface circuit;
the key state sampling circuit collects the working state of each key, generates a key state signal I of a switching value state, transmits the key state signal I to the main control circuit, and the main control circuit converts the key state signal I into a state key state signal II in the form of a USB communication data packet and transmits the state key state signal II to the host computer through the USB interface circuit to realize a key value function;
the knob state sampling circuit collects the working state of each knob, generates a knob state signal I of analog quantity state, transmits the knob state signal I to the main control circuit, and the main control circuit converts the knob state signal I into a knob state signal II in the form of a USB communication data packet, and transmits the knob state signal II to the computer host through the USB interface circuit so as to realize the data transmission function of the knob;
the user inputs a backlight brightness adjusting instruction to the computer host based on brightness requirement, the computer host converts the backlight brightness adjusting instruction into a brightness information message which is transmitted to the main control circuit through the USB interface, the main control circuit generates a PWM dimming signal according to the brightness information message and transmits the PWM dimming signal to the dimming circuit, and the dimming circuit generates a corresponding driving signal to adjust the brightness of the backlight.
Furthermore, the main control circuit adopts a GD32 chip, and the GD32 chip is provided with an HID library file and a PWM control register;
the HID communication function between the main control circuit and the host computer through the USB interface circuit is realized based on the HID library file; namely, the main control circuit and the host computer perform data transmission through an HID communication function; the general auxiliary control module can be functionally customized by utilizing the HID library file, and particularly, the HID library file is modified by the reference module coding protocol so as to realize functional diversity of the general auxiliary control module.
The GD32 chip transmits a PMW dimming signal to the dimming circuit through the PWM control register, namely, on the premise of not changing the period of the PWM square wave, the duty ratio of the PWM square wave output by the GD is adjusted through adjusting the PWM control register, and the adjusted PWM square wave is transmitted to the dimming circuit; the dimming circuit is used for amplifying the power of the received PWM square wave to charge the backlight lamp, so as to control the charging current of the backlight lamp and adjust the brightness of the backlight lamp.
Working principle:
the computer host is embedded with software matched with the backlight-adjustable universal auxiliary control module, the integrated development environment of the software is Keil envision 5, and a user can specify the functions of the universal auxiliary control module through the software, including numbers, letters, symbols and the like;
after the setting is successful, the circuit of the universal auxiliary control module is powered on and reset to start working, wherein the reset of the main control circuit comprises the initialization of a clock, a port, an interrupt and the like; after power-on, the computer host identifies the universal auxiliary control module through the USB interface circuit, and after the module is identified, the host pops up 'identify new USB equipment'; the main control circuit continuously carries out the state of the key and the knob to carry out the circular scanning, and if the key and the knob work are collected, the key state signal II and the knob state signal II are transmitted to the computer host so as to realize the key value function and the knob function. When the brightness of the backlight is required to be changed, a user inputs a backlight brightness adjusting instruction to the computer host, the USB key and the knob state communication are interrupted, the computer host converts the backlight brightness adjusting instruction into a brightness information message which is transmitted to the main control circuit through the USB interface, the main control circuit generates a PWM dimming signal according to the brightness information message and transmits the PWM dimming signal to the dimming circuit, and the dimming circuit generates a corresponding driving signal to adjust the brightness of the backlight.
Example 2:
the embodiment provides a universal auxiliary control module with adjustable backlight based on embodiment 1, which also comprises a CAN interface circuit, wherein a main control circuit and a computer host are connected through the CAN interface circuit;
the main control circuit transmits the key state signal and the knob state signal to the CAN interface circuit, and the CAN interface circuit respectively converts the key state signal and the knob state signal into corresponding message information and transmits the message information to the host computer; to further ensure the accuracy of the command input to the host computer.
The other working principles are the same as those of embodiment 1, and will not be described here again.
In summary, the above embodiments are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (5)
1. The utility model provides a general supplementary control module of adjustable in a poor light, its characterized in that is applied to the host computer, general supplementary control module includes: the backlight module comprises a plurality of keys, a plurality of knobs, a backlight lamp, a key state sampling circuit, a knob state sampling circuit, a main control circuit and a dimming circuit;
the main control circuit is connected with the computer host through a USB interface circuit; the main control circuit adopts a GD32 chip.
The key state sampling circuit collects the working state of each key, generates a key state signal I of a switching value state, transmits the key state signal I to the main control circuit, and the main control circuit converts the key state signal I into a state key state signal II in the form of a USB communication data packet and transmits the state key state signal II to the host computer through the USB interface circuit to realize a key value function;
the knob state sampling circuit collects the working state of each knob, generates a knob state signal I of analog quantity state, transmits the knob state signal I to the main control circuit, and the main control circuit converts the knob state signal I into a knob state signal II in the form of a USB communication data packet, and transmits the knob state signal II to the computer host through the USB interface circuit so as to realize the data transmission function of the knob;
the user inputs a backlight brightness adjusting instruction to the computer host based on brightness requirement, the computer host converts the backlight brightness adjusting instruction into a brightness information message which is transmitted to the main control circuit through the USB interface, the main control circuit generates a PWM dimming signal according to the brightness information message and transmits the PWM dimming signal to the dimming circuit, and the dimming circuit generates a corresponding driving signal to adjust the brightness of the backlight.
2. The backlight-adjustable universal auxiliary control module as claimed in claim 1, wherein the GD32 chip is provided with an HID library file, and HID communication between the main control circuit and the host computer through the USB interface circuit is realized based on the HID library file.
3. The backlight-adjustable universal auxiliary control module of claim 2, wherein the universal auxiliary control module is functionally customized based on HID library files and with reference to module encoding protocols.
4. The backlight-adjustable universal auxiliary control module as set forth in claim 1, wherein the GD32 chip has a PWM control register; the GD32 chip transmits a PMW dimming signal to the dimming circuit through the PWM control register;
the mode that GD32 chip passes through PWM control register to the dimming circuit and passes PMW dimming signal is: on the premise of not changing the period of the PWM square wave, the duty ratio of the PWM square wave output by the PWM control register is adjusted by adjusting the PWM control register, and the adjusted PWM square wave is transmitted to the dimming circuit; the dimming circuit is used for amplifying the power of the received PWM square wave to charge the backlight lamp, so as to control the charging current of the backlight lamp and adjust the brightness of the backlight lamp.
5. A backlight-adjustable universal auxiliary control module according to any one of claims 1-4, wherein the module further comprises a CAN interface circuit, and the main control circuit and the host computer are further connected through the CAN interface circuit;
the main control circuit transmits the key state signal and the knob state signal to the CAN interface circuit, and the CAN interface circuit respectively converts the key state signal and the knob state signal into corresponding message information and transmits the message information to the host computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211468344.6A CN116528430A (en) | 2022-11-22 | 2022-11-22 | Universal auxiliary control module with adjustable backlight |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211468344.6A CN116528430A (en) | 2022-11-22 | 2022-11-22 | Universal auxiliary control module with adjustable backlight |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116528430A true CN116528430A (en) | 2023-08-01 |
Family
ID=87403496
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211468344.6A Pending CN116528430A (en) | 2022-11-22 | 2022-11-22 | Universal auxiliary control module with adjustable backlight |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116528430A (en) |
-
2022
- 2022-11-22 CN CN202211468344.6A patent/CN116528430A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101916959B (en) | Laser switching-off device and switching-off method thereof | |
CN101197979A (en) | Energy-saving standby system of digital television receiver | |
TW200517929A (en) | Cursor control device | |
CN103298212A (en) | Control method and control device for illuminating lamps | |
CN102650904A (en) | Low power consumption circuit and method for reducing power consumption | |
CN116528430A (en) | Universal auxiliary control module with adjustable backlight | |
CN210377453U (en) | Double TYPE-C interface control circuit | |
CN201788900U (en) | Relay board and control system thereof | |
CN217902572U (en) | Simulation simulator | |
CN214255821U (en) | Multi-channel power supply management module with state display function | |
CN211906950U (en) | Voice control circuit | |
CN2622755Y (en) | Radio computer remote controller | |
CN103369759A (en) | One-to-many master-slave mode LED illumination remote-control device | |
CN218273322U (en) | Computer capable of utilizing keyboard and mouse one-key switch | |
CN202166965U (en) | Dual-purpose embedded Bluetooth keyboard for notebook computer | |
CN114217695A (en) | Standard keyboard adjusts luminance | |
CN217689816U (en) | Master control device with DMX512 and RDM functions | |
CN216531864U (en) | Intelligent lighting system based on RS485 communication | |
CN213582548U (en) | Short-distance bidirectional wireless communication control system | |
CN215933161U (en) | Low-power-consumption circuit of TFT and LED integrated display with multipath input standby and awakening | |
CN103605071A (en) | Handheld device applied to communication type intelligent load-limiting breaker | |
CN109982480A (en) | Four-way LED light source controller based on usb communication | |
CN215494932U (en) | Split assembled keyboard | |
CN203761359U (en) | Intelligent touch switch system and front and rear end control devices thereof | |
CN216411893U (en) | Wireless switch for measurement and control device of numerical control machine tool |
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 |