Backlight key device and instrument

By directly controlling the light signal input module in the two-wheel electric power-assist instrument, the problem of poor real-time performance of the button backlight function in the existing technology is solved, a higher response rate and user experience are achieved, and the requirements for resistance accuracy are reduced.

CN114449700BActive Publication Date: 2024-08-30SUZHOU DISCOVERY ACTION TECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210163809.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-22
Publication Date
2024-08-30
Estimated Expiration
2042-02-22

AI Technical Summary

Technical Problem

In the existing two-wheel electric power-assist instrument, the real-time performance of the button backlight function is poor, affected by temperature and the AD voltage sampling time is long, resulting in a reduced user experience.

Method used

Design a backlight button device that is directly connected to the light signal input module through the control module to control the lighting or extinguishing of the backlight module, avoiding the AD voltage sampling process, improving real-time performance and response rate, and reducing the accuracy of the backlight pull-up resistor. Require.

Benefits of technology

It improves user experience and instrument reliability, enhances real-time control and response speed of button backlight, and reduces the impact of temperature changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114449700B
    Figure CN114449700B
Patent Text Reader

Abstract

The invention discloses a backlight key device and an instrument. When a user wants to turn on the backlight of a key, the voltage at the control voltage output end is switched from the first voltage to the second voltage to control the backlight module to emit light. When a user wants to turn off the backlight of a key, the voltage at the control voltage output end is switched from the second voltage to the first voltage to control the backlight module to turn off. The first voltage is less than the second voltage. The user directly controls the light signal input module to control the light emission or extinguishing of the key backlight. The light signal input module is directly connected to the control module, and does not require conversion time, thereby improving real-time performance and response rate, and improving user experience. At the same time, the backlight pull-up resistor only plays a pull-up role, and there is no special requirement for the resistance accuracy. It will not be affected by temperature changes, and the reliability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of instruments, and in particular to a backlight key device and an instrument. Background Art

[0002] The two-wheel electric power-assisted instrument is an instrument with a power-assisted function. The instrument dial is provided with an instrument and a function button. The user can adjust the strength of the vehicle's power-assisted function according to his or her needs through the function button, and can also control whether the backlight of the button is turned on through the function button. The types of function buttons include a power button, a plus button, a minus button, and a setting button. In the prior art, turning on the backlight of a button requires reusing the same AD voltage sampling path as the setting button or the power button, and usually multiplexing detection is performed through AD voltage sampling.

[0003] Specifically, taking a multiplexed setting button and a setting button that is an automatic reset button as an example, the voltage value of the setting button detection pin of the processor is used to determine whether to enable the backlight function or the setting function. The setting button detection pin is connected to one end of the pull-up resistor, and the other end of the pull-up resistor is connected to the power supply. The setting button detection pin is also connected to the setting button and the light signal input module. The setting button and the light signal input module are connected to resistors of different resistance values, and the other ends of the resistors are grounded. When the setting button or the light signal input module is pressed, the resistor connected to the button will be connected. At this time, the processor will determine that the voltage value of the setting button detection pin after AD voltage sampling has changed to a preset voltage value. The processor determines whether to enable the backlight function or the setting function at this time through the preset voltage value.

[0004] It can be seen that this method requires AD voltage sampling, and AD voltage sampling has high requirements on the accuracy of the detection resistor. The accuracy of the detection resistor may be affected by temperature, and the resistance of the detection resistor will change due to temperature, and then the voltage divider of the detection resistor will also change, causing the voltage value of the processor's detection pin to change and not equal to the preset voltage value, resulting in the inability to detect when the button is pressed. In addition, AD voltage sampling is an AD conversion process, which takes a certain amount of time, resulting in poor real-time performance of the control method, reducing the user experience. Summary of the invention

[0005] The purpose of the present invention is to provide a backlight key device and an instrument, in which a user directly controls a light signal input module to further control the lighting or extinguishing of the key backlight. The light signal input module is directly connected to a control module and does not require conversion time, thereby improving real-time performance and response rate, and improving user experience. At the same time, the backlight pull-up resistor has no special requirements for resistance accuracy and will not be affected by temperature changes, thereby improving reliability.

[0006] In order to solve the above technical problems, the present invention provides a backlight key device, including a control module, a backlight pull-up resistor, a light signal input module, a voltage stabilizing module and a backlight module;

[0007] The voltage output end of the control module is connected to the first end of the backlight pull-up resistor, the second end of the backlight pull-up resistor is respectively connected to one end of the light signal input module and the negative electrode of the voltage stabilizing module, the positive electrode of the voltage stabilizing module is connected to the first end of the backlight module, the other end of the light signal input module and the second end of the backlight module are grounded, and the backlight voltage detection end of the control module is connected to the second end of the backlight pull-up resistor;

