Signal control circuit and electronic equipment

By designing a signal control circuit for multiple Hall switching elements and magnetic components in electronic equipment, the problem of Hall switching elements outputting error signals under strong magnetic field interference is solved, and the normal working state maintenance is achieved under magnetic field interference.

CN119906400APending Publication Date: 2025-04-29HYTERA COMM CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311426117.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-27
Publication Date
2025-04-29

AI Technical Summary

Technical Problem

In the prior art, Hall switching elements are prone to output erroneous control signals under strong magnetic field interference, affecting the normal use of electronic equipment.

Method used

A signal control circuit is designed, using multiple Hall switching elements and magnetic elements, and a control signal is generated according to the magnetic signal through the main control unit, and the current working state of the electronic device is maintained under the interference of external magnetic field.

Benefits of technology

It effectively reduces the interference of external magnetic fields on electronic devices, ensures that the electronic devices can maintain normal working state under magnetic field interference, and avoids accidental triggering or functional failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119906400A_ABST
    Figure CN119906400A_ABST
Patent Text Reader

Abstract

The invention discloses a signal control circuit and electronic equipment. The signal control circuit comprises a main control unit and a first switch unit coupled with the main control unit, wherein the first switch unit comprises N magnetic elements; the M Hall switch elements are arranged at intervals, each Hall switch element is coupled with the main control unit, the M Hall switch elements are used for detecting magnetic signals of the magnetic element and an external magnetic field, the main control unit is used for generating control signals according to the magnetic signals and controlling the working state of the electronic equipment through the control signals, and M is larger than N; and the main control unit is used for controlling the electronic equipment to maintain the current working state when the control signal changes and the change is caused by external magnetic field interference. The interference of the external magnetic field on the electronic equipment can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of control circuits, and in particular to signal control circuits and electronic equipment. Background Art

[0002] Hall switch elements are commonly used in electronic devices to control signals. For example, Hall switch elements are used to turn electronic devices on and off, and to enable functions of electronic devices, such as turning on voice and video.

[0003] At present, the schemes related to signal control using Hall switch elements generally use magnetic elements to approach or distance from the Hall switch elements, so that the Hall switch elements output corresponding control signals. However, when there is strong magnetic field interference, the Hall switch elements will output wrong control signals and affect the normal use of electronic equipment. Summary of the invention

[0004] The main technical problem solved by the present application is to provide a signal control circuit and an electronic device, which can reduce the interference of an external magnetic field on the electronic device.

[0005] In order to solve the above technical problems, a technical solution adopted in the present application is: to provide a signal control circuit, applied to an electronic device, the signal control circuit includes a main control unit, and a first switch unit coupled to the main control unit; wherein the first switch unit includes: N magnetic elements; M Hall switch elements arranged at intervals, each Hall switch element is coupled to the main control unit, the M Hall switch elements are used to detect magnetic signals of the magnetic elements and the external magnetic field, the main control unit is used to generate a control signal according to the magnetic signal and control the working state of the electronic device through the control signal, wherein M is greater than N; the main control unit is used to control the electronic device to maintain the current working state when the control signal changes and the change is caused by external magnetic field interference.

[0006] In one embodiment of the present application, the first switch unit also includes: an enable signal generating circuit, the control end of the enable signal generating circuit is coupled to some of the M Hall switch elements, and the enable signal generating circuit generates a first enable signal or a second enable signal according to the magnetic signals detected by some of the Hall switch elements; the first enable signal is used to control the working state of the electronic device to be a first state, and the second enable signal is used to control the working state of the electronic device to be a second state.

[0007] In one embodiment of the present application, M Hall switch elements include: a first Hall switch element, a second Hall switch element and a third Hall switch element; N magnetic elements include a first magnetic element and a second magnetic element; when the working state of the electronic device is a first state, the first magnetic element and the second magnetic element are respectively set to correspond to any two of the first Hall switch element, the second Hall switch element and the third Hall switch element, wherein the control end of the enable signal generating circuit is coupled to the Hall switch elements set corresponding to the first magnetic element and the second magnetic element.

[0008] In one embodiment of the present application, when the working state of the electronic device is a first state, the first magnetic element is set corresponding to the first Hall switch element; the second magnetic element is set corresponding to the third Hall switch element; when the working state of the electronic device is a second state, the first magnetic element is set corresponding to the second Hall switch element.

[0009] In one embodiment of the present application, an enable signal generating circuit includes: a switch tube, a control end of the switch tube is coupled to a first Hall switch element and a third Hall switch element, and a first channel end of the switch tube is grounded; a first resistor, a first end of the first resistor is coupled to an operating voltage end, and a second end of the first resistor is coupled to a second channel end of the switch tube, wherein a coupling point between the first resistor and the switch tube serves as an enable signal output end; in response to both the first Hall switch element and the third Hall switch element detecting a magnetic signal, the switch tube is turned on, the enable signal output end outputs a first enable signal, and the working state of the electronic device is a first state; in response to at least one of the first Hall switch element and the third Hall switch element not detecting a magnetic signal, the switch tube is turned off, the enable signal output end outputs a second enable signal, and the working state of the electronic device is a second state.

[0010] In one embodiment of the present application, the enable signal generating circuit also includes: a first diode, an anode of the first diode is coupled to the first Hall switch element, and a cathode of the first diode is coupled to the control end of the switch tube; a second diode, an anode of the second diode is coupled to the third Hall switch element, and a cathode of the second diode is coupled to the control end of the switch tube; a second resistor, a first end of the second resistor is coupled to the control end of the switch tube, and a second end of the second resistor is grounded.

[0011] In one embodiment of the present application, the first state is off, and the second state is on; when the working state of the electronic device is off, if the second Hall switch element detects a magnetic signal, the control signal changes, and the main control unit confirms that the change is caused by external magnetic field interference and controls the electronic device to remain off; when the working state of the electronic device is on, if the first Hall switch element or the third Hall switch element detects a magnetic signal, the control signal changes, and the main control unit confirms that the change is caused by external magnetic field interference and controls the electronic device to remain on.

[0012] In one embodiment of the present application, the signal control circuit also includes: a second switch unit, which is used to control the working state of the electronic device to a second state; when the working state of the electronic device is a first state, the main control unit controls the second switch unit to make the working state of the electronic device the second state.

[0013] In order to solve the above technical problem, another technical solution adopted by the present application is: to provide an electronic device, including the above signal control circuit.

[0014] In one embodiment of the present application, the electronic device is an image acquisition device.

[0015] Different from the current technology, the electrical signal output by a single Hall switch element can only cause the main control unit to generate two control signals, corresponding to two opposite functions. When a single Hall switch element is disturbed by a magnetic field (i.e., a magnetic signal is detected), the output electrical signal changes from a high level to a low level, or from a low level to a high level, affecting the normal use of the electronic device. The signal control circuit and electronic device of the present application, through the difference in the number of Hall switch elements and magnetic elements, make it possible for some Hall switch elements to be not controlled by the magnetic signal of the magnetic element when the electronic device is working, while the corresponding electrical signal of some Hall switch elements that are not controlled by the magnetic signal of the magnetic element changes when the magnetic signal of the external magnetic field is detected, thereby causing the control signal of the main control unit to change. In this way, the main control unit can control the electronic device to maintain the current working state when the control signal changes and the change is caused by external magnetic field interference. That is, the present application uses multiple Hall switch elements to enable the main control unit to form at least three control signals, and even if the function corresponding to the control signal generated under external magnetic field interference can avoid being opposite to the previous function, so that the electronic device can maintain the current working state and avoid affecting the normal use of the electronic device, that is, reducing the interference of the external magnetic field on the electronic device. Furthermore, since the Hall switch elements of this embodiment are arranged at intervals, interference between adjacent Hall switch elements caused by the same magnetic element can be avoided. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0017] in:

