Key control circuit and vehicle
By integrating the key detection circuit onto the communication bus and adjusting the voltage value using the key control component, the problems of low integration and delay caused by separating the key detection circuit and the data transmission circuit are solved, thus achieving circuit simplification and improved response speed.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-11
- Publication Date
- 2026-03-24
AI Technical Summary
In existing vehicles, the separate setup of button detection circuits and data transmission circuits results in low integration, complex wiring, weak response speed and real-time performance, which may cause signal transmission delays and affect safety.
By integrating the key detection circuit with the communication bus, adjusting the communication bus voltage value through the key control component, and controlling the voltage value using the switch module and the voltage supply module, the key press status can be quickly determined.
Simplify circuit design, reduce hardware weight, avoid signal transmission delay, improve button press response speed, and enhance system responsiveness and security.
Smart Images

Figure CN224035794U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of vehicle communication technology, in particular to a key control circuit and a vehicle. BACKGROUND
[0002] In modern vehicles, communication bus technology has become an important means for processing data transmission between components. Through centralized communication bus, various subsystems in the vehicle can achieve efficient information sharing and collaborative work. Generally, a key detection circuit is also provided in the vehicle to capture and process user input.
[0003] Generally, the data transmission circuit and the key detection circuit based on the communication bus are separately arranged, which will make the integration of the vehicle interior lower, not only the wiring is complex, but also it may cause the increase of the fault points in the vehicle interior. Moreover, the separately arranged data transmission circuit and key detection circuit may be weak in reaction speed and real-time, and the pressing condition of the key needs to be judged by an independent circuit and then sent to the corresponding processing component through the communication bus, which will increase the delay of signal transmission. For some subsystems with high real-time response requirements, such delay may cause safety problems of the vehicle. CONTENT OF THE UTILITY MODEL
[0004] The embodiments of the present application provide a key control circuit and a vehicle to reduce signal transmission delay and accelerate the response speed of key pressing.
[0005] In a first aspect, the embodiments of the present application provide a key control circuit, comprising a key control component, at least one processing component and a communication bus;
[0006] The output end of the key control component is connected to the communication bus, and is configured to adjust the voltage value of the communication bus based on the pressing condition of the plurality of keys in the key control component.
[0007] The processing component is connected to the communication bus, and the processing component acquires the voltage value of the communication bus and judges the pressing condition of the key according to different voltage values of the communication bus.
[0008] In a possible implementation, the key control component comprises a first key module, at least one second key module, a voltage supply module and a switch module.
[0009] The first end of the switch module is connected to the first key module, the second end of the switch module is connected to the voltage supply module, and the third end of the switch module is connected to the communication bus.
[0010] Each of the second key modules is connected to the voltage supply module through a corresponding voltage dividing module, so as to adjust the voltage value output by the voltage supply module to the switch module based on the pressing state of a second key in each of the second key modules.
[0011] The first key module and the voltage supply module are configured to control the switch module to be turned on or turned off based on the pressing state of a first key in the first key module and the voltage value output by the voltage supply module to the switch module, so as to control the corresponding voltage value of the communication bus.
[0012] In a possible implementation, the first key module includes a first key and a first resistor.
[0013] One end of the first key is grounded, and the other end is connected to a first end of the switch module in a manner of connecting the first resistor in series.
[0014] In a possible implementation, the voltage supply module includes a voltage control chip, a first diode, a second resistor and a third resistor.
[0015] A first end of the voltage control chip is grounded, a second end of the voltage control chip is connected to a second end of the switch module in a manner of connecting the first diode in series, and a third end of the voltage control chip is grounded in a manner of connecting the second resistor in series.
[0016] The third resistor is connected between the second end of the switch module and the third end of the voltage control chip.
[0017] The voltage control chip is configured to adjust the voltage value output to the switch module based on the pressing state of a second key in each of the second key modules.
[0018] In a possible implementation, the second key module includes a second key, a second diode and a fourth resistor.
[0019] One end of the second key is grounded, and the other end is connected to the third end of the voltage control chip in a manner of connecting the second diode and the fourth resistor in series.
[0020] In a possible implementation, the fourth resistors in each of the second key modules have different resistance values.
[0021] In a possible implementation, the key control circuit further includes an overvoltage protection module connected between the switch module and the communication bus, configured to control the switch module to be turned on or turned off based on the voltage of the communication bus, so as to prevent the voltage control chip from being damaged.
[0022] In a possible implementation, the switch module comprises a first transistor, a base of the first transistor is connected to the first button module, a collector of the first transistor is connected to the voltage supply module, and an emitter of the first transistor is connected to the communication bus.
[0023] The first transistor is configured to be turned off when no button in the first button module is pressed, and to be turned on when a button in the first button module is pressed, so as to connect the voltage supply module to the communication bus, thereby controlling the voltage value of the communication bus to be consistent with the voltage value output by the voltage supply module.
[0024] In a possible implementation, an isolation module is arranged between the first button module and each of the second button modules, and between any two of the second button modules, so as to electrically isolate them.
[0025] In a possible implementation, the button control circuit further comprises a bias voltage component connected to the communication bus, configured to provide a bias voltage for the communication bus.
[0026] In a possible implementation, the button control circuit further comprises a driving component connected between the sending end and the receiving end of the processing component and the communication bus.
[0027] The driving component is configured to receive target information sent by the sending end and send the target information to the communication bus, and receive information from the communication bus and send the information to the receiving end.
[0028] In a possible implementation, the driving component comprises a sending driving unit, an overcurrent protection unit, an overvoltage protection unit, and a receiving driving unit.
[0029] An input end of the sending driving unit is connected to the sending end of the processing component, and an output end of the sending driving unit is connected to an input end of the overcurrent protection unit.
[0030] An output end of the overcurrent protection unit is connected to the communication bus, and the overcurrent protection unit is configured to limit the current value output by the sending driving unit, so as to prevent the sending driving unit from being damaged.
[0031] The overvoltage protection unit is connected between the communication bus and the sending driving unit, and is configured to limit the voltage corresponding to the communication bus, so as to prevent the sending driving unit from being damaged.
[0032] An input end of the receiving driving unit is connected to the communication bus, and an output end of the receiving driving unit is connected to the receiving end of the processing component.
[0033] In a second aspect, the embodiments of the present application provide a vehicle, which is equipped with the key control circuit in the first aspect and / or various possible implementation manners of the first aspect.
[0034] The key control circuit and the vehicle provided by the embodiments of the present application can realize the fusion of the data transmission circuit and the key detection circuit by connecting the detection of the pressing condition of the key to the communication bus through the key control component, thereby not only significantly simplifying the circuit design, reducing the complexity of the circuit design and reducing the weight of the hardware device, but also avoiding the signal transmission delay of the key detection condition, thereby accelerating the response speed of the key pressing; and the key control circuit can adjust the voltage output by the voltage supply module to the communication bus based on the pressing condition of the key in the key control component through the setting of the switch component, so that the processing component can quickly judge the pressing condition of the key according to the different voltage values of the communication bus, thereby accelerating the response speed of the key pressing. BRIEF DESCRIPTION OF DRAWINGS
[0035] The accompanying drawings, which are incorporated herein and form part of the specification, illustrate embodiments consistent with the present application and, together with the description, further serve to explain the principles of the application.
[0036] Figure 1 A connection diagram of the key control circuit provided by the present application;
[0037] Figure 2 A connection diagram of the key control component provided by the present application;
[0038] Figure 3 A structure diagram of the first key module in the key control component provided by the present application;
[0039] Figure 4 A structure diagram of the voltage supply module in the key control component provided by the present application;
[0040] Figure 5 A structure diagram of the voltage supply module and the second key module in the key control component provided by the present application;
[0041] Figure 6 A structure diagram of the voltage supply module, the first key module, the second key module and the switch module in the key control component provided by the present application;
[0042] Figure 7 A connection diagram of another key control component provided by the present application;
[0043] Figure 8 A structure diagram of the voltage supply module, the first key module, the second key module, the switch module and the overvoltage protection module in the key control component provided by the present application;
[0044] Figure 9 Another connection diagram of the key control circuit provided by the present application is shown in FIG. 9;
[0045] Figure 10 A connection diagram of the key control assembly, the communication bus and the bias voltage module provided by the present application is shown in FIG. 10;
[0046] Figure 11 A connection diagram of the processing assembly, the driving assembly and the communication bus in the key control circuit provided by the present application is shown in FIG. 11;
[0047] Figure 12 A connection diagram of the processing assembly, the driving assembly and the communication bus in another key control circuit provided by the present application is shown in FIG. 12;
[0048] Figure 13 A structure diagram of the vehicle provided by the present application is shown in FIG. 13.
[0049] The specific embodiments of the present application have been shown and described through the above-mentioned drawings, and will be described in more detail hereinafter. These drawings and the written description are not intended to limit the scope of the present application concept in any way, but to illustrate the present application concept to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0050] The embodiments of the present application will be described in detail through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the disclosure. The present application can also be implemented or applied through different specific embodiments, and the details in the specification can be modified or changed based on different views and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0051] It should be noted that the diagrams provided in the following embodiments only illustrate the basic concept of the present application in a schematic manner, and only the components related to the present application are shown in the diagrams, not the number, shape and size of the components when actually implemented. The shape, number and proportion of each component when actually implemented can be arbitrarily changed, and the layout pattern of the components can be more complex.
[0052] Some exemplary embodiments of the present application are described for illustrative purposes, and it should be understood that the present application can be implemented in other ways not specifically shown in the drawings.
[0053] Please refer to Figure 1 In one embodiment, the present application provides a key control circuit 100, which comprises a key control assembly 110, at least one processing assembly 120 and a communication bus 130.
[0054] The output terminal of the button control component 110 is connected to the communication bus 130 and is used to adjust the voltage value output to the communication bus 130 based on the pressing status of multiple buttons in the button control component 110, so as to adjust the corresponding voltage value of the communication bus 130.
[0055] The processing component 120 is connected to the communication bus 130. Optionally, the acquisition end RX and the transmission end TX of the processing component 120 are respectively connected to the communication bus 130. The acquisition end RX is used to acquire the voltage value corresponding to the communication bus 130 so that the processing component 120 can determine the pressed button and the target information corresponding to the pressed button based on the voltage value corresponding to the communication bus 130. The transmission end TX is used to send the target information to the communication bus 130.
[0056] The aforementioned button control circuit, by setting up a button control component, connects the button press detection to the communication bus, thereby achieving the integration of the data transmission circuit and the button detection circuit. This not only significantly simplifies the circuit design, reduces its complexity, and decreases the weight of the hardware, but also avoids signal transmission delays in button detection, thus accelerating the button press response speed.
[0057] Optionally, the button control circuit can adjust the voltage output from the pressure supply module to the communication bus based on the button pressing status in the button control component by setting a switch component. This allows the processing component to quickly determine the button pressing status according to different voltage values on the communication bus, thereby speeding up the button pressing response speed.
[0058] like Figure 2 As shown, in one embodiment, the button control component 110 includes a first button module 111, at least one second button module 112, a pressure supply module 113, and a switch module 114.
[0059] The first end of the switch module 114 is connected to the first button module 111, the second end of the switch module 114 is connected to the pressure supply module 113, and the third end of the switch module 114 is connected to the communication bus 130.
[0060] Each second button module 112 is connected to the voltage supply module 113 through a corresponding voltage divider module 115, so as to adjust the voltage value output by the voltage supply module 113 to the switch module 114 based on the pressing status of the second button S2 in each second button module 112.
[0061] The first button module 111 and the pressure supply module 113 are used to control the switching module 114 to turn on or off based on the pressing status of the first button S1 in the first button module 111 and the voltage value output from the pressure supply module 113 to the switching module 114, so as to control the voltage value corresponding to the communication bus 130.
[0062] As shown in the figure, in an embodiment, the first key module 111 includes a first key S1 and a first resistor R1. Figure 3
[0063] One end of the first key S1 is grounded, and the other end is connected to the first end of the switch module 114 in a manner of connecting the first resistor R1 in series.
[0064] For example, in the specific application scenario of the key control circuit 100, the first key S1 may be, for example, a master key. If the first key S1 is disconnected, the second key S2 in the remaining second key module 112 cannot obtain the response of the processing component 120 regardless of whether it is closed or disconnected.
[0065] As shown in the figure, in an embodiment, the voltage supply module 113 includes a voltage control chip U1, a first diode D1, a second resistor R2 and a third resistor R3. Figure 4
[0066] The first end of the voltage control chip U1 is grounded, the second end is connected to the second end of the switch module 114 in a manner of connecting the first diode D1 in series, and the third end is grounded in a manner of connecting the second resistor R2 in series.
[0067] The third resistor R3 is connected between the second end of the switch module 114 and the third end of the voltage control chip U1.
[0068] The voltage control chip U1 is used to adjust the voltage value output to the switch module 114 based on the pressing condition of the second key S2 in each second key module 112.
[0069] The second resistor R2 and the third resistor R3 form a feedback network of the voltage control chip U1.
[0070] The voltage control chip U1 may be, for example, a three-terminal adjustable reference voltage chip.
[0071] Among them, the anode of the first diode D1 is connected to the second end of the switch module 114, and the cathode of the first diode D1 is connected to the second end of the voltage control chip U1.
[0072] For example, when the key control circuit 100 is applied to a vehicle, the first key S1 in the first key module 111 may be, for example, a master key of a vehicle body key, and the second key S2 in the second key module 112 may be, for example, a key capable of function integration and response through a button, a knob or the like, such as a driving control related key (such as a start key, an engine stop key, an electronic handbrake key, an automatic parking key), a vehicle light control key (such as a low beam key, a high beam key, an interior lighting key), an air conditioning key, etc.
[0073] As shown in the figure, in an embodiment, the switch module 114 includes a switch K1, a fourth resistor R4 and a fifth resistor R5. Figure 5 As shown in the figure, in an embodiment, the second key module 112 includes a second key S2, a second diode D2 and a fourth resistor R4.
[0074] One end of the second key S2 is grounded, and the other end is connected to the third terminal of the voltage control chip U1 through the series connection of the second diode D2 and the fourth resistor R4.
[0075] Among them, the anode of the second diode D2 is connected to the fourth resistor R4, and the cathode of the second diode D2 is connected to the second key S2.
[0076] It should be noted that the resistance values of the fourth resistors R4 in the second key modules 112 are different.
[0077] As shown in the figure, Figure 6 The switch module 114 includes a first transistor T1, the base of the first transistor T1 is connected to the first key module 111, the collector of the first transistor T1 is connected to the voltage supply module 113, and the emitter of the first transistor T1 is connected to the communication bus;
[0078] The first transistor T1 is used to be turned off when the first key S1 in the first key module 111 is not pressed, and to be turned on when the first key S1 in the first key module 111 is pressed, so that the collector and the emitter are connected, so that the voltage supply module 113 is connected with the communication bus 130, so that the voltage value of the communication bus 130 is consistent with the voltage value output by the voltage supply module 113.
[0079] As shown in the figure, Figure 7 In an embodiment, the key control circuit 100 further includes an overvoltage protection module 116 connected between the switch module 114 and the communication bus 130, for controlling the conduction or shutdown of the switch module 114 based on the corresponding voltage of the communication bus 130, to prevent damage to the voltage control chip U1.
[0080] As shown in the figure, Figure 8 The overvoltage protection module 116 includes a fifth resistor R5, a second transistor T2, a sixth resistor R6, a third transistor T3 and a third diode D3;
[0081] The fifth resistor R5 is connected between the emitter and the base of the first transistor T1;
[0082] The emitter of the second transistor T2 is connected to the emitter of the first transistor T1, the collector of the second transistor T2 is connected to the base of the first transistor T1, and the base of the second transistor T2 is connected to the collector of the third transistor T3 through the series connection of the seventh resistor R7.
[0083] The sixth resistor R6 is connected between the emitter and the base of the second transistor T2;
[0084] Anode of the third diode D3 is connected to the communication bus 130, and cathode of the third diode D3 is connected to the eighth resistor R8.
[0085] The other end of the third diode D3 is connected to the communication bus 130.
[0086] Wherein, anode of the third diode D3 is connected to the communication bus 130, and cathode of the third diode D3 is connected to the eighth resistor R8.
[0087] In an embodiment, an isolation module is arranged between the first key module 111 and each of the second key modules 112, and between any two of the second key modules 112, for electrical isolation.
[0088] The isolation module can be a diode. As an example, for the isolation module between the first key module 111 and each of the second key modules 112, an anode thereof can be connected between the first key S1 and the first resistor R1 in the first key module 111, and a cathode thereof can be connected between the second key S2 and the second diode D2 in the second key module 112.
[0089] As shown in FIG. 1, in an embodiment, the key control circuit 100 further comprises a bias voltage component 140 connected to the communication bus 130, for providing a bias voltage for the communication bus 130. Figure 9
[0090] As shown in FIG. 1, in an embodiment, the key control circuit 100 further comprises a bias voltage component 140 connected to the communication bus 130, for providing a bias voltage for the communication bus 130. Figure 10
[0091] As shown in FIG. 1, in an embodiment, the key control circuit 100 further comprises a driving component 150 connected between the transmission end TX and the reception end RX of the processing component 120 and the communication bus 130. Figure 11
[0092] The driving component 150 is configured to receive target information sent by the transmission end TX and send the target information to the communication bus 130, and receive information from the communication bus 130 and send the information to the reception end RX.
[0093] As shown in FIG. 1, in an embodiment, the driving component 150 comprises a transmission driving unit 151, an overcurrent protection unit 152, an overvoltage protection unit 153, and a reception driving unit 154. Figure 12
[0094] The input end of the sending driving unit 151 is connected to the sending end of the processing assembly 120, and the output end of the sending driving unit 151 is connected to the input end of the overcurrent protection unit 152;
[0095] The output end of the overcurrent protection unit 152 is connected to the communication bus, and the overcurrent protection unit 152 is used for overcurrent limiting of the current value output by the sending driving unit 151, so as to prevent the sending driving unit 151 from being damaged;
[0096] The overvoltage protection unit 153 is connected between the communication bus 130 and the sending driving unit 151, and is used for overvoltage limiting of the voltage corresponding to the communication bus 130, so as to prevent the sending driving unit 151 from being damaged;
[0097] The input end of the receiving driving unit 154 is connected to the communication bus 130, and the output end of the receiving driving unit 154 is connected to the receiving end RX of the processing assembly 120.
[0098] For the above-mentioned key control circuit 100, when only the first key S1 in the first key module 111 is pressed, the first key S1 is closed, at this time, the base level of the first triode T1 in the switch module 114 is grounded, in the voltage supply module 113, the voltage control chip U1 provides the first voltage for the collector of the first triode T1, at this time, the first triode T1 is turned on, the collector and the emitter are turned on, at this time, the voltage of the communication bus 130 is consistent with the first voltage provided by the voltage control chip U1.
[0099] On this basis, when at least one second key S2 in the second key module 112 is pressed, at least one second key S2 is closed, in the voltage supply module 113, the second resistance R2 and the third resistance R3 are changed because at least one second key S2 is closed, so that the fourth resistance R4 in at least one second key module 112 is connected in parallel with the second resistance R2, so that the voltage division ratio of the feedback network is changed, at this time, the voltage control chip U1 provides the second voltage for the collector of the first triode T1, the first triode T1 is turned on, the collector and the emitter are turned on, at this time, the voltage of the communication bus 130 is consistent with the second voltage provided by the voltage control chip U1.
[0100] Through the circuit control logic, the communication bus 130 can maintain different voltages according to different pressing states of the first key S1 and the second key S2, the receiving driving unit 154 of the driving assembly 150 can collect the voltage value of the communication bus 130 and send it to the receiving end TX of the processing assembly 120, so that the processing assembly 120 determines which keys are pressed according to the voltage value of the communication bus 130, and outputs the corresponding target information to the communication bus according to the pressed keys, so as to realize the response to the pressed keys.
[0101] For example, in the use scenario of the vehicle, the target information can be a function state or an instruction corresponding to the target key, and the target information is sent to other processing components through the communication bus to realize corresponding operations. For example, when the target key is a driving control related key (such as a start key, an engine off key, or an electronic handbrake key), the target information can be a corresponding engine start command, an engine off command, or an electronic handbrake activation command, which is used to make the processing component at the engine on the vehicle adjust the working state of the engine and make the electronic handbrake adjust the working state; when the target key is a vehicle light control key (such as a low beam key, a high beam key, or an interior lighting key), the target information can be a corresponding low beam on or off instruction, a high beam on or off instruction, or an interior lighting on or off instruction, which is used to make the low beam, the high beam, and the interior lighting adjust the working state.
[0102] For example, the processing component 120 can store a pre-set voltage value mapping table, which includes a mapping relationship between a plurality of voltage values and a plurality of key combinations, and the key combination is composed of the first key and at least one second key. The processing component 120 can compare the voltage value of the communication bus 130 obtained by the receiving end TX with the voltage value mapping table, and determine at least one second key contained in the key combination obtained by the comparison as the pressed key.
[0103] Subsequently, based on the one-to-one mapping relationship between the plurality of second keys and the plurality of information pre-stored, the target information corresponding to the pressed key is matched, and the communication bus 130 is sent by the sending end TX.
[0104] The above key control circuit can realize the fusion of the data transmission circuit and the key detection circuit by connecting the detection of the pressing conditions of the plurality of keys on the communication bus through the key control component, thereby not only being capable of significantly simplifying the circuit design, reducing the complexity of the circuit design, and reducing the weight of the hardware device, but also being capable of avoiding the signal transmission delay of the key detection condition, thereby accelerating the response speed of the key pressing.
[0105] Optionally, the key control circuit can adjust the voltage output to the communication bus by setting the switch component based on the pressing conditions of the first key in the first key module and the second key in the plurality of second key modules in the key control component, so that the processing component can quickly judge the pressing condition of the key according to the different voltage values of the communication bus.
[0106] Based on the same inventive concept, as shown in Figure 13 The embodiments of the present application also provide a vehicle 1300, which is equipped with the key control circuit 100 in any of the above embodiments.
[0107] Each of the modules in the apparatus above can be implemented in whole or in part by software, hardware, and a combination thereof. The modules above can be embedded in or independent of a processor in a computer device in hardware form, or stored in a memory in a computer device in software form, so as to be called and executed by a processor to perform the operations corresponding to each of the modules above.
[0108] In the embodiments described above, it should be understood that the processor can be a central processing unit (CPU) and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor and the like. The steps of the method disclosed in the utility model can be directly embodied as hardware processor execution or executed by a combination of hardware and software modules in the processor.
[0109] The memory can include a random access memory (RAM) and can also include a non-volatile memory (NVM), such as at least one disk memory.
[0110] The bus can be an industry standard architecture (ISA) bus, a peripheral component (PCI) bus, an extended industry standard architecture (EISA) bus, or the like. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, the bus in the drawings of the present application does not limit to only one bus or one type of bus.
[0111] The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the method described above.
[0112] The present application also provides a computer-readable storage medium having computer-executable instructions stored therein, wherein when a processor executes the computer-executable instructions, the method described above is implemented.
[0113] The above-mentioned readable storage medium can be realized by any type of volatile or nonvolatile storage devices or their combinations, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0114] An exemplary readable storage medium is coupled to the processor, so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be an integral part of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in the device.
[0115] The division of units is only a logical function division, and in actual implementation, there can be another division manner, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0116] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on multiple network units. According to actual needs, part or all of the units can be selected to achieve the purpose of the embodiment scheme.
[0117] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit.
[0118] If the functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the embodiments of the method of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0119] Those of ordinary skill in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by program instruction-related hardware. The aforementioned program can be stored in a computer readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, and various media that can store program codes.
[0120] Finally, it should be noted that: those skilled in the art will easily derive other embodiments of the present application after considering the specification and practicing the utility model disclosed herein. The present application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include common knowledge or conventional techniques in the art that are not disclosed in the present application, and is not limited to the precise structure described above and shown in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the present application is only limited by the appended claims.
Claims
1. A button control circuit, characterized in that, Includes a key control component, at least one processing component, and a communication bus; The output terminal of the button control component is connected to the communication bus and is used to adjust the voltage value of the communication bus based on the pressing status of multiple buttons in the button control component. The processing component is connected to the communication bus. The processing component obtains the voltage value of the communication bus and determines the key press status based on different voltage values of the communication bus.
2. The button control circuit according to claim 1, characterized in that, The button control component includes a first button module, at least one second button module, a pressure supply module, and a switch module; The first end of the switch module is connected to the first button module, the second end of the switch module is connected to the pressure supply module, and the third end of the switch module is connected to the communication bus. Each of the second button modules is connected to the voltage supply module through a corresponding voltage divider module, so as to adjust the voltage value output by the voltage supply module to the switch module based on the pressing status of the second button in each of the second button modules; The first button module and the pressure supply module are used to control the switching module to turn on or off based on the pressing status of the first button in the first button module and the voltage value output by the pressure supply module to the switching module, so as to control the voltage value corresponding to the communication bus.
3. The button control circuit according to claim 2, characterized in that, The first button module includes a first button and a first resistor; One end of the first button is grounded, and the other end is connected to the first end of the switch module by connecting the first resistor in series. And / or, The voltage supply module includes a voltage control chip, a first diode, a second resistor, and a third resistor; The first terminal of the voltage control chip is grounded, the second terminal is connected to the second terminal of the switching module through the first diode in series, and the third terminal is grounded through the second resistor in series. The third resistor is connected between the second terminal of the switching module and the third terminal of the voltage control chip; The voltage control chip is used to adjust the voltage value output to the switch module based on the pressing status of the second button in each of the second button modules.
4. The button control circuit according to claim 3, characterized in that, The second button module includes a second button, a second diode, and a fourth resistor; One end of the second button is grounded, and the other end is connected to the third terminal of the voltage control chip by connecting the second diode and the fourth resistor in series.
5. The button control circuit according to claim 4, characterized in that, The resistance value of the fourth resistor in each of the second button modules is different.
6. The button control circuit according to any one of claims 2-5, characterized in that, The button control circuit further includes an overvoltage protection module, which is connected between the switch module and the communication bus. The overvoltage protection module is used to control the switching module to be turned on or off based on the voltage corresponding to the communication bus, so as to prevent damage to the voltage control chip; and / or, an isolation module is provided between the first button module and each of the second button modules, and between any two pairs of second button modules, for electrical isolation.
7. The button control circuit according to any one of claims 2-5, characterized in that, The switching module includes a first transistor, the base of the first transistor is connected to the first button module, the collector of the first transistor is connected to the voltage supply module, and the emitter of the first transistor is connected to the communication bus. The first transistor is used to disconnect when the first button in the first button module is not pressed, and to turn on when the first button in the first button module is pressed, thereby turning on the collector and emitter to connect the voltage supply module to the communication bus, thereby controlling the voltage value of the communication bus to be consistent with the voltage value output by the voltage supply module.
8. The button control circuit according to any one of claims 1-5, characterized in that, The button control circuit further includes a bias voltage component connected to the communication bus to provide a bias voltage to the communication bus; and / or, The button control circuit also includes a driving component, which is connected between the transmitting end, the receiving end of the processing component and the communication bus. The driving component is used to receive target information sent by the transmitting end and send it to the communication bus, and to receive information from the communication bus and send it to the receiving end.
9. The key control circuit according to claim 8, characterized in that, The driving component includes a transmitting driving unit, an overcurrent protection unit, an overvoltage protection unit, and a receiving driving unit; The input terminal of the transmission driving unit is connected to the transmission terminal of the processing component, and the output terminal of the transmission driving unit is connected to the input terminal of the overcurrent protection unit. The output terminal of the overcurrent protection unit is connected to the communication bus. The overcurrent protection unit is used to limit the overcurrent value output by the transmitting drive unit to prevent damage to the transmitting drive unit. The overvoltage protection unit is connected between the communication bus and the transmitting drive unit, and is used to limit the overvoltage of the voltage corresponding to the communication bus to prevent damage to the transmitting drive unit. The input terminal of the receiving driver unit is connected to the communication bus, and the output terminal of the receiving driver unit is connected to the receiving terminal of the processing component.
10. A vehicle equipped with a button control circuit as described in any one of claims 1-9.