[0008] The control module is used to control the voltage at the voltage output end to switch from the first voltage to the second voltage when the first voltage is currently output and a light-on signal is detected, so as to control the backlight module to emit light; and to control the voltage at the voltage output end to switch from the second voltage to the first voltage when the second voltage is currently output and a light-off signal is detected, so as to control the backlight module to turn off; the first voltage is less than the second voltage.

[0009] Preferably, it also includes:

[0010] A capacitor with one end connected to the second end of the backlight pull-up resistor and the other end grounded.

[0011] Preferably, it further comprises a power button and a first pull-up resistor, wherein the voltage output end of the control module is connected to the first end of the first pull-up resistor, the second end of the first pull-up resistor is connected to one end of the power button, the other end of the power button is grounded, and the power button voltage detection end of the control module is connected to the second end of the first pull-up resistor;

[0012] The control module is also used to control the state of the power supply to switch from off to on when the state of the power supply is off and the time for detecting that the voltage at the second end of the first pull-up resistor is zero reaches a first preset time length; and to control the state of the power supply to switch from on to off when the state of the power supply is on and the time for detecting that the voltage at the second end of the first pull-up resistor is zero reaches a first preset time length.

[0013] Preferably, it further comprises a plus button and a second pull-up resistor, the voltage output end of the control module is connected to the first end of the second pull-up resistor, the second end of the second pull-up resistor is connected to one end of the plus button, the other end of the plus button is grounded, and the plus button voltage detection end of the control module is connected to the second end of the second pull-up resistor;

[0014] The control module is further used to control the output of the power auxiliary module to increase so as to improve the assist intensity when it is detected that the voltage of the second end of the second pull-up resistor is zero.

[0015] Preferably, it further comprises a minus button and a third pull-up resistor, wherein the voltage output end of the control module is connected to the first end of the third pull-up resistor, the second end of the third pull-up resistor is connected to one end of the minus button, the other end of the minus button is grounded, and the minus button voltage detection end of the control module is connected to the second end of the third pull-up resistor;

[0016] The control module is also used to control the output of the power auxiliary module to decrease so as to reduce the power assistance intensity when it is detected that the voltage of the second end of the third pull-up resistor is zero.

[0017] Preferably, it further comprises a setting button and a fourth pull-up resistor, wherein the voltage output end of the control module is connected to the first end of the fourth pull-up resistor, the second end of the fourth pull-up resistor is connected to one end of the setting button, the other end of the setting button is grounded, and the setting button voltage detection end of the control module is connected to the second end of the fourth pull-up resistor;

[0018] The control module is also used to control the state of the setting function to switch from off to on when it is detected that the voltage at the second end of the fourth pull-up resistor is zero for a second preset time period when the state of the setting function is off; and to control the state of the setting function to switch from on to off when it is detected that the voltage at the second end of the fourth pull-up resistor is zero for a second preset time period when the state of the setting function is on.

[0019] Preferably, the control module includes a processor and a voltage conversion module, the processor is connected to the voltage conversion module, the voltage output end of the voltage conversion module serves as the voltage output end of the control module, and the backlight voltage detection end of the processor serves as the backlight voltage detection end of the control module;

[0020] The processor is used to control the voltage of the voltage output end of the voltage conversion module to switch from the first voltage to the second voltage when the first voltage is currently output and the voltage of the second end of the backlight pull-up resistor is detected to be zero, so as to control the backlight module to emit light; and control the voltage of the voltage output end to switch from the second voltage to the first voltage when the second voltage is currently output and the voltage of the second end of the backlight pull-up resistor is detected to be zero, so as to control the backlight module to be turned off.

[0021] Preferably, the backlight module includes N groups of current limiting resistors and light-emitting diodes, one end of each group of current limiting resistors is connected to the positive electrode of the voltage stabilizing module, the other end of the current limiting resistor is connected to the anode of the light-emitting diode in the group, and the cathode of the light-emitting diode is grounded.

[0022] Preferably, it further comprises a photosensor, wherein the photosensor is connected to the control module;

[0023] The light sensor is used to output a signal representing the brightness of the ambient light to the control module according to the brightness of the ambient light;

[0024] The control module is further configured to output the second voltage when it is determined that the ambient brightness is lower than a preset brightness threshold according to the signal representing the brightness of the ambient light, and output the first voltage when it is determined that the ambient brightness is not lower than the preset brightness threshold.