[0018] Figure 1 It is a structural schematic diagram of an embodiment of a signal control circuit applied to electronic equipment in the present application;

[0019] Figure 2 It is a schematic diagram of the positions of the magnetic element and the Hall switch element in one embodiment of the present application;

[0020] Figure 3 yes Figure 2 A schematic diagram of the working state of the electronic device corresponding to each electrical signal generated by the positional relationship between the magnetic element and the Hall switch element;

[0021] Figure 4 is a schematic diagram of the positions of the magnetic element and the Hall switch element in another embodiment of the present application;

[0022] Figure 5 yes Figure 4 A schematic diagram of the working state of the electronic device corresponding to each electrical signal generated by the positional relationship between the magnetic element and the Hall switch element;

[0023] Figure 6 is a schematic diagram of the working state of the electronic device corresponding to the second switch unit in the present application;

[0024] Figure 7 is a structural schematic diagram of another embodiment of a signal control circuit applied to electronic equipment in the present application;

[0025] Figure 8 It is a general connection diagram of a signal control circuit applied to electronic equipment in the present application;

[0026] Fig. 9 is a circuit connection diagram of the Hall switch element in this application;

[0027] Fig.10 It is a partial connection diagram of a signal control circuit applied to electronic equipment in the present application;

[0028] Fig.11 It is another part of the connection diagram of the signal control circuit applied to the electronic device in the present application;

[0029] Fig.12 It is a connection diagram of the power supply circuit in this application.

[0030] In the accompanying drawings, 10-signal control circuit, 100-main control unit, 200-first switch unit, 300-second switch unit, -push button bracket, 201-magnetic element, 2011-first magnetic element, 2012-second magnetic element, 202-Hall switch element, 2021-first Hall switch element, 2022-second Hall switch element, 2023-third Hall switch element, 203-enable signal generating circuit, R1-first resistor, R2-second resistor, Q1-switch tube, D1-first diode, D2-second diode. DETAILED DESCRIPTION

[0031] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It will be appreciated that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some but not all structures related to the present application are shown in the drawings. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the art without making creative work are within the scope of protection of the present application.

[0032] Reference to "embodiments" in an application means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0033] The steps in the embodiments of the present application do not necessarily have to be processed in the described order of steps. The steps can be selectively rearranged, or the steps in the embodiments can be deleted, or the steps in the embodiments can be added as needed. The step descriptions in the embodiments of the present application are only optional sequence combinations and do not represent all step sequence combinations in the embodiments of the present application. The order of steps in the embodiments cannot be considered as a limitation of the present application.

[0034] The term "and / or" in the embodiments of the present application refers to any and all possible combinations of one or more of the associated enumerated items. It should also be noted that when used in this specification, "include / comprise" specifies the presence of stated features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements and / or components and / or their groups.

[0035] The terms "first", "second", etc. in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0036] At present, the schemes related to signal control using Hall switch elements generally use magnetic elements to approach the Hall switch elements or remove the Hall switch elements, so that the Hall switch elements output corresponding electrical signals to control the electronic equipment accordingly. However, when there is strong magnetic field interference, these schemes will cause the Hall switch elements to output erroneous electrical signals and affect the normal use of the electronic equipment.

[0037] Based on this, the present application proposes to use multiple Hall switch elements to enable the main control unit to form at least three control signals. Even if the function corresponding to the control signal generated under external magnetic field interference can avoid being opposite to the previous function, the electronic device can maintain the current working state and avoid affecting the normal use of the electronic device, that is, reducing the interference of the external magnetic field on the electronic device. Furthermore, since the Hall switch elements of this embodiment are arranged at intervals, interference between adjacent Hall switch elements caused by the same magnetic element can be avoided. Please refer to any of the following embodiments for details.

[0038] See also Figure 1 , Figure 1 1 is a schematic diagram of a structure of an embodiment of a signal control circuit applied to an electronic device in the present application. The signal control circuit 10 includes a main control unit 100 and a first switch unit 200 coupled to the main control unit 100; wherein the first switch unit 200 includes: N magnetic elements; M Hall switch elements arranged at intervals; wherein each Hall switch element is coupled to the main control unit 100. The M Hall switch elements are used to detect magnetic signals of the magnetic elements and the external magnetic field. M is greater than N.

[0039] The main control unit 100 is used to generate a control signal according to the magnetic signal and control the working state of the electronic device through the control signal.

[0040] The main control unit 100 is used to control the electronic device to maintain the current working state when the control signal changes and the change is caused by external magnetic field interference.

[0041] For ease of understanding, in the specification, the control signal before the change is represented by the first control signal, and the control signal after the change is represented by the second control signal.

[0042] In some embodiments, the main control unit 100 is powered on according to the control signal before the change (ie, the first control signal), and the main control unit 100 is powered off according to the control signal after the change (ie, the second control signal).

[0043] In some embodiments, the main control unit 100 is turned on according to the first control signal. When the main control unit 100 is disturbed by the magnetic field, the first control signal is changed to the second control signal, and the main control unit 100 remains turned on according to the second control signal. There are at least three control signals corresponding to the multiple Hall switch elements, so a corresponding function can be set for each control signal. Different control signals can also have the same function, that is, the current control signal corresponds to the same function as the previous control signal. After the multiple Hall switch elements form the current control signal, the function of the previous control signal can be maintained.

[0044] The main control unit 100 may be one or more, for example, multiple Hall switch elements are coupled to the same main control unit 100, or each Hall switch element 202 is coupled to an independent main control unit 100. Specifically, the output end of the Hall switch element may be connected to a general purpose input output (GPIO) port of the main control unit 100.

[0045] Each magnetic element may be a magnetic component such as a magnet, a winding or a magnetic core.

[0046] In some embodiments, the magnetic element can be circular, with the N pole and S pole of the magnetic element on the upper and lower surfaces to ensure that the magnetic elements do not attract each other. In addition, N magnetic elements can be fixed on a push button bracket at intervals according to the spacing of the Hall switch elements. By pushing the push button bracket, the corresponding magnetic element can be moved close to the corresponding Hall switch element or away from the corresponding Hall switch element.

[0047] In some embodiments, the first control signal and the second control signal can be generated based on the electrical signal (high level or low level) output by each Hall switch element under the control of N magnetic elements. For example, when any Hall switch element detects the magnetic signal of the corresponding magnetic element or the external magnetic field, the output electrical signal is 0. When the Hall switch element does not detect the magnetic signal of the corresponding magnetic element or the external magnetic field, the output electrical signal is 1. The electronic device can generate corresponding control signals based on the electrical signals of multiple Hall switch elements.

