Switch control circuit and electronic equipment
By designing signal triggering and output circuits, combined with debounce and reset modules, the problem that non-self-locking switches cannot efficiently and stably output control signals is solved, the convenience and accuracy of switch control are achieved, and the implementation cost is reduced.
Patent Information
- Application Number
- CN202323504675.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-21
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2033-12-21
AI Technical Summary
The existing non-self-locking switches cannot efficiently and stably output switch control signals after continuous triggering, resulting in poor control convenience.
A switch control circuit including a signal trigger circuit and a signal output circuit is designed. The level signal is generated through the signal trigger circuit and sent to the signal output circuit. The switch control signal is generated and continuously output according to the level signal state, combined with optional signals. The debounce circuit, switch module and reset module ensure the stability and accuracy of signal output.
It realizes efficient and stable output of switch control signals, improves the convenience and accuracy of switch control, and only relies on analog circuits, does not require a microcontroller, reducing implementation costs and complexity.
Smart Images

Figure CN222128054U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of switches, in particular to a switch control circuit and electronic equipment. Background Art
[0002] A non-locking switch (also called a momentary switch) is a switch that can return to its original state immediately after being triggered without waiting for release. In practical applications, non-locking switches are suitable for functional scenarios that require rapid triggering, such as emergency stop buttons or momentary function switches.
[0003] However, it is found in practice that only by continuously triggering the non-self-locking switch can the signal corresponding to the switch triggering state be controlled to be continuously output, resulting in the inability to efficiently output the switch control signal. Therefore, it is particularly important to propose a technical solution that can efficiently and stably output the switch control signal to improve the convenience of switch control. Utility Model Content
[0004] The technical problem to be solved by the utility model is how to efficiently and stably output a switch control signal to improve the convenience of switch control.
[0005] In order to solve the above technical problems, the utility model discloses a switch control circuit in a first aspect, wherein the switch control circuit comprises a signal trigger circuit and a signal output circuit, wherein:
[0006] The first end of the signal trigger circuit is electrically connected to the first end of the signal output circuit, the second end of the signal trigger circuit and the second end of the signal output circuit are used to electrically connect to a power supply, the third end of the signal trigger circuit and the third end of the signal output circuit are used to be grounded, and the fourth end of the signal output circuit is used to connect to a load; the power supply is used to supply power to the signal trigger circuit and the signal output circuit;
[0007] The signal trigger circuit is used to generate a level signal when the signal trigger circuit is triggered, and send the level signal to the signal output circuit;
[0008] The signal output circuit is used to generate a switch control signal according to the level state of the level signal, and continuously output the switch control signal to the load.
[0009] As an optional implementation, in the first aspect of the utility model, the switch control circuit further includes a signal debouncing circuit, wherein:
[0010] The first end of the signal debouncing circuit is electrically connected to the first end of the signal triggering circuit, and the second end of the signal debouncing circuit is electrically connected to the first end of the signal output circuit; the third end of the signal debouncing circuit is used to electrically connect to the power supply; the fourth end of the signal debouncing circuit is used to be grounded;
[0011] When the level signal is sent to the signal output circuit, the signal trigger circuit is specifically used to:
[0012] Sending the level signal to the signal debouncing circuit;
[0013] Wherein, the signal debouncing circuit is used for filtering the level signal and then sending it to the signal output circuit.
[0014] As an optional implementation, in the first aspect of the utility model, the signal trigger circuit includes a switch module and a reset module, wherein:
[0015] The first end of the switch module is electrically connected to the first end of the reset module and the first end of the signal debouncing circuit respectively; the second end of the reset module is used to electrically connect to the power supply; the second end of the switch module and the third end of the reset module are used for grounding.
[0016] As an optional implementation, in the first aspect of the utility model, the switch module includes a key switch K1, wherein:
[0017] The first end of the key switch K1 is electrically connected to the first end of the reset module, and the second end of the key switch K1 is grounded.
[0018] As an optional implementation, in the first aspect of the utility model, the reset module includes a pull-up resistor R1 and a first capacitor C1, wherein:
[0019] The first end of the pull-up resistor R1 is electrically connected to the first end of the first capacitor C1, the first end of the push switch K1 and the first end of the signal debouncing circuit respectively; the second end of the pull-up resistor R1 is used to electrically connect to the power supply; the second end of the first capacitor C1 is used to be grounded.
[0020] As an optional implementation, in the first aspect of the utility model, the signal debouncing circuit includes a first control chip U1, wherein:
[0021] The input end of the first control chip U1 is electrically connected to the first end of the pull-up resistor R1, and the output end of the first control chip U1 is electrically connected to the first end of the signal output circuit; the power end of the first control chip U1 is used to electrically connect to the power supply; and the ground end of the first control chip U1 is used for grounding.
[0022] As an optional implementation, in the first aspect of the utility model, the signal debouncing circuit further includes a second capacitor C2, wherein:
[0023] A first end of the second capacitor C2 is electrically connected to a power supply end of the first control chip U1 , and a second end of the second capacitor C2 is grounded.
[0024] As an optional implementation, in the first aspect of the utility model, the signal output circuit includes a second control chip U2, wherein:
[0025] The clock input terminal of the second control chip U2 is electrically connected to the second end of the signal debouncing circuit; the data input terminal of the second control chip U2 is electrically connected to the inverted code output terminal of the second control chip U2; the power supply terminal of the second control chip U2, the set terminal of the second control chip U2 and the reset terminal of the second control chip U2 are respectively used to electrically connect to the power supply; the ground terminal of the second control chip U2 is used for grounding; the signal output terminal of the second control chip U2 is used to connect to the load.
[0026] As an optional implementation, in the first aspect of the utility model, the signal output circuit further includes a third capacitor C3, wherein:
[0027] A first end of the third capacitor C3 is electrically connected to a power supply end of the second control chip U2 ; a second end of the third capacitor C3 is grounded.
[0028] The second aspect of the utility model discloses an electronic device, which comprises a device body and any switch control circuit disclosed in the first aspect.
[0029] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0030] In the utility model, a switch control circuit is provided, including a signal trigger circuit and a signal output circuit, wherein a first end of the signal trigger circuit is electrically connected to a first end of the signal output circuit, a second end of the signal trigger circuit and a second end of the signal output circuit are used to electrically connect to a power supply, a third end of the signal trigger circuit and a third end of the signal output circuit are used to be grounded, and a fourth end of the signal output circuit is used to connect to a load; the power supply is used to supply power to the signal trigger circuit and the signal output circuit; the signal trigger circuit is used to generate a level signal when the signal trigger circuit is triggered, and send the level signal to the signal output circuit; the signal output circuit is used to generate a switch control signal according to the level state of the level signal, and continuously output the switch control signal to the load.
[0031] It can be seen that the utility model provides a circuit with a simple structure and is easy to implement, which can generate a switch control signal based on a signal trigger to realize the switch control function, thereby improving the convenience of switch control; at the same time, it can also output the switch control signal only when the level signal meets the conditions, thereby improving the output control accuracy of the switch control signal; it can also output the switch control signal stably to the load by continuously outputting the switch control signal, thereby facilitating efficient and stable switch control of the load; and, the switch control circuit can realize the switch control function only by relying on an analog circuit, without the need to use a single-chip microcomputer, thereby realizing the switch control function more easily and at a low cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be 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.
[0033] Figure 1 It is a structural schematic diagram of a switch control circuit disclosed in an embodiment of the utility model;
[0034] Figure 2 It is a structural schematic diagram of another switch control circuit disclosed in an embodiment of the utility model;
[0035] Figure 3 It is a structural schematic diagram of another switch control circuit disclosed in an embodiment of the utility model;
[0036] Figure 4 It is a structural schematic diagram of another switch control circuit disclosed in an embodiment of the utility model;
[0037] Figure 5 It is a signal timing diagram of a switch control circuit disclosed in an embodiment of the utility model. DETAILED DESCRIPTION
[0038] In order to enable those skilled in the art to better understand the solution of the utility model, the technical solution in the embodiment of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiment of the utility model. Obviously, the described embodiment is only a part of the embodiment of the utility model, not all of the embodiments. Based on the embodiment of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0039] It should be noted that, unless otherwise clearly specified and limited, the term "electrical connection" in the specification and claims of the utility model and the above-mentioned drawings should be understood in a broad sense. For example, it can be a fixed electrical connection, a detachable electrical connection, or an integral electrical connection; it can be a mechanical electrical connection, an electrical electrical connection, or can communicate with each other; it can be directly connected, or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. In addition, the terms "first", "second", etc. in the specification and claims of the utility model and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. The terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For those of ordinary skill in the art, the specific meanings of the above terms in the utility model can be understood according to specific circumstances.
[0040] Embodiment 1
[0041] See also Figure 1 , Figure 1 Schematic diagram of a switch control circuit disclosed in the embodiment of the utility model. The circuit can be applied to any electronic device that needs to perform switch control (such as a power switch device), and the embodiment of the utility model is not limited thereto. Figure 1 As shown, the switch control circuit 10 includes a signal trigger circuit 101 and a signal output circuit 102, wherein:
[0042] The first end of the signal trigger circuit 101 is electrically connected to the first end of the signal output circuit 102, the second end of the signal trigger circuit 101 and the second end of the signal output circuit 102 are used to electrically connect to a power supply, the third end of the signal trigger circuit 101 and the third end of the signal output circuit 102 are used to be grounded, and the fourth end of the signal output circuit 102 is used to connect to a load; the power supply is used to supply power to the signal trigger circuit 101 and the signal output circuit 102;
[0043] The signal trigger circuit 101 is used to generate a level signal when the signal trigger circuit 101 is triggered, and send the level signal to the signal output circuit 102;
[0044] The signal output circuit 102 is used to generate a switch control signal according to the level state of the level signal, and continuously output the switch control signal to the load.
[0045] Among them, the specific manner in which the signal output circuit 102 generates a switch control signal according to the level state of the level signal may include: judging whether the level signal is a preset level signal according to the level state of the received level signal; when it is judged that the level signal is a preset level signal, generating a switch control signal, which is not limited in this embodiment. The preset level signal can be a rising edge signal or a falling edge signal, or a high level signal or a low level signal, which is not limited in this embodiment; illustratively, in this embodiment, the preset level signal is a low level signal or a falling edge signal. Optionally, the power supply can be a 5V regulated power supply, which is not limited in this embodiment.
[0046] In this embodiment, the switch control signal generated by the signal output circuit can be used as an enable signal for the load. For example, the load can be a DC-DC converter (direct current-to-direct current converter) or other converters, which is not limited in this embodiment.
[0047] Optionally, a logic reversal circuit may be connected to the post-stage of the signal output circuit to change the level state of the signal received by the load. For example, if the level state of the switch control signal output by the switch control circuit when it is first powered on is a low level state, then after the logic reversal circuit is connected, the level state of the signal received by the load is a high level state. This embodiment is not limited thereto and the switch control signal output by default when it is first powered on can be adjusted based on actual applications to improve the flexibility of switch control.
[0048] Optionally, a signal amplification circuit, such as a triode, may be connected to the post-stage of the signal output circuit to improve the current driving capability of the switch control signal output by the switch control circuit.
[0049] It can be seen that the embodiment of the utility model provides a circuit with a simple structure and is easy to implement, which can generate a switch control signal based on a signal trigger to realize the switch control function, thereby improving the convenience of switch control; at the same time, it can also output the switch control signal only when the level signal meets the conditions, thereby improving the output control accuracy of the switch control signal; it can also output the switch control signal stably to the load by continuously outputting the switch control signal, which is conducive to efficient and stable switch control of the load; and the switch control circuit can realize the switch control function only by relying on an analog circuit without the need to use a single-chip microcomputer, so that the switch control function can be realized more easily and at a lower cost.
[0050] In an optional embodiment, if Figure 2 As shown, the switch control circuit 10 further includes a signal debouncing circuit 103, wherein:
[0051] The first end of the signal de-jitter circuit 103 is electrically connected to the first end of the signal trigger circuit 101, and the second end of the signal de-jitter circuit 103 is electrically connected to the first end of the signal output circuit 102; the third end of the signal de-jitter circuit 103 is used to electrically connect to the power supply; the fourth end of the signal de-jitter circuit 103 is used to be grounded;
[0052] When sending the level signal to the signal output circuit 102, the signal trigger circuit 101 is specifically used to:
[0053] Sending the level signal to the signal debouncing circuit 103;
[0054] The signal debouncing circuit 103 is used for filtering the level signal and then sending it to the signal output circuit 102 .
[0055] Among them, optionally, the signal debouncing circuit can filter out signals in the level signal that are greater than the minimum voltage threshold and less than the maximum voltage threshold, that is, shape the level signal to output a stable level signal.
[0056] It can be seen that by adding a signal debouncing circuit to the switch control circuit, the level signal can be filtered to eliminate jitter, thereby improving the reliability of the signal input to the signal output circuit, thereby reducing the possibility of false triggering of the signal output circuit to generate a switch control signal, and improving the anti-interference ability of the switch control circuit.
[0057] In this optional embodiment, optionally, as Figure 3 As shown, the signal trigger circuit 101 may include a switch module 1011 and a reset module 1012, wherein:
[0058] The first end of the switch module 1011 is electrically connected to the first end of the reset module 1012 and the first end of the signal debouncing circuit 103 respectively; the second end of the reset module 1012 is used to electrically connect to the power supply; the second end of the switch module 1011 and the third end of the reset module 1012 are used for grounding.
[0059] Among them, the reset module can filter the first level signal; and when the switch control circuit is not triggered, the reset module can clamp the level state of the first end of the switch module to a high level state, which can improve the efficiency of restoring the circuit to its original state.
[0060] The first level signal may be a low level signal or a falling edge signal, which is not limited in this embodiment.
[0061] It can be seen that by triggering the generation of the level signal through the switch module, filtering the level signal through the reset module, and outputting the filtered level signal to the signal debouncing circuit, the reliability of the level signal can be further improved.
[0062] In this optional embodiment, optionally, as Figure 4 As shown, the switch module 1011 may include a key switch K1, wherein:
[0063] A first end of the key switch K1 is electrically connected to a first end of the reset module 1012 , and a second end of the key switch K1 is grounded.
[0064] The switch module being triggered may specifically be the key switch K1 being triggered. In this way, by triggering the key switch to generate a level signal, the convenience of signal triggering can be improved, and the circuit implementation cost can be saved.
[0065] In this optional embodiment, further optional, such as Figure 4 As shown, the reset module 1012 may include a pull-up resistor R1 and a first capacitor C1, wherein:
[0066] The first end of the pull-up resistor R1 is electrically connected to the first end of the first capacitor C1, the first end of the push switch K1 and the first end of the signal debouncing circuit 103 respectively; the second end of the pull-up resistor R1 is used to electrically connect to the power supply; the second end of the first capacitor C1 is used to ground.
[0067] Among them, when the switch module includes a push switch K1, the pull-up resistor R1 is used to clamp the first level state of the first end of the push switch K1 to a high level state when the push switch K1 is not triggered; when the push switch K1 is triggered, the first level state of the first end of the push switch K1 is pulled down to a low level state; the first capacitor C1 is used to eliminate the mechanical jitter generated by the push switch K1 in the first level signal when the push switch K1 is triggered, so as to filter the first level signal; further, when the switch control circuit is powered on for the first time, the first capacitor C1 is charged during the power-on process, and the charging time of the first capacitor C1 is proportional to the product of the resistance value of the pull-up resistor R1 and the capacitance value of the first capacitor C1, and by charging the first capacitor C1, the trigger signal debouncing circuit generates a short rising edge signal, so that the signal output circuit outputs a default control signal (for example: a low level signal).
[0068] It can be seen that the pull-up resistor can clamp the circuit potential at a high level when the push switch is not triggered. At the same time, according to the characteristic that the voltage across the capacitor cannot change suddenly, the circuit reset function is realized by the combination of the pull-up resistor and the capacitor, which can improve the circuit reset efficiency and save the circuit development cost; and, by filtering the level signal through the capacitor, the reliability of the level signal can be improved, thereby improving the circuit reliability.
[0069] In this optional embodiment, optionally, as Figure 4 As shown, the signal debouncing circuit 103 may include a first control chip U1, wherein:
[0070] The input end of the first control chip U1 is electrically connected to the first end of the pull-up resistor R1, and the output end of the first control chip U1 is electrically connected to the first end of the signal output circuit 102; the power end of the first control chip U1 is used to electrically connect to the power supply; the ground end of the first control chip U1 is used for grounding.
[0071] The first control chip U1 may be a Schmitt trigger. Specifically, when the first control chip U1 is a Schmitt trigger, the input end of the first control chip U1 may be the first input end of the Schmitt trigger; optionally, the second input end of the Schmitt trigger may not be connected to other components, that is, the second input end may be an empty pin.
[0072] Optionally, when the first control chip U1 is a Schmitt trigger, the minimum voltage threshold may be a lower threshold of the Schmitt trigger, and the maximum voltage threshold may be an upper threshold of the Schmitt trigger, which is not limited in this embodiment.
[0073] It can be seen that the first control chip can be used to eliminate the jitter of the level signal (such as eliminating the jitter generated by the push switch in the signal trigger circuit), which can avoid false triggering or repeated triggering of the signal generating circuit to generate the switch control signal, further improving the anti-interference ability of the switch control circuit, thereby improving the reliability of the switch control circuit.
[0074] In this optional embodiment, further optional, such as Figure 4 As shown, the signal debouncing circuit 103 may further include a second capacitor C2, wherein:
[0075] A first end of the second capacitor C2 is electrically connected to a power supply end of the first control chip U1 , and a second end of the second capacitor C2 is grounded.
[0076] The second capacitor C2 can be used to filter out power supply noise, making the circuit more stable and reducing the possibility of components being interfered with.
[0077] In this optional embodiment, optionally, as Figure 4 As shown, the signal output circuit 102 may include a second control chip U2, wherein:
[0078] The clock input terminal of the second control chip U2 is electrically connected to the second end of the signal debouncing circuit 103; the data input terminal of the second control chip U2 is electrically connected to the inverse code output terminal of the second control chip U2; the power supply terminal of the second control chip U2, the set terminal of the second control chip U2 and the reset terminal of the second control chip U2 are respectively used to electrically connect to the power supply; the ground terminal of the second control chip U2 is used for grounding; the signal output terminal of the second control chip U2 is used to connect to the load.
[0079] The second control chip U2 may be a D flip-flop. Specifically, when the second control chip U2 is a D flip-flop, the clock input terminal of the second control chip U2 is the CP terminal of the D flip-flop, the data input terminal of the second control chip U2 is the D terminal of the D flip-flop, the inverse code output terminal of the second control chip U2 is the Q# terminal of the D flip-flop, the set terminal of the second control chip U2 is the S#D terminal of the D flip-flop, the reset terminal of the second control chip U2 is the R#D terminal of the D flip-flop, and the signal output terminal of the second control chip U2 is the Q terminal of the D flip-flop.
[0080] It should be noted that when the second control chip U2 is a D flip-flop, the signal output circuit can realize a two-frequency division circuit by electrically connecting the data input terminal of the second control chip U2 with the inverted code output terminal of the second control chip U2, that is, using the same clock signal to convert into clock signals of different frequencies through a certain circuit structure. For example, when the signal trigger circuit includes a key switch, the signal timing diagram of the switch control circuit can be as follows: Figure 5 As shown, Figure 5 FIG. 1 is a schematic diagram of a signal timing sequence of a switch control circuit disclosed in this embodiment. When the clock signal input terminal of the D flip-flop receives a level signal (ie, Figure 5 When the key input signal shown in the figure is received and the level signal is a preset level signal (such as a low level signal), the D flip-flop is triggered to input a pulse signal to the data input terminal of the D flip-flop at the next rising edge of the clock timing, so as to realize signal delayed input, and flip the original output signal at the signal output terminal, and the signal output terminal can store and output the flipped signal to realize continuous output of the switch control signal to the load. And, if the level signal is not a preset level signal, the D flip-flop will maintain the level state of the switch control signal output by the Q terminal.
[0081] It can be seen that by implementing a two-way frequency division circuit through the second control chip, the frequency of the output signal is halved, the data input terminal can be controlled to delay the input signal to delay the output switch control signal, and the output stability of the switch control signal can be improved; and, by implementing and integrating multiple functions such as a two-way frequency division circuit, generating control signals, storing control signals, and outputting control signals through a single device of the second control chip, the circuit structure can be simplified, the circuit implementation efficiency can be improved, and the circuit implementation cost can be controlled.
[0082] In this optional embodiment, further optional, such as Figure 4 As shown, the signal output circuit 102 may further include a third capacitor C3, wherein:
[0083] A first end of the third capacitor C3 is electrically connected to the power supply end of the second control chip U2 ; a second end of the third capacitor C3 is grounded.
[0084] The third capacitor C3 can be used to filter out power supply noise, making the circuit more stable and reducing the possibility of components being interfered with.
[0085] In this optional embodiment, optionally, as Figure 4 As shown, the signal output circuit may further include a current limiting resistor R2, wherein:
[0086] One end of the current limiting resistor R2 is electrically connected to the signal output end of the second control chip U2, and the other end of the current limiting resistor R2 is used to connect to the load, so as to protect the circuit.
[0087] In this embodiment, optionally, a step-down circuit or a voltage stabilizing circuit, such as a LDO (Low Dropout Regulator) can be connected to the front stage of the first control chip U1 and / or the second control chip U2 to increase the maximum withstand voltage of the switch control circuit.
[0088] In this embodiment, illustratively, when the switch control circuit includes a signal trigger circuit, a signal debounce circuit and a signal output circuit, the structural diagram of the switch control circuit can be as follows: Figure 4 shown.
[0089] The working principle of the switch control circuit in the embodiment of the utility model is as follows:
[0090] In the embodiment of the utility model, when the power is first turned on, since there are a pull-up resistor R1 and a first capacitor C1 in the switch control circuit, that is, the first capacitor C1 needs to be charged when the power is first turned on, triggering the second control chip U2 electrically connected to the pull-up resistor R1 and the first capacitor C1 to output a rising edge signal, and the first control chip U1 captures the rising edge signal and triggers the switch control signal output by the first control chip U1 to flip from a high level to a low level;
[0091] When it is not the first time to power on, if the key switch K1 is triggered, the level state of the first end of the key switch K1 is pulled down from a high level state to a low level state, generating a low level signal, and the first capacitor C1 filters the low level signal and sends the low level signal to the first control chip U1. The first control chip U1 eliminates jitter on the received level signal to obtain a stable low level signal, and inputs the stable low level signal to the second control chip U2. When the second control chip U2 captures the low level signal, it triggers the second control chip U2 to flip the original output signal to obtain a switch control signal, and continuously outputs the switch control signal to the load.
[0092] It can be seen that the switch control circuit of the present scheme provides a circuit with a simple structure and is easy to implement. It can generate a switch control signal based on signal triggering to realize the switch control function, which can improve the convenience of switch control; at the same time, it can also output the switch control signal only when the level signal meets the conditions, which can improve the output control accuracy of the switch control signal; it can also output the switch control signal stably to the load by continuously outputting the switch control signal, which is conducive to efficient and stable switch control of the load; and the switch control circuit can realize the switch control function only by analog circuits, without the need to use a single-chip microcomputer, so that the switch control function can be realized more easily and at a lower cost.
[0093] Embodiment 2
[0094] The present utility model embodiment discloses an electronic device, which includes a device body and a switch control circuit as described in any one of the embodiments 1. It should be noted that for a detailed description of the switch control circuit, please refer to the specific description of the relevant content in the embodiment 1, which will not be repeated in this embodiment.
[0095] It can be seen that the electronic device of the embodiment of the utility model can generate a switch control signal based on a signal trigger to realize the switch control function, thereby improving the convenience of switch control by providing a circuit with a simple structure and easy implementation; at the same time, it can also output the switch control signal only when the level signal meets the conditions, thereby improving the output control accuracy of the switch control signal; it can also output the switch control signal stably to the load by continuously outputting the switch control signal, thereby facilitating efficient and stable switch control of the load; and, the switch control circuit can realize the switch control function only by relying on an analog circuit without the need to use a single-chip microcomputer, thereby realizing the switch control function more easily and at a low cost.
[0096] The switch control circuit and electronic device disclosed in the embodiment of the utility model are introduced in detail above. The principle and implementation mode of the utility model are explained in this article by using specific embodiments. However, the above preferred embodiments are not used to limit the utility model. The description of the above embodiments is only used to help understand the method and core idea of the utility model. At the same time, for those skilled in the art, according to the idea of the utility model, there will be changes in the specific implementation mode and application scope without departing from the spirit and scope of the utility model. Therefore, the protection scope of the utility model shall be based on the scope defined by the claims.
Claims
1. A switch control circuit, characterized in that: The switch control circuit (10) comprises a signal trigger circuit (101) and a signal output circuit (102), wherein: The first end of the signal trigger circuit (101) is electrically connected to the first end of the signal output circuit (102); the second end of the signal trigger circuit (101) and the second end of the signal output circuit (102) are used to electrically connect to a power supply; the third end of the signal trigger circuit (101) and the third end of the signal output circuit (102) are used to be grounded; and the fourth end of the signal output circuit (102) is used to connect to a load; the power supply is used to supply power to the signal trigger circuit (101) and the signal output circuit (102); The signal trigger circuit (101) is used to generate a level signal when the signal trigger circuit (101) is triggered, and send the level signal to the signal output circuit (102); The signal output circuit (102) is used to generate a switch control signal according to the level state of the level signal, and continuously output the switch control signal to the load.
2. The switch control circuit according to claim 1, characterized in that: The switch control circuit (10) further comprises a signal debouncing circuit (103), wherein: The first end of the signal de-jitter circuit (103) is electrically connected to the first end of the signal trigger circuit (101), and the second end of the signal de-jitter circuit (103) is electrically connected to the first end of the signal output circuit (102); the third end of the signal de-jitter circuit (103) is used to electrically connect to the power supply; and the fourth end of the signal de-jitter circuit (103) is used to be grounded; When sending the level signal to the signal output circuit (102), the signal trigger circuit (101) is specifically used to: Sending the level signal to the signal debouncing circuit (103); The signal debouncing circuit (103) is used for filtering the level signal and then sending the signal to the signal output circuit (102).
3. The switch control circuit according to claim 2, characterized in that: The signal trigger circuit (101) comprises a switch module (1011) and a reset module (1012), wherein: The first end of the switch module (1011) is electrically connected to the first end of the reset module (1012) and the first end of the signal debouncing circuit (103) respectively; the second end of the reset module (1012) is used to electrically connect to the power supply; the second end of the switch module (1011) and the third end of the reset module (1012) are used to be grounded.
4. The switch control circuit according to claim 3, characterized in that: The switch module (1011) comprises a key switch (K1), wherein: The first end of the key switch (K1) is electrically connected to the first end of the reset module (1012), and the second end of the key switch (K1) is used for grounding.
5. The switch control circuit according to claim 4, characterized in that: The reset module (1012) comprises a pull-up resistor (R1) and a first capacitor (C1), wherein: The first end of the pull-up resistor (R1) is electrically connected to the first end of the first capacitor (C1), the first end of the key switch (K1) and the first end of the signal debouncing circuit (103) respectively; the second end of the pull-up resistor (R1) is used to electrically connect to the power supply; and the second end of the first capacitor (C1) is used to be grounded.
6. The switch control circuit according to claim 5, characterized in that: The signal debouncing circuit (103) comprises a first control chip (U1), wherein: The input end of the first control chip (U1) is electrically connected to the first end of the pull-up resistor (R1), and the output end of the first control chip (U1) is electrically connected to the first end of the signal output circuit (102); the power supply end of the first control chip (U1) is used to electrically connect to the power supply; and the grounding end of the first control chip (U1) is used to be grounded.
7. The switch control circuit according to claim 6, characterized in that: The signal debouncing circuit (103) further comprises a second capacitor (C2), wherein: A first end of the second capacitor (C2) is electrically connected to a power supply end of the first control chip (U1), and a second end of the second capacitor (C2) is grounded.
8. The switch control circuit according to any one of claims 2 to 7, characterized in that: The signal output circuit (102) comprises a second control chip (U2), wherein: The clock input end of the second control chip (U2) is electrically connected to the second end of the signal debouncing circuit (103); the data input end of the second control chip (U2) is electrically connected to the inverted code output end of the second control chip (U2); the power supply end of the second control chip (U2), the set end of the second control chip (U2) and the reset end of the second control chip (U2) are respectively used to electrically connect to the power supply; the grounding end of the second control chip (U2) is used for grounding; and the signal output end of the second control chip (U2) is used to connect to the load.
9. The switch control circuit according to claim 8, characterized in that: The signal output circuit (102) further comprises a third capacitor (C3), wherein: The first end of the third capacitor (C3) is electrically connected to the power supply end of the second control chip (U2); and the second end of the third capacitor (C3) is used for grounding.
10. An electronic device, characterized in that: The electronic device comprises a device body and a switch control circuit as described in any one of claims 1-9.