[0025] In order to solve the above technical problem, the present invention also provides a meter, including the backlight key device as described above.

[0026] The present application provides a backlight key device and an instrument. The device is equipped with a light signal input module for controlling the backlight of the key. When the device is initially started, the backlight module is not illuminated by default. When the user wants to turn on the backlight of the key, after pressing the backlight key and releasing it, the control module detects a light-on signal, controls the voltage at the voltage output end to switch from the first voltage to the second voltage, and controls the backlight module to emit light; when the user wants to turn off the backlight of the key, after pressing the backlight key, the control module detects a light-off signal, controls the voltage at the voltage output end to switch from the second voltage to the first voltage, and controls the backlight module to turn off, and the first voltage is less than the second voltage. The user directly controls the light signal input module to control the light emission or extinguishing of the key backlight. The light signal input module is directly connected to the control module, and does not require conversion time, which improves real-time performance and response rate, and improves user experience. At the same time, the backlight pull-up resistor only plays a pull-up role, and there is no special requirement for the resistance accuracy, and it will not be affected by temperature changes, which improves reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the prior art and the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0028] Figure 1 A schematic structural diagram of a backlight key device provided by the present invention;

[0029] Figure 2This is a schematic structural diagram of another backlight key device provided by the present invention. DETAILED DESCRIPTION

[0030] The core of the present invention is to provide a backlight button device and instrument. The user directly controls the light signal input module to control the lighting or extinguishing of the button backlight. The light signal input module is directly connected to the control module and does not require conversion time, thereby improving real-time performance and response rate, and improving user experience. At the same time, the backlight pull-up resistor has no special requirements for resistance accuracy and will not be affected by temperature changes, thereby improving reliability.

[0031] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] Please refer to Figure 1 , Figure 1 This is a structural schematic diagram of a backlight key device provided by the present invention, the device comprises a control module 1, a backlight pull-up resistor 2, a light signal input module 3, a voltage stabilizing module and a backlight module 5;

[0033] The voltage output end of the control module 1 is connected to the first end of the backlight pull-up resistor 2, the second end of the backlight pull-up resistor 2 is respectively connected to one end of the light signal input module 3 and the negative electrode of the voltage stabilizing module 4, the positive electrode of the voltage stabilizing module 4 is connected to the first end of the backlight module 5, the other end of the light signal input module 3 and the second end of the backlight module 5 are grounded, and the backlight voltage detection end KEY1 of the control module 1 is connected to the second end of the backlight pull-up resistor 2;

[0034] The control module 1 is used to control the voltage at the voltage output end to switch from the first voltage to the second voltage when the first voltage is currently output and a light-on signal is detected, so as to control the backlight module 5 to emit light; and to control the voltage at the voltage output end to switch from the second voltage to the first voltage when the second voltage is currently output and a light-off signal is detected, so as to control the backlight module 5 to turn off; the first voltage is less than the second voltage.

[0035] The prior art needs to reuse the power button SW1 or set the button SW4 when realizing the backlight function of the button. The present solution provides a device with a built-in backlight button, which makes up for the lack of an independent button when the backlight function of the button is enabled in the prior art. Each time the light signal input module 3 is pressed, the control module 1 can detect that the voltage at the second end of the backlight pull-up resistor 2 is zero. If the voltage output end of the original control module 1 outputs the first voltage, it will switch to output the second voltage because the light signal input module 3 is pressed. If the second voltage is output, it will switch to output the first voltage. The second voltage is greater than the first voltage. Due to the existence of the voltage stabilizing module 4, the backlight module 5 will only emit light when the second voltage is output. Based on this, the light control button is pressed, and the switching of the output voltage of the voltage output end of the control module 1 can control the lighting and extinguishing of the backlight module 5, thereby improving the real-time performance and response rate.

[0036] Specifically, if the backlight module 5 does not emit light, the voltage output terminal of the control module 1 outputs the first voltage. At this time, the backlight pull-up resistor 2 plays a pull-up role. A high level is detected at the backlight voltage detection terminal KEY1 of the control module 1. Due to the existence of the voltage stabilizing module 4, the voltage allocated to the backlight module 5 is almost 0V, so the backlight module 5 does not emit light at this time. When the light signal input module 3 is pressed and released, the backlight voltage detection terminal KEY1 of the control module 1 detects that the voltage is zero, and the first output voltage is switched to the second voltage. The voltage value of the second voltage is greater than the first voltage. Due to the action of the voltage stabilizing module 4, the voltage allocated to the backlight module 5 is almost the on-voltage, so the backlight module 5 emits light, thereby improving reliability.