[0048] Exemplarily, when M is equal to 3 and N is equal to 2, in the initial position, the first magnetic element is set corresponding to the first Hall switch element, and the second magnetic element is set corresponding to the third Hall switch element. When not disturbed by the magnetic field, the relative position with the M Hall switch elements is changed by moving the N magnetic elements, and the electrical signals output by the M Hall switch elements include: 010 and 101. Among them, "010" is sorted according to the number of the Hall switch elements, that is, the first 0 is output by the first Hall switch element, the second 1 is output by the second Hall switch element, and the third 0 is output by the third Hall switch element. The rest of the electrical signals can be obtained in the same way. When disturbed by the magnetic field, the electrical signals output by the M Hall switch elements include: 000, 001 and 100. The main control unit 100 can generate corresponding control signals based on these electrical signals. Based on this, the main control unit 100 can set corresponding control signals for these electrical signals 010, 101, 000, 001 and 100 to achieve corresponding functions. For example, the function of the control signal corresponding to 010 is to shut down. When it changes from 010 to 101, the function of the control signal corresponding to 101 is to turn on. When it changes from 010 to 000, the function of the control signal corresponding to 000 is to keep shutting down, which means that although there is magnetic field interference at this time, it does not affect the use of the electronic device. When it changes from 101 to 001 or 100, the function of the control signal corresponding to 001 or 100 is to keep turning on, which means that although there is magnetic field interference at this time, it does not affect the use of the electronic device. The main control unit 100 is used to control the electronic device to maintain the current working state when the control signal changes and the change is caused by external magnetic field interference.

[0049] When M is equal to 4 and N is equal to 3, in the initial position, the first magnetic element corresponds to the first Hall switch element, the second magnetic element corresponds to the second Hall switch element, and the third magnetic element corresponds to the fourth Hall switch element. When not disturbed by the magnetic field, by moving the N magnetic element to change the relative position with the M Hall switch elements, the electrical signals output by the M Hall switch elements include: 0010 and 1001. When disturbed by the magnetic field, the electrical signals output by the M Hall switch elements include: 0000, 1101 and 1011.

[0050] The difference between M and N includes but is not limited to 1, and can be adaptively changed according to actual conditions.

[0051] In some embodiments, the main control unit 100 can turn on and record video or turn off the electronic device according to the first control signal. Similarly, the main control unit 100 can turn on and record video or turn off the electronic device according to the second control signal.

[0052] In some embodiments, at the initial position, N magnetic elements are arranged corresponding to N adjacent Hall switch elements.

[0053] In some embodiments, at the initial position, N magnetic elements are arranged corresponding to N Hall switch elements, wherein the N Hall switch elements are not adjacent to each other.

[0054] For example, when N is equal to 2 and M is equal to 3, the three Hall switch elements arranged at intervals are respectively the first Hall switch element, the second Hall switch element and the third Hall switch element, the two magnetic elements are respectively the first magnetic element and the second magnetic element, and in the initial position, the first magnetic element is arranged corresponding to the first Hall switch element, and the second magnetic element is arranged corresponding to the third Hall switch element. Alternatively, in the initial position, the first magnetic element is arranged corresponding to the first Hall switch element, and the second magnetic element is arranged corresponding to the second Hall switch element.

[0055] This embodiment is different from the current technology in that the electrical signal output by a single Hall switch element can only cause the main control unit to generate two control signals, corresponding to two opposite functions. When a single Hall switch element is disturbed by a magnetic field, the output electrical signal changes from a high level to a low level, or from a low level to a high level, affecting the normal use of the electronic device. The signal control circuit and electronic device of the present application, through the difference in the number of Hall switch elements and magnetic elements, make it possible for some Hall switch elements to be not controlled by the magnetic signal of the magnetic element when the electronic device is working, while the corresponding electrical signal of some Hall switch elements that are not controlled by the magnetic signal of the magnetic element changes when the magnetic signal of the external magnetic field is detected, thereby causing the control signal of the main control unit to change. In this way, the main control unit can control the electronic device to maintain the current working state when the control signal changes and the change is caused by external magnetic field interference. That is, the present application uses multiple Hall switch elements to enable the main control unit to form at least three control signals. Even if the function corresponding to the control signal generated under external magnetic field interference can avoid being opposite to the previous function, the electronic device can maintain the current working state and avoid affecting the normal use of the electronic device, that is, reduce the interference of the external magnetic field on the electronic device. Furthermore, since the Hall switch elements of this embodiment are arranged at intervals, interference between adjacent Hall switch elements caused by the same magnetic element can be avoided.

[0056] In some embodiments, the first switch unit further includes: an enable signal generating circuit (not shown), the control end of the enable signal generating circuit is coupled to some of the M Hall switch elements, and the enable signal generating circuit generates a first enable signal or a second enable signal according to the magnetic signal detected by some of the Hall switch elements; the first enable signal is used to control the working state of the electronic device to be a first state, and the second enable signal is used to control the working state of the electronic device to be a second state. In some embodiments, the first state can be a power-on state, and the second state is a power-off state.

[0057] In some embodiments, M Hall switch elements include: a first Hall switch element, a second Hall switch element and a third Hall switch element; N magnetic elements include a first magnetic element and a second magnetic element; when the working state of the electronic device is a first state, the first magnetic element and the second magnetic element are respectively set to correspond to any two of the first Hall switch element, the second Hall switch element and the third Hall switch element, wherein the control end of the enable signal generating circuit is coupled to the Hall switch elements set corresponding to the first magnetic element and the second magnetic element.

[0058] When the working state of the electronic device is the first state, the first magnetic element is set corresponding to the first Hall switch element; the second magnetic element is set corresponding to the third Hall switch element; when the working state of the electronic device is the second state, the first magnetic element is set corresponding to the second Hall switch element.

[0059] See also Figure 2 , Figure 2 Schematic diagram of the positions of magnetic elements and Hall switch elements in an embodiment of the present application. M Hall switch elements include: a first Hall switch element 2021, a second Hall switch element 2022 and a third Hall switch element 2023; N magnetic elements include a first magnetic element 2011 and a second magnetic element 2012; in the initial position, the first magnetic element 2011 is used to control the first Hall switch element 2021 to send a first electrical signal to the main control unit 100; the second magnetic element 2012 is used to control the third Hall switch element 2023 to send a third electrical signal to the main control unit 100.

[0060] Specifically, when in the initial position, the first magnetic element 2011 is set corresponding to the first Hall switch element 2021; the second magnetic element 2012 is set corresponding to the third Hall switch element 2023. The first magnetic element 2011 controls the first Hall switch element 2021 to send a first electrical signal (such as a low-level signal, which can be represented by 0) to the main control unit 100. At this time, the first Hall switch element 2021 detects a magnetic signal. The second magnetic element 2012 controls the third Hall switch element 2023 to send a third electrical signal (such as a low-level signal, which can be represented by 0) to the main control unit 100. At this time, the third Hall switch element 2023 detects a magnetic signal. The second Hall switch element 2022, which is not controlled by the magnetic element, sends a second electrical signal (such as a high-level signal, which can be represented by 1) to the main control unit 100. At this time, the second Hall switch element 2022 does not detect a magnetic signal. That is, in the initial position, the electrical signals output by the first Hall switch element 2021, the second Hall switch element 2022, and the third Hall switch element 2023 can be 010. When the push knob is pushed upward, the electrical signals output by the first Hall switch element 2021 , the second Hall switch element 2022 and the third Hall switch element 2023 may be 101.

