Key multi-output circuit and electronic equipment
By designing a multi-key output circuit that can realize the output of two signals by one function button, the problems of high memory cost of button function, large number of openings and limited number of functions in the prior art are solved, and the user experience and equipment quality are improved.
Patent Information
- Application Number
- CN202420803940.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-17
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2034-04-17
AI Technical Summary
In existing smart electronic devices, different functions are implemented through different buttons, which increases the memory cost of users, and multiple openings have a negative impact on the appearance and quality of the device, and the device size limits the number of functions.
A button multi-output circuit is designed to realize the output of two functional signals when a function button is pressed through the first switching unit, the second switching unit, the third switching unit, the interface power supply and the capacitor, so that a function button can realize two functions.
It reduces the user's memory cost of button functions, reduces the number of holes in the device shell, improves the user experience, and reduces the number of functions restricted due to device size limitations.
Smart Images

Figure CN222916008U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of circuits, in particular to a multi-output circuit for keys and an electronic device. Background Art
[0002] With the progress of science and technology, people not only come into contact with more and more intelligent electronic devices, but also gradually begin to put forward higher pursuits for the functions, appearance and quality of intelligent electronic devices.
[0003] In many existing intelligent electronic devices, in order to achieve more functions, multiple keys are often added to the product, and different keys can achieve different functions, so that the electronic device shows stronger intelligence.
[0004] However, for the electronic device to achieve different functions through different keys, users need to remember the functions realized by each key, which increases the memory cost of users. Moreover, each key requires an opening on the shell of the electronic device, and more openings will also have a greater impact on the appearance and quality of the electronic device, reducing the user experience. In addition, limited by the size of the electronic device, the number of keys configured is limited, which will limit the number of functions configured for the electronic device. Content of the Utility Model
[0005] The utility model provides a multi-output circuit for keys and an electronic device to solve the defects brought by realizing different functions through different keys in the prior art.
[0006] The utility model provides a multi-output circuit for keys, including: a first output module, a second output module and an output control module;
[0007] The first output module includes a capacitor and a first switch unit connected in series;
[0008] The second output module includes a second switch unit, and the second switch unit is connected to an interface power supply;
[0009] The output control module includes a third switch unit;
[0010] The capacitor and the second switch unit are respectively connected to the first end of a function key, the first end of the function key is grounded through a first resistor, the second end of the function key is connected to a key power supply, and the first switch unit is connected to the third switch unit;
[0011] The first switch unit is configured to conduct when providing a high level to the capacitor;
[0012] The second switch unit is configured to conduct when providing a high level to the first end of the function key and is configured to output a first function signal;
[0013] The third switch unit is configured to conduct and output a second function signal when the first switch unit is conducting.
[0014] According to a multi-output circuit for a key provided by the present utility model, the output control module further includes a fourth switch unit;
[0015] The fourth switch unit is respectively connected to the main control chip and the third switch unit, and the third switch unit is connected to the main control chip;
[0016] The main control chip is configured to receive the second function signal and send a control signal to the fourth switch unit;
[0017] The fourth switch unit is configured to conduct when receiving the control signal;
[0018] The third switch unit is further configured to turn off when the fourth switch conducts.
[0019] According to a multi-output circuit for a key provided by the present utility model, the fourth switch unit includes a first field-effect transistor;
[0020] The gate of the first field-effect transistor is connected to the main control chip;
[0021] The source of the first field-effect transistor is grounded;
[0022] The drain of the first field-effect transistor is respectively connected to the third switch unit and the power supply.
[0023] According to a multi-output circuit for a key provided by the present utility model, the third switch unit includes a second field-effect transistor;
[0024] The gate of the second field-effect transistor is connected to the drain of the first field-effect transistor;
[0025] The source of the second field-effect transistor is connected to the first switch unit;
[0026] The drain of the second field-effect transistor is configured to output the first function signal.
[0027] According to a multi-output circuit for a key provided by the present utility model, the fourth switch unit further includes a second resistor, a third resistor, and a fourth resistor, or includes the third resistor and the fourth resistor;
[0028] The second resistor is connected between the gate of the first field-effect transistor and the main control chip, the third resistor is connected between the drain of the first field-effect transistor and the power supply, and the fourth resistor is connected between the gate of the first field-effect transistor and the ground.
[0029] According to a multi-output circuit for a key provided by the present utility model, the first switch unit includes a third field-effect transistor;
[0030] The gate of the third field-effect transistor is connected to the capacitor;
[0031] The source of the third field-effect transistor is grounded;
[0032] The drain of the third field-effect transistor is respectively connected to the third switch unit and a power supply.
[0033] According to a multi-output circuit for a key provided by the present utility model, the first switch unit further includes a fifth resistor, a sixth resistor, and a seventh resistor, or includes the sixth resistor and the seventh resistor;
[0034] The fifth resistor is connected between the gate of the third field-effect transistor and the capacitor;
[0035] The sixth resistor is connected between the gate of the third field-effect transistor and the ground;
[0036] The seventh resistor is connected between the drain of the third field-effect transistor and the power supply.
[0037] According to a multi-output circuit for a key provided by the present utility model, the second switch unit includes a fourth field-effect transistor;
[0038] The gate of the fourth field-effect transistor is connected to the first end of the function key;
[0039] The source of the fourth field-effect transistor is grounded;
[0040] The drain of the fourth field-effect transistor is connected to the interface power supply and is configured to output the first function signal.
[0041] According to a multi-output circuit for a key provided by the present utility model, the second switch unit further includes an eighth resistor, a ninth resistor, and a tenth resistor, or includes the ninth resistor and the tenth resistor;
[0042] The eighth resistor is connected between the gate of the fourth field-effect transistor and the first end of the function key;
[0043] The ninth resistor is connected between the gate of the fourth field-effect transistor and the ground;
[0044] The tenth resistor is connected between the drain of the fourth field-effect transistor and the interface power supply.
[0045] The present utility model further provides an electronic device, including the above multi-output circuit for a key.
[0046] The key multi-output circuit and electronic device provided by the present utility model. The key multi-output circuit combines a first switch unit, a second switch unit, a third switch unit, an interface power supply, and a capacitor, and can realize the output of two functional signals when a functional key is pressed, enabling a functional key to achieve two functions. In this way, it can avoid the defect of a single functional key corresponding to a single function, which can not only reduce the memory cost of users for the key functions, but also reduce the number of openings on the housing of the electronic device where the key multi-output circuit is located, reduce the impact of the number of openings on the appearance and quality of the electronic device, and improve the user experience. In addition, it can also reduce the limitation on the number of functions configured for the electronic device due to the size of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the present utility model or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings described below can also be used by those of ordinary skill in the art to obtain other drawings without creative efforts.
[0048] Figure 1 is one of the schematic structural diagrams of the key multi-output circuit provided by the present utility model;
[0049] Figure 2 is another schematic structural diagram of the key multi-output circuit provided by the present utility model;
[0050] Figure 3 is still another schematic structural diagram of the key multi-output circuit provided by the present utility model;
[0051] Figure 4 is the schematic structural diagram of the electronic device provided by the present utility model. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0052] To make the objectives, technical solutions, and advantages of the present utility model clearer, the following will clearly and completely describe the technical solutions in the present utility model in conjunction with the drawings in the present utility model. Obviously, the described embodiments are some but not all of the embodiments of the present utility model. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present utility model without creative efforts fall within the scope of protection of the present utility model.
[0053] The terms "first" and "second" in the description and claims of the present utility model may explicitly or implicitly include one or more of such features. In the description of the utility model, unless otherwise specified, the meaning of "a plurality of" is two or more. In addition, "and / or" in the description and claims means at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.
[0054] To solve the defects brought by each key implementing one function in the prior art, in the embodiments of the present utility model, a key multi-output circuit is provided, and when a key is pressed, different functions can be realized by outputting different signals.
[0055] Figure 1 As shown in the structural schematic diagram of a key multi-output circuit provided in the embodiments of the present utility model, Figure 1 as shown, the key multi-output circuit includes: a first output module 1, a second output module 2, and an output control module 3.
[0056] The first output module 1 includes a capacitor C1 and a first switch unit 11 connected in series;
[0057] The second output module 2 includes a second switch unit 21, and the second switch unit 21 is connected to the interface power supply VCC-IO;
[0058] The output control module 3 includes a third switch unit 31;
[0059] The capacitor C1 and the second switch unit 21 are respectively connected to the first end of the function key S1. The first end of the function key S1 is grounded through a first resistor R1. The second end of the function key S1 is connected to the key power supply VBAT. The first switch unit 11 is connected to the third switch unit 31;
[0060] The first switch unit 11 is configured to conduct when providing a high level to the capacitor C1;
[0061] The second switch unit 21 is configured to conduct when providing a high level to the first end of the function key S1, and is configured to output a first function signal F1_KEY;
[0062] The third switch unit 31 is configured to conduct and output a second function signal F2_KEY when the first switch unit 11 conducts.
[0063] Specifically, for the key multi-output circuit provided in the embodiments of the present utility model, the function key S1 can be a mechanical key or a dome switch key, and no specific limitation is made here. Figure 1The function button S1 shown is a mechanical button. The voltage value of the button power supply VBAT can be taken between 2.8V and 4.4V. The voltage value of the interface power supply VCC-IO can be 3.3V, which is determined by the voltage value that the interface receiving the first function signal F1_KEY can withstand.
[0064] On the one hand, when the function button S1 is pressed, the button power supply VBAT charges the capacitor C1. Since the voltage difference across the two ends of the capacitor C1 cannot change suddenly, the voltage at the right end of the capacitor C1 is also VBAT. At this time, the capacitor C1 can provide a high level for the first switch unit 11, and the first switch unit 11 conducts. At this time, the third switch unit 31 conducts, and the second function signal F2_KEY is output.
[0065] As time goes by, the voltage at the right end of the capacitor C1 will gradually disappear. When the voltage at the right end of the capacitor C1 disappears to a certain extent and cannot provide a high level for the first switch unit 11, the first switch unit 11 turns off until the function button S1 is pressed again. Thus, the second function signal F2_KEY is a pulse signal and is a low-level signal.
[0066] When the function button S1 is not pressed, the voltage at the first end of the function button S1 is low level, and the first switch unit 11 turns off, and the second function signal F2_KEY will not be output.
[0067] On the other hand, when the function button S1 is pressed, the voltage at the first end of the function button S1 is VBAT, which can provide a high level for the second switch unit 21. The second switch unit 21 conducts, and the first function signal F1_KEY is output. This first function signal F1_KEY is a continuous signal. When the function button S1 is not pressed, the voltage at the first end of the function button S1 is low level, and the second switch unit 21 turns off. The first function signal F1_KEY output by the interface power supply VCC-IO is a high-level signal at this time.
[0068] The second switch unit 21 and the third switch unit 31 can be respectively connected to different pins of the main control chip, so that the output first function signal F1_KEY and second function signal F2_KEY can achieve different functions.
[0069] It can be understood that for the state transition of the electronic device where the button multi-output circuit is located from never being powered on to being powered on, the first function signal F1_KEY can be used to implement specific functions, such as any one of functions such as a scanning function, a search function, and a answering function. The second function signal F2_KEY can be used to implement the power-on function of the electronic device.
[0070] When the electronic device where the multi-output circuit of the button is located is in the powered-on working state, the first function signal F1_KEY and the second function signal F2_KEY can implement two different functions according to needs.
[0071] At this time, the multi-output circuit of the button is actually a dual-output circuit that can implement pulse output and continuous output.
[0072] The multi-output circuit of the button provided in the embodiment of the present invention combines a first switch unit, a second switch unit, a third switch unit, an interface power supply, and a capacitor to realize the output of two function signals when a function button is pressed, so that a function button can realize two functions. In this way, it is possible to avoid the defect that a single function button corresponds to a single function, which can not only reduce the memory cost of the user for the button function, but also reduce the number of openings on the shell of the electronic device where the multi-output circuit of the button is located, reduce the impact of the number of openings on the appearance and quality of the electronic device, and improve the user experience. In addition, it can also reduce the limitation on the number of functions configured for the electronic device due to the size of the electronic device.
[0073] As Figure 2 shown, on the basis of the above embodiment, the output control module 3 further includes a fourth switch unit 32;
[0074] The fourth switch unit 32 is respectively connected to the main control chip 4 and the third switch unit 31, and the third switch unit 31 is connected to the main control chip 4;
[0075] The main control chip 4 is configured to receive the second function signal F2_KEY and send a control signal PWR_OFF_IO to the fourth switch unit 32;
[0076] The fourth switch unit 32 is configured to conduct when receiving the control signal PWR_OFF_IO;
[0077] The third switch unit 31 is further configured to turn off when the fourth switch 32 conducts.
[0078] Specifically, for some functions, such as the power-on function, it is not necessary to output the second function signal F2_KEY every time the function button is pressed. Therefore, the fourth switch unit 32 can be introduced to control the third switch unit 31 to turn off, so as to block the output of the second function signal F2_KEY every time the subsequent function button is pressed.
[0079] The fourth switch unit 32 can be controlled by the main control chip 4 of the electronic device where the multi-output circuit of the button is located.
[0080] The main control chip 4 is respectively connected to the third switch unit 31 and the fourth switch unit 32. When the third switch unit 31 outputs the second function signal F2_KEY for the first time, the second function signal F2_KEY is received by the main control chip 4 to implement the corresponding function. Thereafter, the main control chip 4 sends a control signal PWR_OFF_IO to the fourth switch unit 32, the fourth switch unit 32 conducts, and at this time the third switch unit 31 is turned off. When the subsequent function key S1 is pressed each time, there is no output of the second function signal F2_KEY.
[0081] Thus, in the case where the output control module 3 further includes the fourth switch unit 32, this key multi-output circuit is actually a circuit that can implement pulse output and continuous output and the pulse can be turned off.
[0082] Based on the above embodiment, the fourth switch unit 32 may include a first field effect transistor Q1. The gate G of the first field effect transistor Q1 is connected to the main control chip 4. The source S of the first field effect transistor Q1 is grounded. The drain D of the first field effect transistor Q1 is respectively connected to the third switch unit 31 and the power supply VCC-RTC. The voltage value of the power supply VCC-RTC may be 1.8V.
[0083] The main control chip 4 sends a control signal PWR_OFF_IO to the fourth switch unit 32. The gate G of the first field effect transistor Q1 is at a high level, the first field effect transistor Q1 conducts, and the drain D of the first field effect transistor Q1 is at a low level. Through the drain D of the first field effect transistor Q1, a low-level control signal is sent to the third switch unit 31.
[0084] In the embodiment of the present invention, the function of the fourth switch unit is realized by the first field effect transistor, and the structure is simple and easy to implement.
[0085] Based on the above embodiment, the third switch unit 31 includes a second field effect transistor Q2;
[0086] The gate G of the second field effect transistor Q2 is connected to the drain D of the first field effect transistor Q1;
[0087] The source S of the second field effect transistor Q2 is connected to the first switch unit 11;
[0088] The drain D of the second field effect transistor Q2 is configured to output the first function signal F1_KEY.
[0089] Specifically, when the first switch unit 11 conducts, a low level can be provided for the source S of the second field effect transistor Q2. When the first field effect transistor Q1 is not conducting, the gate of the second field effect transistor Q2 is at a high level, the second field effect transistor Q2 conducts, and the second function signal F2_KEY is output.
[0090] After the second function signal F2_KEY is output, the main control chip 4 sends a control signal PWR_OFF_IO to the fourth switch unit 32. The gate G of the first field effect transistor Q1 is at a high level, the first field effect transistor Q1 is turned on, and the drain D of the first field effect transistor Q1 is at a low level. The gate G of the second field effect transistor Q2 is also at a low level, and the second field effect transistor Q2 is turned off. Thus, by turning on the first field effect transistor Q1, the second field effect transistor Q2 is controlled to turn off, thereby preventing the output of the second function signal F2_KEY.
[0091] In the embodiment of the present invention, the function of the third switch unit is realized by the second field effect transistor, and the structure is simple and easy to implement.
[0092] Based on the above embodiment, the first switch unit 11 includes a third field effect transistor Q3;
[0093] The gate G of the third field effect transistor Q3 is connected to the capacitor C1;
[0094] The source S of the third field effect transistor Q3 is grounded;
[0095] The drain D of the third field effect transistor Q3 is respectively connected to the third switch unit 31 and the power supply VCC-RTC.
[0096] Specifically, when the function button S1 is pressed, the voltage at the right end of the capacitor C1 is also VBAT. At this time, the gate G of the third field effect transistor Q3 is at a high level, the third field effect transistor Q3 is turned on, a low level is provided for the third switch unit 31, the source S of the second field effect transistor Q2 is at a low level, and since the first field effect transistor Q1 is still in the off state, the gate G of the second field effect transistor Q2 is at a high level, and the second field effect transistor Q2 is turned on to output the second function signal F2_KEY.
[0097] When the voltage at the right end of the capacitor C1 disappears to a certain extent, the gate G of the third field effect transistor Q3 becomes a low level, then the third field effect transistor Q3 is turned off, the drain D of the third field effect transistor Q3 is at a high level, triggering the second field effect transistor Q2 to turn off.
[0098] In the embodiment of the present invention, the function of the first switch unit is realized by the third field effect transistor, and the structure is simple and easy to implement.
[0099] Based on the above embodiment, the second switch unit 21 includes a fourth field effect transistor Q4;
[0100] The gate G of the fourth field effect transistor Q4 is connected to the first end of the function button S1;
[0101] The source S of the fourth field effect transistor Q4 is grounded;
[0102] The drain D of the fourth field-effect transistor Q4 is connected to the interface power supply VCC-IO and is configured to output the first function signal F1_KEY.
[0103] Specifically, when the function button S1 is pressed, the voltage at the first terminal of the function button S1 is VBAT, the gate G of the fourth field-effect transistor Q4 is at a high level, and the fourth field-effect transistor Q4 is turned on. The first function signal F1_KEY is output through the drain D of the fourth field-effect transistor Q4. At this time, the first function signal F1_KEY is a low-level signal.
[0104] When the function button S1 is not pressed, the voltage at the first terminal of the function button S1 is at a low level, the gate G of the fourth field-effect transistor Q4 is at a low level, and the fourth field-effect transistor Q4 is turned off. The drain D of the fourth field-effect transistor Q4 is at a high level, and the first function signal F1_KEY is output through the drain D of the fourth field-effect transistor Q4. At this time, the first function signal F1_KEY is a high-level signal.
[0105] As Figure 3 shown, on the basis of the above embodiment, the fourth switch unit 32 further includes a second resistor R2, a third resistor R3, and a fourth resistor R4, or includes the third resistor R3 and the fourth resistor R4 and does not include the second resistor R2;
[0106] The second resistor R2 can be connected between the gate G of the first field-effect transistor Q1 and the main control chip 4, and the second resistor R2 can receive the control signal PWR_OFF_IO sent by the main control chip 4.
[0107] The third resistor R3 can be connected between the drain D of the first field-effect transistor Q1 and the power supply VCC-RTC, and the fourth resistor R4 can be connected between the gate G of the first field-effect transistor Q1 and the ground, that is, the gate G of the first field-effect transistor Q1 is grounded through the fourth resistor R4.
[0108] Here, the introduction of the second resistor R2 and the fourth resistor R4 can prevent the pins of the main control chip 4 connected to the gate G of the first field-effect transistor Q1 from being short-circuited. Moreover, the introduction of the fourth resistor R4 can keep the source S and the gate G of the first field-effect transistor Q1 at a low level when there is no control signal PWR_OFF_IO, playing a protective role for the first field-effect transistor Q1.
[0109] As Figure 3 shown, on the basis of the above embodiment, the first switch unit 11 further includes a fifth resistor R5, a sixth resistor R6, and a seventh resistor R7, or only includes the sixth resistor R6 and the seventh resistor R7 and does not include the fifth resistor R5;
[0110] The fifth resistor R5 is connected between the gate G of the third field-effect transistor Q3 and the capacitor C1;
[0111] The sixth resistor R6 is connected between the gate G of the third field-effect transistor Q3 and the ground;
[0112] The seventh resistor R7 is connected between the drain D of the third field-effect transistor Q3 and the power supply VCC-RTC.
[0113] Here, the introduction of the fifth resistor R5 and the sixth resistor R6 can make the first switch unit reach a steady state when the function button S1 is not pressed. Moreover, the introduction of the seventh resistor R7 can prevent the power supply VCC-RTC from being short-circuited when the third field-effect transistor Q3 is turned on.
[0114] As Figure 3 shown, based on the above embodiment, the second switch unit 21 further includes an eighth resistor R8, a ninth resistor R9, and a tenth resistor R10, or only includes the ninth resistor R9 and the tenth resistor R10, excluding the eighth resistor R8;
[0115] The eighth resistor R8 is connected between the gate G of the fourth field-effect transistor Q4 and the first end of the function button S1;
[0116] The ninth resistor R9 is connected between the gate G of the fourth field-effect transistor Q4 and the ground;
[0117] The tenth resistor R10 is connected between the drain D of the fourth field-effect transistor Q4 and the interface power supply VCC-IO.
[0118] Here, the introduction of the eighth resistor R8 and the ninth resistor R9 can make the second switch unit reach a steady state when the function button S1 is not pressed. Moreover, the introduction of the tenth resistor R10 can prevent the interface power supply VCC-IO from being short-circuited when the fourth field-effect transistor Q4 is turned on.
[0119] As Figure 3 shown, based on the above embodiment, the third switch unit 31 further includes an eleventh resistor R11;
[0120] The source S of the second field-effect transistor Q2 is connected to the drain D of the third field-effect transistor Q3 through the eleventh resistor R11.
[0121] The third switch unit 31 further includes a twelfth resistor R12;
[0122] The drain D of the second field-effect transistor Q2 outputs the second function signal F2_KEY through the twelfth resistor R12.
[0123] In summary, Figure 3 the overall working process of the button multi-output circuit shown is:
[0124] When the function button S1 is not pressed, the first field-effect transistor Q1, the second field-effect transistor Q2, the third field-effect transistor Q3, and the fourth field-effect transistor Q4 are all not conducting, and the multi-output circuit of the button is in a stable state.
[0125] When the function button S1 is pressed:
[0126] For the second output module 2, the state of the output first function signal F1_KEY follows the state of the function button S1. When the function button S1 is pressed, the first function signal F1_KEY is at a low level, and when the function button S1 is released, the first function signal F1_KEY is at a high level. The first function signal F1_KEY is a continuous signal.
[0127] For the first output module 1, due to the characteristics of the capacitor C1, an excitation is obtained, and this excitation can turn on the third field-effect transistor Q3. However, as time goes by, this excitation will gradually disappear. When the excitation disappears to a certain extent, the third field-effect transistor Q3 cannot conduct until the next excitation arrives. During the time when the third field-effect transistor Q3 is conducting, the first output module 1 gives the output control module 3 a low-level pulse of the same duration.
[0128] For the output control module 3, there are two functions. One is that when the first output module 1 is working, only the low level can reach the main control chip through the second field-effect transistor Q2. Once the low level reaches the main control chip, the main control chip controls the on-off of the first field-effect transistor Q1 by sending a control signal PWR_OFF_IO to the first field-effect transistor Q1, thereby achieving the purpose of controlling the second field-effect transistor Q2.
[0129] In this multi-output circuit of the button, the conduction time of the third field-effect transistor Q3, that is, the duration of the second function signal belonging to the low-level pulse, can be adjusted by adjusting the button power supply VBAT, the capacitance value of the capacitor C1, and the resistance values of the fifth resistor R5 and the sixth resistor R6.
[0130] As Figure 4 shown, on the basis of the above embodiments, the embodiment of the present invention also provides an electronic device, including the multi-output circuit 41 of the button provided in each of the above embodiments.
[0131] At this time, the button power supply VBAT can be provided by the battery of the electronic device, the power supply VCC-RTC can be obtained by converting the power supply connected by the battery or adapter of the electronic device, and the electronic device is configured with a main control chip.
[0132] This electronic device can include intelligent learning devices such as a scanning pen and a dictionary pen, or can also include other miniaturized electronic devices with function buttons.
[0133] Due to the introduction of the multi-output circuit 41 of the keys, this electronic device can implement two functions when a function key is pressed. In this way, it can not only reduce the memory cost of the key functions for users when using the electronic device, but also reduce the number of openings on the shell of the electronic device, reduce the impact of the number of openings on the appearance and quality of the electronic device, and improve the user experience. In addition, it can also reduce the limitation on the number of functions configured for the electronic device due to the size of the electronic device.
[0134] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative efforts.
[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments or perform equivalent replacements for some of the technical features. These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A key multi-output circuit, characterized in that: include: A first output module, a second output module and an output control module; The first output module includes a capacitor and a first switch unit connected in series; The second output module includes a second switch unit, and the second switch unit is connected to the interface power supply; The output control module includes a third switch unit; The capacitor and the second switch unit are respectively connected to the first end of the function key, the first end of the function key is grounded through a first resistor, the second end of the function key is connected to a key power supply, and the first switch unit is connected to the third switch unit; The first switch unit is configured to be turned on when the capacitor provides a high level; The second switch unit is configured to be turned on when the first end of the function key provides a high level, and is configured to output a first function signal; The third switch unit is configured to be turned on and output a second functional signal when the first switch unit is turned on.
2. The key multi-output circuit according to claim 1, characterized in that: The output control module further includes a fourth switch unit; The fourth switch unit is connected to the main control chip and the third switch unit respectively, and the third switch unit is connected to the main control chip; The main control chip is configured to receive the second function signal and send a control signal to the fourth switch unit; The fourth switch unit is configured to be turned on upon receiving the control signal; The third switch unit is further configured to be turned off when the fourth switch unit is turned on.
3. The key multi-output circuit according to claim 2, characterized in that: The fourth switch unit includes a first field effect transistor; The gate of the first field effect transistor is connected to the main control chip; The source of the first field effect transistor is grounded; The drain of the first field effect transistor is connected to the third switch unit and the power supply respectively.
4. The key multi-output circuit according to claim 3, characterized in that: The third switch unit includes a second field effect transistor; The gate of the second field effect transistor is connected to the drain of the first field effect transistor; The source of the second field effect transistor is connected to the first switch unit; The drain of the second field effect transistor is configured to output the first functional signal.
5. The key multi-output circuit according to claim 3, characterized in that: The fourth switch unit further includes a second resistor, a third resistor and a fourth resistor, or includes the third resistor and the fourth resistor; The second resistor is connected between the gate of the first field effect transistor and the main control chip, the third resistor is connected between the drain of the first field effect transistor and the power supply, and the fourth resistor is connected between the gate of the first field effect transistor and ground.
6. The key multi-output circuit according to any one of claims 1 to 5, characterized in that: The first switch unit includes a third field effect transistor; The gate of the third field effect transistor is connected to the capacitor; The source of the third field effect transistor is grounded; The drain of the third field effect transistor is connected to the third switch unit and the power supply respectively.
7. The key multi-output circuit according to claim 6, characterized in that: The first switch unit further includes a fifth resistor, a sixth resistor and a seventh resistor, or includes the sixth resistor and the seventh resistor; The fifth resistor is connected between the gate of the third field effect transistor and the capacitor; The sixth resistor is connected between the gate of the third field effect transistor and the ground; The seventh resistor is connected between the drain of the third field effect transistor and the power supply.
8. The key multi-output circuit according to any one of claims 1 to 5, characterized in that: The second switch unit includes a fourth field effect transistor; The gate of the fourth field effect transistor is connected to the first end of the function key; The source of the fourth field effect transistor is grounded; The drain of the fourth field effect transistor is connected to the interface power supply and is configured to output the first function signal.
9. The key multi-output circuit according to claim 8, characterized in that: The second switch unit further includes an eighth resistor, a ninth resistor and a tenth resistor, or includes the ninth resistor and the tenth resistor; The eighth resistor is connected between the gate of the fourth field effect transistor and the first end of the function key; The ninth resistor is connected between the gate of the fourth field effect transistor and the ground; The tenth resistor is connected between the drain of the fourth field effect transistor and the interface power supply.
10. An electronic device, characterized in that: It comprises a key multi-output circuit as claimed in any one of claims 1 to 9.