[0037] Specifically, if the backlight module 5 emits light, the voltage output terminal of the control module 1 outputs a second voltage. At this time, the backlight pull-up resistor 2 plays a pull-up role. A high level is detected at the backlight voltage detection terminal KEY1 of the control module 1. Due to the existence of the voltage stabilizing module 4, the voltage allocated to the backlight module 5 is almost the on-voltage, so the backlight module 5 emits light at this time. When the light signal input module 3 is pressed on, the backlight voltage detection terminal KEY1 of the control module 1 detects that the voltage is zero, and the output second voltage will be switched to the first voltage. The voltage value of the second voltage is greater than the first voltage. Due to the action of the voltage stabilizing module 4, the voltage allocated to the backlight module 5 is almost 0V, so the backlight module 5 does not emit light, thereby improving reliability.

[0038] It should be noted that when the backlight module 5 switches from non-illumination to illumination, the light signal input module 3 is pressed and then popped up to illuminate. When it pops up, the second voltage output by the control module 1 will reach the backlight module 5, which is also in line with the user's operation. When the backlight module 5 switches from illumination to non-illumination, the backlight module 5 will directly stop emitting light when the light signal input module 3 is pressed.

[0039] It should be noted that the first voltage needs to be greater than the minimum value of the high level that the control module 1 can recognize, and the second voltage needs to be less than the maximum value of the high level that the control module 1 can recognize.

[0040] In addition, the backlight pull-up resistor 2 plays a pull-up role and can also prevent the voltage at the voltage output end of the control module 1 from being directly grounded and short-circuited when the light signal input module 3 is pressed.

[0041] In addition, the device uses less wire material, saving costs.

[0042] In general, the present application provides a backlight key device and an instrument. The device is equipped with a light signal input module 3 for controlling the backlight of the key. When the device is initially started, the backlight module 5 is not illuminated by default. When the user wants to turn on the backlight of the key, the control module 1 detects a light-on signal, controls the voltage at the voltage output end to switch from the first voltage to the second voltage, and controls the backlight module 5 to illuminate. When the user wants to turn off the backlight of the key, the control module 1 detects a light-off signal, controls the voltage at the voltage output end to switch from the second voltage to the first voltage, and controls the backlight module 5 to extinguish. The first voltage is less than the second voltage. The user directly controls the light signal input module 3 to control the light or extinguishing of the key backlight. The light signal input module 3 is directly connected to the control module 1, and does not require conversion time, which improves real-time performance and response rate, and improves user experience. At the same time, the backlight pull-up resistor 2 only plays a pull-up role, and there is no special requirement for the resistance accuracy, and it will not be affected by temperature changes, which improves reliability.

[0043] Based on the above embodiments:

[0044] Please refer to Figure 2 , Figure 2 This is a schematic structural diagram of another backlight key device provided by the present invention.

[0045] As a preferred embodiment, it also includes:

[0046] A capacitor with one end connected to the second end of the backlight pull-up resistor 2 and the other end grounded.

[0047] A capacitor is added to the circuit, which is connected to the second end of the backlight pull-up resistor 2 and the other end is grounded. The capacitor can play a filtering role, making the signal more stable when the key is pressed. At the same time, the capacitor and the backlight pull-up resistor 2 used for pull-up and short-circuit prevention together constitute a key debouncing circuit, which further increases the stability and reliability when the key is pressed.

[0048] As a preferred embodiment, it also includes a power button SW1 and a first pull-up resistor R1, the voltage output end of the control module 1 is connected to the first end of the first pull-up resistor R1, the second end of the first pull-up resistor R1 is connected to one end of the power button SW1, the other end of the power button SW1 is grounded, and the power button voltage detection end KEY2 of the control module 1 is connected to the second end of the first pull-up resistor R1;

[0049] The control module 1 is also used to control the state of the power supply to switch from off to on when the state of the power supply is off and the time for detecting that the voltage at the second end of the first pull-up resistor R1 is zero reaches a first preset time length; and to control the state of the power supply to switch from on to off when the state of the power supply is on and the time for detecting that the voltage at the second end of the first pull-up resistor R1 is zero reaches a first preset time length.

[0050] The user can control the power state through the power button SW1 of the device. When the function corresponding to the power button SW1 is to be enabled, the button needs to be long pressed. When the power button voltage detection terminal KEY2 of the control module 1 is continuously pulled down to zero for a first preset time, if the original power state is on, the power state is switched to off; if the original power state is off, the power state is switched to on, thereby improving the reliability of the solution.

[0051] In addition, the first pull-up resistor R1 plays a pull-up role and can also prevent the voltage at the voltage output end of the control module 1 from being directly grounded and short-circuited when the power button SW1 is pressed.