[0061] In some embodiments, when the strong magnetic field is disturbed at the initial position, only the second Hall switch element 2022 is disturbed by the strong magnetic field (external magnetic signal is detected), causing the electrical signal it outputs to change, causing the electrical signal originally sent to the main control unit 100 to change from a high-level signal to a low-level signal, that is, the electrical signal output by the first Hall switch element 2021, the second Hall switch element 2022, and the third Hall switch element 2023 changes from 010 to 000.

[0062] In some embodiments, when the first Hall switch element 2021 and / or the third Hall switch element 2023 is disturbed by a strong magnetic field in the push-twist state, the electrical signal output by the first Hall switch element 2021 and / or the third Hall switch element 2023 changes.

[0063] For example, the first Hall switch element 2021 is interfered by a strong magnetic field, causing the electrical signal originally sent to the main control unit 100 to change from a high-level signal to a low-level signal, that is, the electrical signals output by the first Hall switch element 2021, the second Hall switch element 2022 and the third Hall switch element 2023 change from 101 to 001.

[0064] For example, the third Hall switch element 2023 is interfered by a strong magnetic field, causing the electrical signal originally sent to the main control unit 100 to change from a high-level signal to a low-level signal, that is, the electrical signals output by the first Hall switch element 2021, the second Hall switch element 2022 and the third Hall switch element 2023 change from 101 to 100.

[0065] For example, the first Hall switch element 2021 and the third Hall switch element 2023 are interfered by a strong magnetic field, causing the electrical signal originally sent to the main control unit 100 to change from a high-level signal to a low-level signal, that is, the electrical signal output by the first Hall switch element 2021, the second Hall switch element 2022 and the third Hall switch element 2023 changes from 101 to 000.

[0066] In an application scenario, according to the above-mentioned electrical signal, a control signal corresponding to it and a corresponding function are set in the electronic device. When the electrical signal is 010, the main control unit 100 controls the electronic device to shut down. When the electrical signal changes from 010 to 000, the main control unit 100 controls the electronic device to remain in the shutdown state. When the electrical signal changes from 010 to 101, the main control unit 100 controls the electronic device to turn on. When the electrical signal changes from 101 to 001, 100 or 000, the main control unit 100 controls the electronic device to remain powered on.

[0067] Specifically, Figure 3As shown, the main control unit 100 generates a corresponding control signal to control the electronic device to be in a shutdown and non-recording state in response to the electrical signal being 010. When there is magnetic field interference, the electrical signal output by the second Hall switch element 2022 changes, so that the electrical signals output by the M Hall switch elements change from 010 to 000. The main control unit 100 adjusts the control signal in response to the electrical signal being 000, and thus determines that the second Hall switch element 2022 is interfered by the external magnetic field. Therefore, the main control unit 100 controls the electronic device to remain in the shutdown state according to the adjusted control signal.

[0068] When the push button bracket is pushed, the two magnetic elements 201 move accordingly, so that the first magnetic element 2011 moves from the corresponding first Hall switch element 2021 to the second Hall switch element 2022, and the second magnetic element 2012 moves from the corresponding third Hall switch element 2023 to above the third Hall switch element 2023. At this time, the electrical signals output by the first Hall switch element 2021, the second Hall switch element 2022 and the third Hall switch element 2023 change from 010 to 101, and the main control unit 100 controls the electronic device to turn on according to 101.

[0069] When disturbed by an external magnetic field, since the first Hall switch element 2021 and the third Hall switch element 2023 are not provided with a magnetic element 201 at this time, the first Hall switch element 2021 or the third Hall switch element 2023 is disturbed by a strong magnetic field, resulting in a change in the output electrical signal. For example, when only the first Hall switch element 2021 is disturbed by a strong magnetic field, the electrical signals output by the three Hall switch elements change from 101 to 001; when only the third Hall switch element 2023 is disturbed by a strong magnetic field, the electrical signals output by the three Hall switch elements change from 101 to 100. At this time, the main control unit 100 recognizes that the electrical signal of the second Hall switch element 2022 is 0, and determines that the push button is pushed up to record the video. Therefore, even if the electrical signal of the first Hall switch element 2021 is changed due to the interference of a strong magnetic field, the electrical signal of the first Hall switch element 2021 is changed. The signal changes to 0 (that is, the electrical signal output by the first Hall switch element 2021, the second Hall switch element 2022 and the third Hall switch element 2023 changes from 101 to 001) or the electrical signal of the third Hall switch element 2023 changes to 0 (the electrical signal output by the first Hall switch element 2021, the second Hall switch element 2022 and the third Hall switch element 2023 changes from 101 to 100), but since the electrical signal of the second Hall switch element 2022 does not change state, the main control unit 100 can determine that the signal change of the first Hall switch element 2021 or the third Hall switch element 2023 is caused by magnetic field interference, so the main control unit 100 generates a corresponding control signal according to the changed electrical signal 001 or 100 to control the electronic device to keep it turned on and recording.

[0070] Generally speaking, since the Hall switch elements 202 of the present application are arranged at intervals, when the first Hall switch element 2021 and the third Hall switch element 2023 are not provided with a magnetic element 201 at the same time, when they are disturbed by a magnetic back clip or a magnet or even an external magnetic field, it can also avoid that the first Hall switch element 2021 and the third Hall switch element 2023 are disturbed at the same time and affect the working state of the electronic device.

[0071] In one application scenario, the electronic device is an image acquisition device, and the user needs to use the image acquisition device to acquire images. Therefore, the image acquisition device can be fixed by a magnetic back clip, and the image acquisition unit of the image acquisition device is arranged on the side of the image acquisition device that is not in contact with the magnetic back clip, so as to facilitate image acquisition. Based on this, if the electronic device uses a single Hall switch element for function control, there is a problem of being interfered by the magnetic field of the magnetic back clip. Therefore, any of the above-mentioned signal control circuits 10 can be arranged in the electronic device to avoid being affected by magnetic field interference and affecting the working state of the electronic device.

[0072] This embodiment is different from the current technology in that the electrical signal of a single Hall switch element can only cause the main control unit to generate two control signals, corresponding to two opposite functions. When a single Hall switch element is disturbed by a magnetic field, the output electrical signal changes from a high level to a low level, or from a low level to a high level, affecting the normal use of the electronic device. The signal control circuit and electronic device of the present application, through the difference in the number of Hall switch elements and magnetic elements, make it possible for some Hall switch elements to be not controlled by the magnetic signal of the magnetic element when the electronic device is working, while the corresponding electrical signal of some Hall switch elements that are not controlled by the magnetic signal of the magnetic element changes when the magnetic signal of the external magnetic field is detected, thereby causing the control signal of the main control unit to change. In this way, the main control unit can control the electronic device to maintain the current working state when the control signal changes and the change is caused by external magnetic field interference, that is, the present application uses multiple Hall switch elements to enable the main control unit to form at least three control signals, even if the function corresponding to the control signal generated under external magnetic field interference can avoid being opposite to the previous function, so that the electronic device can maintain the current working state and avoid affecting the normal use of the electronic device, that is, reducing the interference of the external magnetic field on the electronic device. Furthermore, since the Hall switch elements of this embodiment are arranged at intervals, interference between adjacent Hall switch elements caused by the same magnetic element can be avoided.