[0052] The circuit is also provided with a capacitor connected to the second end of the first pull-up resistor R1 and the other end of the capacitor is grounded. The capacitor can play a filtering role, so that the signal when the key is pressed is more stable. At the same time, the capacitor and the first pull-up resistor R1 used for pulling up and preventing short circuits together constitute a key debouncing circuit, which further increases the stability and reliability when the key is pressed.

[0053] In addition, the circuit can also be provided with a first diode D1, the anode of the first diode D1 is connected to the common end of the backlight pull-up resistor 2 and the light signal input module 3, and the cathode is connected to the negative electrode of the voltage stabilizing module 4. A second diode D2 and the first voltage stabilizing module Q1 can also be provided, the anode of the second diode D2 is connected to the common end connected to the first pull-up resistor R1 and the power button SW1, the cathode is connected to the negative electrode of the first voltage stabilizing module Q1, the positive electrode of the first voltage stabilizing module Q1 is connected to the backlight module 5, the first voltage stabilizing module Q1 has the same function as the voltage stabilizing module 4, and the first diode D1 and the second diode D2 can prevent backflow.

[0054] As a preferred embodiment, it also includes a plus button SW2 and a second pull-up resistor R2, the voltage output end of the control module 1 is connected to the first end of the second pull-up resistor R2, the second end of the second pull-up resistor R2 is connected to one end of the plus button SW2, the other end of the plus button SW2 is grounded, and the plus button voltage detection end KEY3 of the control module 1 is connected to the second end of the second pull-up resistor R2;

[0055] The control module 1 is also used to control the output of the power auxiliary module to increase so as to improve the power assistance intensity when it is detected that the voltage of the second end of the second pull-up resistor R2 is zero.

[0056] The user can increase the power assist strength of the instrument through the plus button SW2 of the device. After the user presses the plus button SW2, the voltage of the plus button voltage detection terminal KEY3 of the control module 1 is pulled down to zero, and the control module 1 controls the output of the power auxiliary module to increase the power assist strength, thereby improving the reliability of the solution.

[0057] In addition, the second pull-up resistor R2 plays a pull-up role and can also prevent the voltage at the voltage output end of the control module 1 from being directly grounded and short-circuited when the plus key SW2 is pressed.

[0058] The circuit is also provided with a capacitor connected to the second end of the second pull-up resistor R2 and the other end of the capacitor is grounded. The capacitor can play a filtering role, so that the signal when the key is pressed is more stable. At the same time, the capacitor and the second pull-up resistor R2 used for pulling up and preventing short circuits together constitute a key debouncing circuit, which further increases the stability and reliability when the key is pressed.

[0059] In addition, the circuit can also be provided with a first diode D1, the anode of the first diode D1 is connected to the common end of the backlight pull-up resistor 2 and the light signal input module 3, and the cathode is connected to the negative electrode of the voltage stabilizing module 4. A third diode D3 and a second voltage stabilizing module Q2 can also be provided, the anode of the third diode D3 is connected to the common end connected to the second pull-up resistor R2 and the plus button SW2, the cathode is connected to the negative electrode of the second voltage stabilizing module Q2, the positive electrode of the second voltage stabilizing module Q2 is connected to the backlight module 5, the second voltage stabilizing module Q2 has the same function as the voltage stabilizing module 4, and the first diode D1 and the third diode D3 can prevent backflow.

[0060] As a preferred embodiment, it also includes a minus button SW3 and a third pull-up resistor R3, the voltage output end of the control module 1 is connected to the first end of the third pull-up resistor R3, the second end of the third pull-up resistor R3 is connected to one end of the minus button SW3, the other end of the minus button SW3 is grounded, and the minus button voltage detection end KEY4 of the control module 1 is connected to the second end of the third pull-up resistor R3;

[0061] The control module 1 is further used to control the output of the power auxiliary module to decrease so as to reduce the power assistance intensity when it is detected that the voltage of the second end of the third pull-up resistor R3 is zero.

[0062] The user can reduce the power assistance intensity of the instrument through the minus button SW3 of the device. After the user presses the minus button SW3, the voltage of the minus button voltage detection terminal KEY4 of the control module 1 is pulled down to zero, and the control module 1 controls the output of the power auxiliary module to reduce the power assistance intensity, thereby improving the reliability of the solution.

[0063] In addition, the third pull-up resistor R3 plays a pull-up role and can also prevent the voltage at the voltage output end of the control module 1 from being directly grounded and short-circuited when the minus key SW3 is pressed.