[0073] See also Figure 4 , Figure 4It is a schematic diagram of the positions of another embodiment of the magnetic element and the Hall switch element in the present application. The M Hall switch elements 202 include: a first Hall switch element 2021, a second Hall switch element 2022 and a third Hall switch element 2023; the N magnetic elements 201 include a first magnetic element 2011 and a second magnetic element 2012; in the initial position, the first magnetic element 2011 is used to control the first Hall switch element 2021 to send a first electrical signal to the main control unit 100; the second magnetic element 2012 is used to control the second Hall switch element 2022 to send a second electrical signal to the main control unit 100.

[0074] Specifically, when in the initial position, the first magnetic element 2011 is set corresponding to the first Hall switch element 2021; the second magnetic element 2012 is set corresponding to the second Hall switch element 2022. The first magnetic element 2011 controls the first Hall switch element 2021 to send a first electrical signal (such as a low-level signal, which can be represented by 0) to the main control unit 100, and the second magnetic element 2012 controls the second Hall switch element 2022 to send a second electrical signal (such as a low-level signal, which can be represented by 0) to the main control unit 100, and the third Hall switch element 2023 not controlled by the magnetic element 201 sends a third electrical signal (such as a high-level signal, which can be represented by 1) to the main control unit 100. In the initial position, the electrical signals output by the first Hall switch element 2021, the second Hall switch element 2022 and the third Hall switch element 2023 can be 001. When the push-twist is pushed up, the electrical signals output by the first Hall switch element 2021, the second Hall switch element 2022 and the third Hall switch element 2023 can be 100.

[0075] In some embodiments, when the strong magnetic field is disturbed at the initial position, only the third Hall switch element 2023 is disturbed by the strong magnetic field, causing its electrical signal to change, causing the electrical signal originally sent to the main control unit 100 to change from a high-level signal to a low-level signal, that is, the electrical signals output by the first Hall switch element 2021, the second Hall switch element 2022, and the third Hall switch element 2023 change from 001 to 000.

[0076] In some embodiments, when the first Hall switch element 2021 is disturbed by a strong magnetic field in the push-twist state, the electrical signal of the first Hall switch element 2021 changes, causing the electrical signal originally sent to the main control unit 100 to change from a high-level signal to a low-level signal, that is, the electrical signals output by the first Hall switch element 2021, the second Hall switch element 2022, and the third Hall switch element 2023 change from 100 to 000.

[0077] Similarly, in an application scenario, a corresponding function is set for the electronic device according to the above control signal, see Figure 5.

[0078] like Figure 5 As shown, when in the initial position, the first magnetic element 2011 is set corresponding to the first Hall switch element 2021, and the second magnetic element 2012 is set corresponding to the second Hall switch element 2022. The first magnetic element 2011 is used to control the first Hall switch element 2021 to send an electrical signal to the main control unit 100 (i.e., a low-level signal, which can be represented by 0), and the second magnetic element 2012 is used to control the second Hall switch element 2022 to send an electrical signal to the main control unit 100 (i.e., a low-level signal, which can be represented by 0), and the third Hall switch element 2023 that is not controlled by the magnetic element 201 sends an electrical signal to the main control unit 100 (i.e., a high-level signal, which can be represented by 1). Then, the electrical signals output by the three Hall switch elements can be 001, and the main control unit 100 generates a corresponding control signal according to the electrical signal 001 to control the electronic device to shut down and be in a non-recording state.

[0079] When disturbed by the magnetic field, since the third Hall switch element 2023 is not provided with the magnetic element 201 at this time, it is not controlled by the magnetic element 201. Therefore, when there is strong magnetic field interference, only the third Hall switch element 2023 causes the change of the electrical signal due to the strong magnetic field interference, that is, the third Hall switch element 2023 that is not controlled by the magnetic element 201 is disturbed by the external magnetic field, causing the electrical signal originally sent to the main control unit 100 (that is, a high-level signal, which can be represented by 1) to become a low-level signal, that is, the electrical signal output by the three Hall switch elements changes from 001 to 000. At this time, the main control unit 100 can judge that the change of the electrical signal is caused by the external magnetic field interference based on the electrical signal 000, so the main control unit 100 controls the electronic device to keep it turned off and not recording.

[0080] When the push button bracket is pushed, the two magnetic elements 201 move accordingly, so that the first magnetic element 2011 moves from the corresponding first Hall switch element 2021 to the second Hall switch element 2022, and the second magnetic element 2012 moves from the corresponding second Hall switch element 2022 to the third Hall switch element 2023. At this time, the electrical signals output by the three Hall switch elements change from 001 to 100, and the main control unit 100 controls the electronic device to start up and record according to the changed 100.

[0081] When disturbed by the magnetic field, since the first Hall switch element 2021 is not equipped with the magnetic element 201 at this time, it is not controlled by the magnetic element 201. Therefore, when there is strong magnetic field interference, only the first Hall switch element 2021 causes the change of the electrical signal due to the strong magnetic field interference, that is, the first Hall switch element 2021 that is not controlled by the magnetic element 201 is disturbed by the external magnetic field, causing the electrical signal originally sent to the main control unit 100 (that is, a high-level signal, represented by 1) to become a low-level signal, that is, the electrical signal output by the three Hall switch elements changes from 100 to 000. At this time, the main control unit 100 can judge that the change of the electrical signal is caused by the external magnetic field interference based on the changed electrical signal 000, so the main control unit 100 controls the electronic device to keep it turned on and recording.

[0082] This embodiment is different from the current technology in that the electrical signal of a single Hall switch element can only cause the main control unit to generate two control signals, corresponding to two opposite functions. When a single Hall switch element is disturbed by a magnetic field, the output electrical signal changes from a high level to a low level, or from a low level to a high level, affecting the normal use of the electronic device. The signal control circuit and electronic device of the present application, through the difference in the number of Hall switch elements and magnetic elements, make it possible for some Hall switch elements to be not controlled by the magnetic signal of the magnetic element when the electronic device is working, while the corresponding electrical signal of some Hall switch elements that are not controlled by the magnetic signal of the magnetic element changes when the magnetic signal of the external magnetic field is detected, thereby causing the control signal of the main control unit to change. In this way, the main control unit can control the electronic device to maintain the current working state when the control signal changes and the change is caused by external magnetic field interference, that is, the present application uses multiple Hall switch elements to enable the main control unit to form at least three control signals, even if the function corresponding to the control signal generated under external magnetic field interference can avoid being opposite to the previous function, so that the electronic device can maintain the current working state and avoid affecting the normal use of the electronic device, that is, reducing the interference of the external magnetic field on the electronic device. Furthermore, since the Hall switch elements of this embodiment are arranged at intervals, interference between adjacent Hall switch elements caused by the same magnetic element can be avoided.