[0064] The circuit is also provided with a capacitor connected to the second end of the third pull-up resistor R3 and the other end grounded. The capacitor can play a filtering role, making the signal more stable when the key is pressed. At the same time, the capacitor and the third pull-up resistor R3 used for pull-up and short-circuit prevention together constitute a key debouncing circuit, which further increases the stability and reliability when the key is pressed.

[0065] In addition, the circuit can also be provided with a first diode D1, the anode of the first diode D1 is connected to the common end of the backlight pull-up resistor 2 and the light signal input module 3, and the cathode is connected to the negative electrode of the voltage stabilizing module 4. A fourth diode D4 and a third voltage stabilizing module Q3 can also be provided, the anode of the fourth diode D4 is connected to the common end connected to the third pull-up resistor R3 and the minus button SW3, the cathode is connected to the negative electrode of the third voltage stabilizing module Q3, the positive electrode of the third voltage stabilizing module Q3 is connected to the backlight module 5, the third voltage stabilizing module Q3 has the same function as the voltage stabilizing module 4, and the first diode D1 and the fourth diode D4 can prevent backflow.

[0066] As a preferred embodiment, it also includes a setting button SW4 and a fourth pull-up resistor R4, the voltage output end of the control module 1 is connected to the first end of the fourth pull-up resistor R4, the second end of the fourth pull-up resistor R4 is connected to one end of the setting button SW4, the other end of the setting button SW4 is grounded, and the setting button voltage detection end KEY5 of the control module 1 is connected to the second end of the fourth pull-up resistor R4;

[0067] The control module 1 is also used to control the state of the setting function to be switched from off to on when it is detected that the voltage at the second end of the fourth pull-up resistor R4 is zero for a second preset time period when the state of the setting function is off; and to control the state of the setting function to be switched from on to off when it is detected that the voltage at the second end of the fourth pull-up resistor R4 is zero for a second preset time period when the state of the setting function is on.

[0068] The user can control the state of the setting function through the setting button SW4 of the device. When the function corresponding to the setting button SW4 is to be enabled, the button needs to be long pressed. When the setting button voltage detection terminal KEY5 of the control module 1 is continuously pulled down to zero for a second preset time period, if the original state of the setting function is on, the state of the setting function is switched to off; if the original state of the setting function is off, the state of the setting function is switched to on, thereby improving the reliability of the solution.

[0069] In addition, the fourth pull-up resistor R4 plays a pull-up role and can also prevent the voltage at the voltage output end of the control module 1 from being directly grounded and short-circuited when the setting button SW4 is pressed.

[0070] The circuit is also provided with a capacitor connected to the second end of the fourth pull-up resistor R4 and the other end of the capacitor is grounded. The capacitor can play a filtering role, so that the signal when the key is pressed is more stable. At the same time, the capacitor and the fourth pull-up resistor R4 used for pulling up and preventing short circuit together constitute a key debouncing circuit, which further increases the stability and reliability when the key is pressed.

[0071] In addition, the circuit can also be provided with a first diode D1, the anode of the first diode D1 is connected to the common end of the backlight pull-up resistor 2 and the light signal input module 3, and the cathode is connected to the negative electrode of the voltage stabilizing module 4. A fifth diode D5 and a fourth voltage stabilizing module Q4 can also be provided, the anode of the fifth diode D5 is connected to the common end of the fourth pull-up resistor R4 and the setting key SW4, the cathode is connected to the negative electrode of the fourth voltage stabilizing module Q4, the positive electrode of the fourth voltage stabilizing module Q4 is connected to the backlight module 5, the fourth voltage stabilizing module Q4 has the same function as the voltage stabilizing module 4, and the first diode D1 and the fifth diode D5 can prevent backflow.

[0072] As a preferred embodiment, the control module 1 includes a processor 11 and a voltage conversion module 12, the processor 11 is connected to the voltage conversion module 12, the voltage output end of the voltage conversion module 12 serves as the voltage output end of the control module 1, and the backlight voltage detection end KEY1 of the processor 11 serves as the backlight voltage detection end KEY1 of the control module 1;

[0073] The processor 11 is used to control the voltage at the voltage output end of the voltage conversion module 12 to switch from the first voltage to the second voltage when the first voltage is currently output and the voltage at the second end of the backlight pull-up resistor 2 is detected to be zero, so as to control the backlight module 5 to emit light; and to control the voltage at the voltage output end to switch from the second voltage to the first voltage when the second voltage is currently output and the voltage at the second end of the backlight pull-up resistor 2 is detected to be zero, so as to control the backlight module 5 to turn off.