[0083] In one embodiment, the signal control circuit 10 further includes a second switch unit (not shown), wherein the second switch unit is used to control the electronic device to turn on; the main control unit responds to the electronic device being in the turned-on state and the electrical signal output by the M Hall switch elements is 010, and controls the electronic device to remain in the turned-on state; the main control unit responds to the electrical signal changing from 010 to 000, and generates a corresponding control signal to control the electronic device to remain in the turned-on state.

[0084] The second switch unit may be a power button.

[0085] Specifically, Figure 6As shown, when the first magnetic element 2011 is set corresponding to the first Hall switch element 2021, and the second magnetic element 2012 is set corresponding to the third Hall switch element 2023, the electrical signals output by the three Hall switch elements are 010. At this time, the state of the electronic device corresponding to the Hall switch element controlled by the first switch unit 200 is off. The main control unit 100 turns on the electronic device by controlling the second switch unit 300 (such as a power button). Since the state of the electronic device corresponding to the Hall switch element is off, the electronic device does not have a recording function, that is, it is in a powered-on, non-recording working state; when there is magnetic field interference, the second Hall switch element 2022, which is not controlled by the magnetic element 201 at this time, changes in the electrical signal due to the external magnetic field interference, so that the electrical signals output by the three Hall switch elements change from 010 to 000. The main control unit 100 can determine that the change in the electrical signal of the second Hall switch element 2022 is caused by the external magnetic field interference based on the changed electrical signal 000. Therefore, the main control unit 100 controls the electronic device to remain powered on and non-recording working state based on the changed electrical signal 000.

[0086] This embodiment is different from the current technology in that the electrical signal of a single Hall switch element can only cause the main control unit to generate two control signals, corresponding to two opposite functions. When a single Hall switch element is disturbed by a magnetic field, the output electrical signal changes from a high level to a low level, or from a low level to a high level, affecting the normal use of the electronic device. The signal control circuit and electronic device of the present application, through the difference in the number of Hall switch elements and magnetic elements, make it possible for some Hall switch elements to be not controlled by the magnetic signal of the magnetic element when the electronic device is working, while the corresponding electrical signal of some Hall switch elements that are not controlled by the magnetic signal of the magnetic element changes when the magnetic signal of the external magnetic field is detected, thereby causing the control signal of the main control unit to change. In this way, the main control unit can control the electronic device to maintain the current working state when the control signal changes and the change is caused by external magnetic field interference, that is, the present application uses multiple Hall switch elements to enable the main control unit to form at least three control signals, even if the function corresponding to the control signal generated under external magnetic field interference can avoid being opposite to the previous function, so that the electronic device can maintain the current working state and avoid affecting the normal use of the electronic device, that is, reducing the interference of the external magnetic field on the electronic device. Furthermore, since the Hall switch elements of this embodiment are arranged at intervals, interference between adjacent Hall switch elements caused by the same magnetic element can be avoided.

[0087] Furthermore, in this embodiment, the second switch unit 300 is provided so that when the first switch unit 200 is turned off, the electronic device is turned on directly through the second switch unit 300 .

[0088] In some embodiments, the second switch unit is used to control the working state of the electronic device to the second state; when the working state of the electronic device is the first state, the main control unit controls the second switch unit to make the working state of the electronic device the second state.

[0089] In some embodiments, the first switch unit 200 further includes an enable signal generating circuit, the control end of the enable signal generating circuit is coupled to some of the M Hall switch elements, and the enable signal generating circuit generates a first enable signal or a second enable signal according to the magnetic signal detected by some of the Hall switch elements; the first enable signal is used to control the working state of the electronic device to be the first state, and the second enable signal is used to control the working state of the electronic device to be the second state. Figure 7 . It should be noted that when the positions of the M Hall switch elements 202 corresponding to the N magnetic elements 201 are different (for example, the N magnetic elements 201 are set corresponding to the adjacent N Hall switch elements 202, or the N magnetic elements 201 are set corresponding to the N Hall switch elements 202, wherein there are non-adjacent phenomena among the N Hall switch elements 202), the enable signal generating circuit 203 in the first switch unit 200 needs to be adaptively adjusted according to the specific positional relationship between the magnetic elements 201 and the Hall switch elements 202, which is not limited in this application. The embodiments and drawings listed below in this application are only used to illustrate the corresponding enable signal generating circuit 203 when the magnetic elements 201 are set corresponding to non-adjacent Hall switch elements 202.

[0090] like Figure 7 As shown, the first switch unit 200 also includes an enable signal generating circuit 203, wherein the control end of the enable signal generating circuit 203 is coupled to the first Hall switch element 2021 and the third Hall switch element 2023, and the enable signal generating circuit 203 generates a first enable signal or a second enable signal according to the magnetic signal detected by the first Hall switch element 2021 and / or the third Hall switch element 2023; the first enable signal is used to control the working state of the electronic device to be a first state, and the second enable signal is used to control the working state of the electronic device to be a second state.

[0091] In some embodiments, the logic levels of the first enable signal and the second enable signal are opposite.

[0092] In some embodiments, when the first Hall switch element 2021 and the third Hall switch element 2023 detect a magnetic signal, the enable signal generating circuit 203 generates a first enable signal according to the magnetic signal to control the working state of the electronic device to a first state, such as shutdown.

[0093] When the first Hall switch element 2021 does not detect a magnetic signal, the enable signal generating circuit 203 generates a second enable signal according to the high-level electrical signal output by the first Hall switch element 2021, and controls the working state of the electronic device to the second state, such as turning on the power; when the third Hall switch element 2023 does not detect a magnetic signal, the enable signal generating circuit 203 generates a second enable signal according to the high-level electrical signal output by the third Hall switch element 2023, and controls the electronic device to turn on; when the first Hall switch element 2021 and the third Hall switch element 2023 do not detect a magnetic signal at the same time, the enable signal generating circuit 203 generates a second enable signal according to the high-level magnetic signal, and controls the electronic device to turn on.

[0094] This embodiment provides an enable signal generating circuit 203, so that the enable signal generating circuit 203 can generate a corresponding enable signal to control the working state of the electronic device according to different electrical signals output by the first Hall switch element 2021 and / or the third Hall switch element 2023. In addition, by providing the enable signal generating circuit 203, when the main control unit 100 cannot detect the electrical signal output by the Hall switch element in the shutdown state, the main control unit 100 can be powered on by a pure hardware method after the Hall switch element outputs the electrical signal.

[0095] In some embodiments, M Hall switch elements include: a first Hall switch element, a second Hall switch element and a third Hall switch element; N magnetic elements include a first magnetic element and a second magnetic element; when the working state of the electronic device is a first state, the first magnetic element and the second magnetic element are respectively set to correspond to any two of the first Hall switch element, the second Hall switch element and the third Hall switch element, wherein the control end of the enable signal generating circuit is coupled to the Hall switch elements set corresponding to the first magnetic element and the second magnetic element.

[0096] Among them, when the working state of the electronic device is the first state, the first magnetic element is set corresponding to the first Hall switch element; the second magnetic element is set corresponding to the third Hall switch element; when the working state of the electronic device is the second state, the first magnetic element is set corresponding to the second Hall switch element.