[0074] The processor 11 detects whether a button is pressed through different detection terminals. When the power button SW1 is pressed, it can be detected through the power button voltage detection terminal KEY2. When the plus button SW2 is pressed, it can be detected through the plus button voltage detection terminal KEY3. When the minus button SW3 is pressed, it can be detected through the minus button voltage detection terminal KEY4. When the setting button SW4 is pressed, it can be detected through the setting button voltage detection terminal KEY5. When the light signal input module 3 is pressed, it can be detected through the backlight voltage detection terminal KEY1. The light signal input module 3 affects the voltage at the voltage output end of the voltage conversion module 12, specifically detecting the voltage of the backlight pull-up resistor 2. Each time the processor 11 detects that the voltage at the second end of the backlight pull-up resistor 2 is zero, it controls the voltage at the voltage output end of the voltage conversion module 12 to switch. When switching to the first voltage, the backlight module 5 does not emit light, and when switching to the second voltage, the backlight module 5 emits light, thereby improving the integrity and feasibility of the solution.

[0075] In addition, the processor 11 may be a microcontroller, and no additional limitation is given here.

[0076] In addition, when implementing the function, the program is relatively simple, and it is convenient to implement the complex logic of long and short presses.

[0077] As a preferred embodiment, the backlight module 5 includes N groups of current limiting resistors and light-emitting diodes, one end of each group of current limiting resistors is connected to the positive electrode of the voltage stabilizing module 4, the other end of the current limiting resistor is connected to the anode of the light-emitting diode in the group, and the cathode of the light-emitting diode is grounded.

[0078] The backlight module 5 is composed of a current limiting resistor and a light emitting diode. The current limiting resistor is used to limit the current to prevent the light emitting diode from burning out due to excessive current. The light emitting diode can be set behind the key. After emitting light, the backlight function of the key is realized, which improves the integrity of the solution.

[0079] In addition, multiple groups of current limiting resistors and light-emitting diodes can be provided, which can be set during production, and no additional restrictions are made here.

[0080] As a preferred embodiment, it also includes a photosensor, which is connected to the control module 1;

[0081] The light sensor is used to output a signal representing the brightness of the ambient light to the control module 1 according to the brightness of the ambient light;

[0082] The control module 1 is further configured to output a second voltage when it is determined that the ambient brightness is lower than a preset brightness threshold value based on a signal representing the brightness of the ambient light, and to output a first voltage when it is determined that the ambient brightness is not lower than the preset brightness threshold value.

[0083] Through the automatic mode of the device of this solution, the photosensor detects that the ambient light is insufficient. When the ambient brightness is lower than the preset brightness threshold, the control module 1 outputs the second voltage to control the backlight module 5 to emit light. When it is determined that the ambient brightness is not lower than the preset brightness threshold, the control module 1 outputs the first voltage to control the backlight module 5 not to emit light, thereby improving the integrity of the solution.

[0084] It should be noted that the control by pressing the button is the manual mode, and the priority of the manual mode is higher than the automatic mode, that is, once the manual mode is enabled, the automatic mode will be turned off, and different functions are realized through the control of the control module 1 based on the manual mode, thereby improving the reliability of the solution.

[0085] In order to solve the above technical problem, the present invention further provides an instrument, comprising the backlight key device as described above.

[0086] For an introduction to the instrument provided by the present invention, please refer to the above-mentioned embodiment of the backlight key device, which will not be described in detail here.

[0087] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0088] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

Claims

1. A backlight key device, characterized in that: It includes a control module, a backlight pull-up resistor, a light signal input module, a voltage regulator module and a backlight module; The voltage output end of the control module is connected to the first end of the backlight pull-up resistor, the second end of the backlight pull-up resistor is respectively connected to one end of the light signal input module and the negative electrode of the voltage stabilizing module, the positive electrode of the voltage stabilizing module is connected to the first end of the backlight module, the other end of the light signal input module and the second end of the backlight module are grounded, and the backlight voltage detection end of the control module is connected to the second end of the backlight pull-up resistor; The control module is used for controlling the voltage of the voltage output terminal to switch from the first voltage to the second voltage when the first voltage is currently output and a light-on signal is detected, so as to control the backlight module to emit light; When the second voltage is currently output and a light-off signal is detected, the voltage at the voltage output terminal is controlled to switch from the second voltage to the first voltage to control the backlight module to turn off; the first voltage is less than the second voltage; When the light signal input module is pressed, the control module detects that the voltage at the second end of the backlight pull-up resistor is zero, and if the voltage output end of the control module currently outputs the first voltage, it switches to output the second voltage; if the voltage output end of the control module currently outputs the second voltage, it switches to output the first voltage; The backlight pull-up resistor plays a pull-up role to prevent the voltage at the voltage output end of the control module from being directly grounded and short-circuited when the light signal input module is pressed; The control module includes a processor and a voltage conversion module, the processor is connected to the voltage conversion module, the voltage output end of the voltage conversion module serves as the voltage output end of the control module, and the backlight voltage detection end of the processor serves as the backlight voltage detection end of the control module; The processor is used for controlling the voltage of the voltage output terminal of the voltage conversion module to switch from the first voltage to the second voltage when the processor currently outputs the first voltage and detects that the voltage of the second terminal of the backlight pull-up resistor is zero, so as to control the backlight module to emit light; When the second voltage is currently output and it is detected that the voltage at the second end of the backlight pull-up resistor is zero, the voltage at the voltage output end is controlled to switch from the second voltage to the first voltage, so as to control the backlight module to turn off; Also includes: A capacitor having one end connected to the second end of the backlight pull-up resistor and the other end connected to ground; It also includes a power button and a first pull-up resistor, wherein the voltage output end of the control module is connected to the first end of the first pull-up resistor, the second end of the first pull-up resistor is connected to one end of the power button, the other end of the power button is grounded, and the power button voltage detection end of the control module is connected to the second end of the first pull-up resistor; The control module is further used to control the state of the power supply to switch from the off state to the on state when the state of the power supply is off and the time when the voltage at the second end of the first pull-up resistor is detected to be zero reaches a first preset time length; and control the state of the power supply to switch from the on state to the off state when the state of the power supply is on and the time when the voltage at the second end of the first pull-up resistor is detected to be zero reaches a first preset time length; It also includes a second diode and a first voltage stabilizing module, wherein the anode of the second diode is connected to the common end of the first pull-up resistor and the power button, the cathode is connected to the negative electrode of the first voltage stabilizing module, and the positive electrode of the first voltage stabilizing module is connected to the backlight module; It also includes a plus button and a second pull-up resistor, wherein the voltage output end of the control module is connected to the first end of the second pull-up resistor, the second end of the second pull-up resistor is connected to one end of the plus button, the other end of the plus button is grounded, and the plus button voltage detection end of the control module is connected to the second end of the second pull-up resistor; The control module is also used to control the output of the power auxiliary module to increase so as to improve the power assistance intensity when it is detected that the voltage of the second end of the second pull-up resistor is zero; It also includes a minus button and a third pull-up resistor, wherein the voltage output end of the control module is connected to the first end of the third pull-up resistor, the second end of the third pull-up resistor is connected to one end of the minus button, the other end of the minus button is grounded, and the minus button voltage detection end of the control module is connected to the second end of the third pull-up resistor; The control module is also used to control the output of the power auxiliary module to decrease so as to reduce the power assistance intensity when it is detected that the voltage of the second end of the third pull-up resistor is zero; It also includes a setting button and a fourth pull-up resistor, wherein the voltage output end of the control module is connected to the first end of the fourth pull-up resistor, the second end of the fourth pull-up resistor is connected to one end of the setting button, the other end of the setting button is grounded, and the setting button voltage detection end of the control module is connected to the second end of the fourth pull-up resistor; The control module is further used to control the state of the setting function to be switched from the off state to the on state when it is detected that the time when the voltage at the second end of the fourth pull-up resistor is zero reaches a second preset time length when the state of the setting function is off; and to control the state of the setting function to be switched from the on state to the off state when it is detected that the time when the voltage at the second end of the fourth pull-up resistor is zero reaches a second preset time length when the state of the setting function is on; The backlight module comprises N groups of current limiting resistors and light emitting diodes, one end of each group of current limiting resistors is connected to the positive electrode of the voltage stabilizing module, the other end of the current limiting resistors is connected to the anode of the light emitting diode in the group, and the cathode of the light emitting diode is grounded; It also includes a photosensor, which is connected to the control module; The light sensor is used to output a signal representing the brightness of the ambient light to the control module according to the brightness of the ambient light; The control module is further configured to output the second voltage when it is determined that the ambient brightness is lower than a preset brightness threshold according to the signal representing the brightness of the ambient light, and output the first voltage when it is determined that the ambient brightness is not lower than the preset brightness threshold; The backlight button is an independent button.

2. An instrument, characterized in that: It comprises the backlight key device as claimed in claim 1.

Citation Information

Patent Citations

  • Mobile terminal with key backlight controlling function

    CN102868795A

  • Keyboard backlight module

    CN104898851A

  • Circuit structure used for preventing start of tablet computer caused by mistakenly touching power key

    CN105302653A

  • Input device

    CN201425734Y