[0097] In one embodiment, the enable signal generating circuit 203 further includes a switch tube and a first resistor. Figure 7 As shown, the control end of the switch tube is coupled to the first Hall switch element 2021 and the third Hall switch element 2023, and the first channel end of the switch tube is grounded; the first end of the first resistor is coupled to the working voltage end, and the second end of the first resistor is coupled to the second channel end of the switch tube, wherein the coupling point between the first resistor and the switch tube serves as the enable signal output end.

[0098] In response to the first Hall switch element 2021 and the third Hall switch element 2023 both detecting the magnetic signal, the switch tube is turned on, and the first enable signal is output from the enable signal output terminal, and the working state of the electronic device is the first state.

[0099] In response to at least one of the first Hall switch element 2021 and the third Hall switch element 2023 not detecting a magnetic signal, the switch tube is turned off, and a second enable signal is output from the enable signal output terminal, and the working state of the electronic device is the second state.

[0100] In one application scenario, the first state is off and the second state is on; when the working state of the electronic device is off, if the second Hall switch element detects a magnetic signal, the control signal changes, the main control unit confirms that the change is caused by external magnetic field interference and controls the electronic device to remain off; when the working state of the electronic device is on, if the first Hall switch element or the third Hall switch element detects a magnetic signal, the control signal changes, the main control unit confirms that the change is caused by external magnetic field interference and controls the electronic device to remain on.

[0101] Among them, the switch tube can be a metal-oxide semiconductor field effect transistor (Metal Oxide Semiconductor Field Effect Transistor, MOSFET), that is, a MOS tube, for example, it can be an NMOS tube or a PMOS tube. This application takes the switch tube as a PMOS tube as an example for explanation.

[0102] Specifically, Figures 7 to 9 As shown, the second channel end of the switch tube (such as the first pin of the PMOS tube Q1) is connected to the second end of the first resistor R1, and the second pin of the PMOS tube Q1 is connected to the first Hall switch element 2021 and the third Hall switch element 2023 as the control end of the switch tube.

[0103] Among them, HALL_EN is an enable signal. When the electrical signals output by the first Hall switch element 2021 and the third Hall switch element 2023 are at a low level, the gate (second pin) of the PMOS tube Q1 is 0V. At this time, the voltage of the second pin of the PMOS tube Q1 differs from the 3V voltage of the first pin of the PMOS tube Q1 by 3V, which is greater than 1.6V. Therefore, the PMOS tube Q1 is turned on, and the first enable signal is output from the PMOS tube Q1 through the enable signal output terminal, that is, the HALL_EN output is 0, so the electronic device is not turned on.

[0104] When the electrical signals output by the first Hall switch element 2021 and the third Hall switch element 2023 are at a high level, the gate (second pin) of the PMOS tube Q1 also outputs a 3V voltage according to the 3V voltage output by the first Hall switch element 2021 or the third Hall switch element 2023. At this time, the difference between the voltage of the second pin of the PMOS tube Q1 and the voltage of the first pin of the PMOS tube Q1 is 0V, which is less than the voltage of 1.6V. Therefore, the PMOS tube Q1 is cut off, and the working voltage terminal HALL_3V voltage coupled to the first end of the first resistor R1 outputs the first enable signal through the enable signal output terminal, that is, HALL_EN outputs a high level. The high-level HALL_EN can output a trigger pulse to enable the low-voltage difference regulator U4 through the capacitor, and then the 3V voltage output by the low-voltage difference regulator is used to power on the electronic device.

[0105] When the electrical signal output by the first Hall switch element 2021 is at a low level and the electrical signal output by the third Hall switch element 2023 is at a high level, the gate (second pin) of the PMOS tube Q1 also outputs a 3V voltage according to the 3V voltage output by the third Hall switch element 2023. At this time, the difference between the voltage of the second pin of the PMOS tube Q1 and the voltage of the first pin of the PMOS tube Q1 is 0V, which is less than the voltage of 1.6V. Therefore, the PMOS tube Q1 is cut off, and the working voltage terminal HALL_3V voltage coupled to the first end of the first resistor R1 outputs the first enable signal through the enable signal output terminal, that is, HALL_EN outputs a high level. The high-level HALL_EN can output a trigger pulse to enable the low-voltage difference regulator U4 through the capacitor, and then the 3V voltage output by the low-voltage difference regulator U4 is used to power on the electronic device.

[0106] In addition, when the push button is used to turn on the power, the high level of HALL_EN can only output a trigger pulse to enable the low-voltage dropout regulator U4 through the capacitor C5, and then the low-voltage dropout regulator U4 outputs a 3V voltage to turn on the power. When the capacitor C5 is fully charged, the trigger pulse will disappear. If a voltage that will be output constantly after turning on the power is not used to enable the low-voltage dropout regulator U4, the 3V voltage output of the low-voltage dropout regulator U4 will be turned off as the trigger pulse disappears, resulting in the inability to maintain the power-on state; therefore, it is necessary to generate The 1.8V voltage locks the output of the low-voltage dropout regulator U4, so that the electronic device can remain powered on and record video, that is, the switch of the low-voltage dropout regulator U4 to output a 3V voltage is controlled by 1.8V_BT, wherein the generated voltage range depends on the specification parameters of the low-voltage dropout regulator U4 device, which is generally 1.6V voltage -VINV (input voltage). The reason why this embodiment chooses 1.8V is because the system MCU of this example has its own 1.8V low-voltage dropout regulator (which can be used after powering on).

[0107] When the electrical signal output by the first Hall switch element 2021 is at a high level and the electrical signal output by the third Hall switch element 2023 is at a low level, the gate (second pin) of the PMOS tube Q1 also outputs a 3V voltage according to the 3V voltage output by the first Hall switch element 2021. At this time, the difference between the voltage of the second pin of the PMOS tube Q1 and the voltage of the first pin of the PMOS tube Q1 is 0V, which is less than the voltage of 1.6V. Therefore, the PMOS tube Q1 is cut off, and the working voltage terminal HALL_3V voltage coupled to the first end of the first resistor R1 outputs the first enable signal through the enable signal output terminal, that is, HALL_EN outputs a high level. The high-level HALL_EN can enable the low-voltage difference regulator through the capacitor output trigger pulse, and then the 3V voltage output by the low-voltage difference regulator is used to power on the electronic device.

[0108] This embodiment sets a switch tube in the enable signal generating circuit 203 so that the switch tube can realize the function of being turned on or off according to different electrical signals output by the first Hall switch element 2021 and / or the third Hall switch element 2023. The enable signal generating circuit 203 can generate a corresponding enable signal to control the working state of the electronic device due to the different output voltages caused by the switch tube being turned on or off.

[0109] See also Figure 7 In some embodiments, the enable signal generating circuit 203 also includes a first diode, a second diode and a second resistor, wherein the anode of the first diode is coupled to the first Hall switch element 2021, and the cathode of the first diode is coupled to the control end of the switch tube; the anode of the second diode is coupled to the third Hall switch element 2023, and the cathode of the second diode is coupled to the control end of the switch tube; the first end of the second resistor is coupled to the control end of the switch tube, and the second end of the second resistor is grounded.

[0110] Combination Figures 7 to 12 The first diode is D1, the second diode is D2, the second resistor is R2, the cathodes of the first diode D1 and the second diode D2 are connected to the first end of the second resistor R2, the anodes of the first diode D1 and the second diode D2 are respectively connected to the output ends of the first Hall switch element 2021 and the third Hall switch element 2023, and the second end of the second resistor R2 is grounded.

[0111] Among them, when the electrical signals output by the first Hall switch element 2021 and the third Hall switch element 2023 are at a low level, after passing through the first diode and the second diode, the gate (second pin) of the PMOS tube Q1 is still 0V. At this time, the voltage of the second pin of the PMOS tube Q1 differs from the 3V voltage of the first pin of the PMOS tube Q1 by 3V, which is greater than 1.6V. Therefore, the PMOS tube Q1 is turned on, and the first enable signal is output from the PMOS tube Q1 through the enable signal output terminal, that is, the HALL_EN output is 0, so the electronic device is not turned on.

[0112] When the electrical signals output by the first Hall switch element 2021 and the third Hall switch element 2023 are at a high level, after the voltage is stepped down by the first diode and the second diode, the gate (second pin) of the PMOS tube Q1 is about 2.8V, and the difference between the voltage of the second pin of the PMOS tube Q1 and the voltage of the first pin of the PMOS tube Q1 is 0.2V, which is less than 1.6V (it should be noted that the 1.6V voltage here can be adaptively adjusted according to actual conditions). Therefore, the PMOS tube Q1 is cut off, and the working voltage terminal HALL_3V voltage coupled to the first end of the first resistor R1 outputs the first enable signal through the enable signal output terminal, that is, the HALL_EN output is a high level. The high-level HALL_EN can output a trigger pulse to enable the low-voltage difference regulator U4 through the capacitor, and then the 3V voltage output by the low-voltage difference regulator U4 is used to turn on the electronic device.

[0113] Among them, the solution when only one of the output electrical signal of the first Hall switch element 2021 and the third Hall switch element 2023 is at a high level can refer to the description of the above embodiment, which will not be repeated here.

[0114] In some implementations, such as Fig.12 As shown, the signal control circuit of the present application also includes a power supply circuit, wherein VIN is a normal battery power supply, and VUSB is a charger or computer USB. By setting VUSB, after plugging in a charger or computer USB, the power of the charger or computer USB can be directly used without consuming the power of the battery.

[0115] The present application also provides an electronic device, which includes a signal control circuit as described above, wherein the electronic device can be an image acquisition device, such as a law enforcement recorder, etc. Since the law enforcement recorder needs to use Hall switch elements to perform functions such as power on and off or recording, and also needs to use a magnetic back clip, if a related single Hall switch solution is used, the working state of the law enforcement recorder may be falsely triggered when the magnetic back clip is disassembled and assembled. Therefore, while controlling costs and ensuring that the product structure remains almost unchanged, by setting a signal control circuit as described above in the electronic device, the defect that the Hall switch product is susceptible to interference from strong magnetic fields can be effectively improved, and the startup speed of the product using ordinary physical buttons can be improved. While improving the reliability of the product in the magnetic field environment, a magnetic back clip can be used to improve the user experience of the law enforcement recorder.

[0116] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0117] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0118] The above are only implementation methods of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A signal control circuit, characterized in that: Applied to electronic equipment, the signal control circuit includes a main control unit and a first switch unit coupled to the main control unit; Wherein, the first switch unit comprises: N magnetic components; M Hall switch elements are arranged at intervals, each of the Hall switch elements is coupled to the main control unit, the M Hall switch elements are used to detect magnetic signals of the magnetic element and the external magnetic field, and the main control unit is used to generate a control signal according to the magnetic signal and control the working state of the electronic device through the control signal, wherein M is greater than N; The main control unit is used to control the electronic device to maintain a current working state when the control signal changes and the change is caused by external magnetic field interference.

2. The signal control circuit according to claim 1, characterized in that: The first switch unit also includes: an enable signal generating circuit, the control end of the enable signal generating circuit is coupled to some of the M Hall switch elements, and the enable signal generating circuit generates a first enable signal or a second enable signal according to the magnetic signals detected by the some of the Hall switch elements; the first enable signal is used to control the working state of the electronic device to be a first state, and the second enable signal is used to control the working state of the electronic device to be a second state.

3. The signal control circuit according to claim 2, characterized in that: The M Hall switch elements include: a first Hall switch element, a second Hall switch element and a third Hall switch element; the N magnetic elements include a first magnetic element and a second magnetic element; When the working state of the electronic device is the first state, the first magnetic element and the second magnetic element are respectively set corresponding to any two of the first Hall switch element, the second Hall switch element, and the third Hall switch element, wherein the control end of the enable signal generating circuit is coupled to the Hall switch elements corresponding to the first magnetic element and the second magnetic element.

4. The signal control circuit according to claim 3, characterized in that: When the working state of the electronic device is a first state, the first magnetic element is set corresponding to the first Hall switch element; the second magnetic element is set corresponding to the third Hall switch element; when the working state of the electronic device is a second state, the first magnetic element is set corresponding to the second Hall switch element.

5. The signal control circuit according to claim 4, characterized in that: The enable signal generating circuit comprises: A switch tube, wherein a control end of the switch tube is coupled to the first Hall switch element and the third Hall switch element, and a first passage end of the switch tube is grounded; a first resistor, wherein a first end of the first resistor is coupled to the working voltage end, and a second end of the first resistor is coupled to the second path end of the switch tube, wherein a coupling point between the first resistor and the switch tube serves as an enable signal output end; In response to the first Hall switch element and the third Hall switch element both detecting a magnetic signal, the switch tube is turned on, the enable signal output terminal outputs the first enable signal, and the working state of the electronic device is the first state; In response to at least one of the first Hall switch element and the third Hall switch element not detecting a magnetic signal, the switch tube is turned off, the enable signal output end outputs the second enable signal, and the working state of the electronic device is the second state.

6. The signal control circuit according to claim 5, characterized in that: The enable signal generating circuit further includes: a first diode, wherein an anode of the first diode is coupled to the first Hall switch element, and a cathode of the first diode is coupled to a control end of the switch tube; a second diode, wherein an anode of the second diode is coupled to the third Hall switch element, and a cathode of the second diode is coupled to the control end of the switch tube; A second resistor, wherein a first end of the second resistor is coupled to the control end of the switch tube, and a second end of the second resistor is grounded.

7. The signal control circuit according to claim 5, characterized in that: The first state is shutdown, and the second state is startup; When the working state of the electronic device is turned off, if the second Hall switch element detects a magnetic signal, the control signal changes, and the main control unit confirms that the change is caused by external magnetic field interference and controls the electronic device to remain turned off; when the working state of the electronic device is turned on, if the first Hall switch element or the third Hall switch element detects a magnetic signal, the control signal changes, and the main control unit confirms that the change is caused by external magnetic field interference and controls the electronic device to remain turned on.

8. The signal control circuit according to claim 2, characterized in that: The signal control circuit further includes: a second switch unit, the second switch unit being used to control the working state of the electronic device to be a second state; When the working state of the electronic device is the first state, the main control unit changes the working state of the electronic device to the second state by controlling the second switch unit.

9. An electronic device, characterized in that: The electronic device comprises the signal control circuit as described in any one of claims 1-8.

10. The electronic device according to claim 9, characterized in that: The electronic device is an image acquisition device.