Anti-theft system, control method, device, anti-theft device and storage medium
The combination of the main control chip, switch control circuit, relay, op amp module and early warning module solves the problems of complex and high cost of inverter anti-theft design. It realizes the anti-theft function without additional devices and complex structures, and self-checks the grounding status, thereby improving the anti-theft reliability of the inverter.
Patent Information
- Application Number
- CN202310703630.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-13
- Publication Date
- 2025-10-14
- Estimated Expiration
- 2043-06-13
AI Technical Summary
The existing inverter anti-theft design has the problems of complex mechanical protection and difficult installation, and increases the cost of sensors.
It adopts a combination of main control chip, switch control circuit, relay, operational amplifier module and early warning module. The opening and early warning of the anti-theft system are controlled by the open and closed state of the relay and the grounding stability of the operational amplifier module, realizing the anti-theft function without additional devices and complex mechanical structures.
The anti-theft function of the inverter is realized without adding additional devices and complex mechanical structures. At the same time, the grounding status of the target device is self-checked, which improves the reliability and simplicity of the anti-theft system.
Smart Images

Figure CN116682220B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The embodiment of the present application relates to the technical field of anti-theft systems, in particular to an anti-theft system, a control method, equipment, an anti-theft device and a storage medium. BACKGROUND
[0002] Under the double carbon strategy, the installed capacity of new energy power generation such as wind power and photovoltaic is growing rapidly. As the "heart" of photovoltaic power generation, the development of inverters is particularly noteworthy. With the gradual clarity of the new power system architecture and the development of distributed clean energy, the household photovoltaic storage inverter market will gradually expand.
[0003] The application scenario of the photovoltaic storage inverter on the household side is different from the sparsely populated areas such as offshore and mountain photovoltaic. It is generally arranged on the outer wall side of the family house or the first floor outer wall of the villa. Since the inverter is relatively expensive, its anti-theft protection is particularly important.
[0004] At present, the anti-theft of the inverter is limited to adding simple mechanical protection such as locks on the structure, or designing mechanical structures to make the inverter not easy to take down, which has the disadvantages of complex design and difficult installation. Or add a pressure sensor under the inverter, which not only increases the cost of the sensor but also requires an additional auxiliary installation table.
[0005] APPLICATION CONTENT
[0006] In view of this, in order to solve the technical problems of the above-mentioned anti-theft design of the inverter, the embodiment of the present application provides an anti-theft system, a control method, equipment, an anti-theft device and a storage medium.
[0007] In a first aspect, the embodiment of the present application provides an anti-theft system, comprising:
[0008] a main control chip, a switch control circuit, a relay, an operational amplifier module and a warning module;
[0009] The first output end of the main control chip is connected to the input end of the switch control circuit, and the second output end is connected to the input end of the operational amplifier module;
[0010] The output end of the switch control circuit is connected to the first control end of the relay;
[0011] The second control end of the relay is connected to the first ground end, the signal input end of the relay is connected to the output end of the operational amplifier module, and the signal output end of the relay is connected to the input end of the warning module.
[0012] In one possible implementation, when the relay is in an off state, so that the anti-theft system is in an off mode, the main control chip is used to output a low-level control signal to the switch control circuit, and the switch control circuit is used to output a low-level control signal to the relay. After receiving the low-level control signal, the relay is in an off state, so that the early warning module is in a non-responsive state.
[0013] When the relay is in a closed state so that the anti-theft system is in a normal working mode, the main control chip is used to output a first high-level control signal to the switch control circuit, the switch control circuit is used to output the first high-level control signal to the relay, and the relay is in a closed state after receiving the first high-level control signal. The main control chip is used to output a second high-level control signal to the operational amplifier module, the operational amplifier module is used to output a second low-level control signal to the relay, and the relay is used to output the second low-level control signal to the early warning module so that the early warning module does not respond;
[0014] When the relay is in a closed state and the ground terminal is not connected inside the operational amplifier module, so that the anti-theft system is in an abnormal working mode, the main control chip is used to output a third high-level control signal to the switch control circuit, and the switch control circuit is used to output the third high-level control signal to the relay. The relay is in a closed state after receiving the third high-level control signal, and the main control chip is used to output a fourth high-level control signal to the operational amplifier module. Since the internal ground terminal of the operational amplifier module is in a virtual disconnection state, it is used to output the fourth high-level control signal to the relay. The relay is used to output the fourth high-level control signal to the early warning module, so that the early warning module triggers an early warning.
[0015] In a possible implementation, the operational amplifier module includes: an operational amplifier and a first resistor;
[0016] The operational amplifier has a positive input terminal connected to the second output terminal of the main control chip, a negative input terminal connected to the first node, and an output terminal connected to the first node;
[0017] One end of the first resistor is connected to the first node and the signal input end of the relay, and the other end is connected to the second ground end through a metal screw.
[0018] In one possible implementation, the early warning module includes: a transistor and an alarm;
[0019] The first electrode of the transistor is connected to the signal output terminal of the relay, the second electrode is connected to the power supply terminal, and the third electrode is connected to one end of the alarm;
[0020] The other end of the alarm is connected to a third ground terminal.
[0021] In a second aspect, the embodiments of the present application provide a control method of a burglar alarm system, comprising:
[0022] controlling the alarm system to wake up when the main control chip controls the switch control circuit to output a high level control signal;
[0023] controlling the alarm system to wake up when the main control chip controls the switch control circuit to output a high level control signal;
[0024] determining a warning type of the warning signal;
[0025] controlling the alarm module according to the warning type.
[0026] In one possible implementation, the controlling the alarm system to wake up when the main control chip controls the switch control circuit to output a high level control signal comprises:
[0027] controlling the relay to be in a closed state according to the high level control signal;
[0028] controlling the alarm system to wake up according to the closed state.
[0029] In one possible implementation, the determining the warning type of the warning signal comprises:
[0030] determining that the warning signal is a low level control signal when a first resistance in the op-amp module is normally grounded at one end;
[0031] determining that the warning type is a non-trigger type according to the low level control signal;
[0032] determining that the warning signal is a high level control signal when the first resistance in the op-amp module is abnormally grounded at one end;
[0033] determining that the warning type is a trigger type according to the high level control signal.
[0034] In one possible implementation, the controlling the alarm module according to the warning type comprises:
[0035] controlling the alarm in the alarm module to be unresponsive when the warning type is a non-trigger type, so that the alarm is not triggered to alarm;
[0036] controlling the alarm in the alarm module to be responsive when the warning type is a trigger type, so that the alarm is triggered to alarm.
[0037] In one possible implementation, the method further comprises:
[0038] The main control chip controls the switch control circuit to output a low-level control signal;
[0039] The relay is controlled to be in an open state according to the low-level control signal, so that the anti-theft system is closed.
[0040] In a third aspect, the embodiments of the present application provide an anti-theft device, comprising: a processor and a memory, wherein the processor is configured to execute a control program of an anti-theft system stored in the memory, so as to implement the control method of the anti-theft system according to any one of the second aspect.
[0041] In a fourth aspect, the embodiments of the present application provide an anti-theft device, which implements the control method of the anti-theft system according to any one of the second aspect.
[0042] In a fifth aspect, the embodiments of the present application provide a storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the control method of the anti-theft system according to any one of the second aspect.
[0043] The anti-theft system provided by the embodiments of the present application is configured with a main control chip, a switch control circuit, a relay, an operational amplifier module and a warning module; a first output end of the main control chip is connected to an input end of the switch control circuit, and a second output end is connected to an input end of the operational amplifier module; an output end of the switch control circuit is connected to a first control end of the relay; a second control end of the relay is connected to a first ground end, a signal input end of the relay is connected to an output end of the operational amplifier module, and a signal output end of the relay is connected to an input end of the warning module. The opening and closing state of the relay is used to control the opening state of the anti-theft system, and the connection stability of the ground end inside the operational amplifier module is used to determine the working state of the warning module. According to the present application, the anti-theft function can be achieved without adding additional devices and without designing a complex mechanical structure. BRIEF DESCRIPTION OF DRAWINGS
[0044] The drawings incorporated into the specification and forming a part thereof, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the application.
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed in the embodiments or prior art description will be briefly introduced as follows. Obviously, those skilled in the art can obtain other drawings according to these drawings without any creative effort.
[0046] One or more embodiments are exemplarily illustrated by pictures in the corresponding drawings. These exemplifications do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements. Unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0047] Figure 1 A schematic structural diagram of an anti-theft system provided in an embodiment of the present application;
[0048] Figure 2 A schematic structural diagram of another anti-theft system provided in an embodiment of the present application;
[0049] Figure 3 A flowchart of a control method for an anti-theft system provided in an embodiment of the present application;
[0050] Figure 4 A flowchart of another method for controlling an anti-theft system provided in an embodiment of the present application;
[0051] Figure 5 A schematic structural diagram of an anti-theft device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0053] In the embodiments of this application, the terms "including" and "having" are intended to convey an open-ended, inclusive meaning and indicate that additional elements / components / etc. may be present in addition to the listed elements / components / etc. The terms "first" and "second" are used merely as labels and do not limit the quantity of their objects. Furthermore, the various elements and regions in the drawings are shown for schematic purposes only, and thus this application is not limited to the sizes or distances shown in the drawings.
[0054] To facilitate understanding of the embodiments of the present application, further explanation will be given below with reference to specific embodiments in conjunction with the accompanying drawings. The embodiments do not constitute a limitation on the embodiments of the present application.
[0055] Figure 1 This is a schematic diagram of the structure of an anti-theft system provided in an embodiment of the present application. The execution subject of the embodiment of the present application is the anti-theft system. Figure 1 According to the diagram provided, the anti-theft system specifically includes:
[0056] Main control chip 11 , switch control circuit 12 , relay 13 , operational amplifier module 14 and early warning module 15 .
[0057] according to Figure 1 The diagram provided shows the internal connections of the anti-theft system, including:
[0058] A first output terminal of the main control chip 11 is connected to an input terminal of the switch control circuit 12 , and a second output terminal of the main control chip 11 is connected to an input terminal of the operational amplifier module 14 .
[0059] An output terminal of the switch control circuit 12 is connected to a first control terminal of the relay 13 .
[0060] The second control terminal of the relay 13 is connected to the first ground terminal GND, the signal input terminal of the relay 13 is connected to the output terminal of the operational amplifier module 14 , and the signal output terminal of the relay 13 is connected to the input terminal of the early warning module 15 .
[0061] In a possible example scenario, when the relay 13 is in the disconnected state to put the anti-theft system in the off mode, the main control chip 11 is used to output a low-level control signal to the switch control circuit 12, and the switch control circuit 12 is used to output a low-level control signal to the relay 13. After receiving the low-level control signal, the relay 13 is in the disconnected state to put the early warning module in an unresponsive state.
[0062] When the relay 13 is in a closed state so that the anti-theft system is in a normal working mode, the main control chip 11 is used to output a first high-level control signal to the switch control circuit 12, and the switch control circuit 12 is used to output a first high-level control signal to the relay 13. After receiving the first high-level control signal, the relay 13 is in a closed state. The main control chip 11 is used to output a second high-level control signal to the operational amplifier module 14, and the operational amplifier module 14 is used to output a second low-level control signal to the relay 13. The relay 13 is used to output a second low-level control signal to the early warning module 15 to prevent the early warning module from responding.
[0063] When the relay 13 is in a closed state and the ground terminal is not connected inside the operational amplifier module 14, so that the anti-theft system is in an abnormal working mode, the main control chip 11 is used to output a third high-level control signal to the switch control circuit 12, and the switch control circuit 12 is used to output a third high-level control signal to the relay 13. The relay 13 is in a closed state after receiving the third high-level control signal. The main control chip 11 is used to output a fourth high-level control signal to the operational amplifier module 14. Since the internal ground terminal of the operational amplifier module 14 is in a virtual disconnection state, it is used to output the fourth high-level control signal to the relay 13. The relay 13 is used to output the fourth high-level control signal to the early warning module 15, so that the early warning module 15 triggers an early warning.
[0064] The anti-theft system provided by the embodiment of the present application is provided with a main control chip, a switch control circuit, a relay, an operational amplifier module and an early warning module; the first output terminal of the main control chip is connected to the input terminal of the switch control circuit, and the second output terminal is connected to the input terminal of the operational amplifier module; the output terminal of the switch control circuit is connected to the first control terminal of the relay; the second control terminal of the relay is connected to the first ground terminal, the signal input terminal of the relay is connected to the output terminal of the operational amplifier module, and the signal output terminal of the relay is connected to the input terminal of the early warning module. The on-off state of the anti-theft system is controlled by the on-off state of the relay; the working state of the early warning module is determined by the connection stability of the ground terminal inside the operational amplifier module; this solution realizes the anti-theft function without adding additional components or designing complex mechanical structures, and at the same time achieves the technical effect of self-checking the grounding state of the target device.
[0065] In one possible example, the op amp module includes: an operational amplifier and a first resistor; the positive input terminal of the operational amplifier is connected to the second output terminal of the main control chip, the reverse input terminal is connected to the first node, and the output terminal is connected to the first node; one end of the first resistor is connected to the first node and the signal input terminal of the relay, and the other end is connected to the second ground terminal through a metal screw.
[0066] In one possible example, the early warning module includes: a transistor and an alarm; the first pole of the transistor is connected to the signal output end of the relay, the second pole is connected to the power supply end, and the third pole is connected to one end of the alarm; the other end of the alarm is connected to the third ground end.
[0067] The following will be introduced by taking the main control chip, the switch control circuit, the relay, the operational amplifier module including: an operational amplifier and a first resistor, and the early warning module including: a transistor and an alarm as examples. Figure 2 A schematic structural diagram of another anti-theft system provided in an embodiment of the present application. Figure 2 This is introduced based on the previous embodiment. Figure 2 According to the diagram provided, the anti-theft system specifically includes:
[0068] Main control chip 11 , switch control circuit 12 , relay 13 , operational amplifier module 14 and early warning module 15 .
[0069] according to Figure 2 According to the diagram provided, the operational amplifier module of the anti-theft system specifically includes:
[0070] Operational amplifier A and first resistor R.
[0071] Among them, the positive input end of the operational amplifier A is connected to the second output end of the main control chip 11, the negative input end is connected to the first node (hereinafter collectively referred to as P1), and the output end is connected to the first node (hereinafter collectively referred to as P1).
[0072] One end of the first resistor R is connected to the first node P1 and the signal input end of the relay 13 , and the other end is connected to the second ground end through a metal screw.
[0073] In one possible example scenario, the main control chip 11 outputs a high-level control signal to the switch control circuit 12 via the first output terminal DO1. The switch control circuit 12 is used to output the high-level control signal to the relay 13. Under the action of the high-level control signal, the inductor inside the relay 13 controls the switch inside the relay 13 to close, so that the relay 13 is in the closed state, waking up the anti-theft system. The main control chip 11 is used to output a high-level control signal to the operational amplifier A via the second output terminal DO2. The operational amplifier A is used to output a high-level control signal to the first resistor R. The other end of the first resistor R is grounded via a metal screw, so that the voltage at the connection between the first resistor R and the signal input end of the relay 13 drops to a low-level control signal. The low-level control signal is output to the early warning module 15 via the relay 13. Because the low-level signal does not reach the start-up voltage of the early warning module 15, the early warning module 15 does not respond to the early warning. The other end of the first resistor R is in a disconnected state due to the accidental falling off of the metal screw, causing the first resistor R to be in a high-level state, which is used to output a high-level control signal to the relay 13. The relay 13 is used to output a high-level control signal to the early warning module 15, reaching the start-up voltage of the early warning module 15, triggering the early warning module 15 to respond, and starting the alarm processing, thereby realizing the anti-theft function for the target instrument.
[0074] according to Figure 2 According to the diagram provided, the early warning module of the anti-theft system specifically includes:
[0075] Transistor Q and alarm L.
[0076] The first electrode of the transistor Q is connected to the signal output terminal of the relay 13 , the second electrode is connected to the power supply terminal +V, and the third electrode is connected to one end of the alarm L.
[0077] The other end of the alarm L is connected to the third ground terminal GND.
[0078] The transistor mentioned here can be understood as a bipolar transistor, such as a triode, NMOS transistor, PMOS transistor, or FETMOS transistor. The first electrode mentioned here can be understood as the base of a triode or the gate of an NMOS transistor. The second electrode mentioned here can be understood as the collector of a triode or the drain of an NMOS transistor. The third electrode mentioned here can be understood as the emitter of a triode or the source of an NMOS transistor.
[0079] The alarm mentioned here can be understood as a reminder device, such as a buzzer, warning light, flashing light or voice prompter.
[0080] In one possible example scenario, the main control chip 11 outputs a high-level control signal to the switch control circuit 12 via the first output terminal DO1. The switch control circuit 12 then outputs a high-level control signal to the relay 13. Under the action of the high-level control signal, the inductor inside the relay 13 controls the switch inside the relay 13 to close, causing the relay 13 to be in the closed state and waking up the anti-theft system. The main control chip 11 outputs a high-level control signal to the op amp module via the second output terminal DO2. When the grounding inside the op amp module is normal, the op amp module outputs a low-level control signal to the relay 13. The relay 13 outputs the low-level control signal to the transistor Q, but the transistor's turn-on voltage is not reached, causing the alarm to fail to respond.
[0081] When the internal grounding of the operational amplifier module is abnormal, the operational amplifier module outputs a high-level control signal, which is output to the transistor Q through the relay 13, causing the transistor Q to be turned on, thereby triggering the alarm to achieve the purpose of anti-theft.
[0082] according to Figure 2 The diagram provided shows that in a possible example scenario, the first output terminal DO1 of the main control chip 11 outputs a low-level control signal to the switch control circuit 12, and the switch control circuit 12 outputs a low-level control signal to the relay 13. After receiving the low-level control signal, the relay 13 is in a disconnected state, and the early warning module is in a non-responsive state.
[0083] The first output terminal DO1 of the main control chip 11 outputs a high-level control signal to the switch control circuit 12, which in turn outputs a high-level control signal to the relay 13. Relay 13 closes upon receiving the high-level control signal, activating the anti-theft mode. The second output terminal DO2 of the main control chip 11 outputs a high-level control signal to the operational amplifier A. After amplification, the high-level control signal is output. Under normal circumstances, when the first resistor R is grounded via a metal screw, the pull-down effect of the first resistor R outputs a low-level control signal to the relay 13. Relay 13 then outputs a low-level control signal to the transistor Q, failing to reach the trigger voltage, causing the alarm to not respond.
[0084] When the metal screw where the first resistor R is located accidentally falls off or is forcibly removed, the first resistor is in a disconnected state, and the high-level control signal output by the operational amplifier directly outputs a high-level control signal to the relay 13. The relay 13 outputs a high-level control signal to the transistor Q, causing the transistor Q to turn on, triggering the alarm to alarm, thereby achieving an anti-theft effect.
[0085] Another anti-theft system provided by the embodiment of the application provides that the first output end of the master control chip controls the relay to be in a closed state, thereby waking up the anti-theft system; when the master control chip outputs a high-level control signal to the operational amplifier, the high-level control signal is output to the first resistor through the amplification effect, when the first resistor is normally grounded, a low-level control signal is output to the transistor through the relay under the action of the first resistor, the transistor is not turned on, and thus the alarm does not respond; when the first resistor is abnormally grounded, there is a possibility of theft, so that the first resistor is in an open state, a high-level control signal is output to the relay through the operational amplifier, so that the transistor is turned on, the alarm is triggered, and thus the anti-theft purpose is achieved, without the need to increase additional devices and without the need to design a complex mechanical structure, the anti-theft function is achieved, and the technical effect of self-checking the grounding state of the target device is achieved.
[0086] Figure 3 The flowchart of the control method of the anti-theft system provided by the embodiment of the application is shown. The execution subject of the embodiment of the application is the anti-theft system. Referring to the diagram provided, Figure 3 The control method of the anti-theft system specifically includes the following steps.
[0087] S301, when the master control chip controls the switch control circuit to output a high-level control signal, the anti-theft system is woken up.
[0088] The application is applied to the anti-theft control of the target device, for example, the anti-theft control of the inverter or the anti-theft control of the power supply, or the anti-theft control of other devices controlled by the master control chip. The master control chip controls the switch control circuit to output a low-level control signal, and the anti-theft system is turned off; the master control chip controls the switch control circuit to output a high-level control signal, and the anti-theft system is woken up; then the operational amplifier amplifies the high-level control signal, and when the first resistor is stably grounded through the metal screw, a low-level control signal is output, the alarm does not respond because the opening voltage of the transistor is not reached; when the metal screw is accidentally removed or loosened, the first resistor is abnormally grounded, the first resistor is in an open state, a high-level control signal is output to the relay through the operational amplifier, so that the transistor connected with the relay is turned on, the alarm is triggered, and the anti-theft purpose is achieved.
[0089] The master control chip mentioned here can be understood as a CPU or MCU chip in the device. The switch control circuit mentioned here can be understood as a circuit structure that can control the state of the relay.
[0090] Further, after the master control chip outputs a high-level control signal to the switch control line, the switch control circuit outputs a high-level control signal to the relay, an induced voltage is generated through the inductive wire inside the relay, the switch inside the relay is controlled to be closed, so that the relay is in a closed state, and the anti-theft system is turned on.
[0091] S302: The main control chip controls the operational amplifier module to output a warning signal.
[0092] The warning signal mentioned here can be understood as the state of the signal output by the operational amplifier module, which can trigger a warning or not.
[0093] Furthermore, after waking up the anti-theft system, the main control chip controls the op amp module to output the amplified signal. Due to the instability of the op amp module and the ground terminal, the amplified signal changes. The early warning signal is used to characterize the different amplified signals to prepare for the next step of driving the alarm.
[0094] S303: Determine the warning type of the warning signal.
[0095] The warning types mentioned here can be understood as triggering warnings and not triggering warnings, which are used to characterize the types of anti-theft results.
[0096] Furthermore, different warning types are obtained by obtaining different warning signals. When the warning signal is a low-level control signal, the transistor cannot be controlled to conduct, and the alarm does not respond, resulting in a non-triggered warning type; when the warning signal is a high-level control signal, the transistor is controlled to conduct, and the alarm is triggered, resulting in a triggered warning type.
[0097] S304: Control the warning module according to the warning type.
[0098] The control mentioned here can be understood as a treatment measure, for example, turning off the alarm or repairing the anti-theft system.
[0099] Furthermore, different handling measures are taken depending on the type of warning received. If the anti-theft system is not triggered, the anti-theft system will not respond and will continue to operate or shut down. If the anti-theft system is triggered, the alarm will use sound, warning words, or flashing lights to remind the user to check the inverter's security status, perform maintenance, or shut down the anti-theft system.
[0100] The embodiment of the present application provides a control method for an anti-theft system, which controls a switch control circuit through a main control chip to wake up the anti-theft system; at the same time, the main control chip controls an operational amplifier module to output a warning signal representing the signal size, and generates different warning types through warning signals of different sizes, thereby controlling the switching state of the transistor, thereby controlling the state of the alarm, and achieving the purpose of anti-theft. The anti-theft function is realized without adding additional devices or designing complex mechanical structures, and the technical effect of self-checking the grounding status of the target device is achieved.
[0101] Figure 4Another flowchart of the control method of the anti-theft system is provided in the embodiments of the present application. The execution subject of the embodiments of the present application is the anti-theft system. Referring to Figure 4 The control method of the anti-theft system further includes the following steps, as shown in the provided diagram.
[0102] S401, when the main control chip controls the switch control circuit to output a high-level control signal, the relay is controlled to be in a closed state according to the high-level control signal.
[0103] S402, the anti-theft system is woken up according to the closed state.
[0104] The present application is applied to the anti-theft control of the target device, such as the anti-theft control of the inverter or the anti-theft control of the power supply, or the anti-theft control of other devices controlled by the main control chip. The anti-theft system is turned off by the main control chip controlling the switch control circuit to output a low-level control signal, and the anti-theft system is woken up by the main control chip controlling the switch control circuit to output a high-level control signal. Then, the high-level control signal is output by the amplification of the operational amplifier. When the first resistor is stably connected to the ground through the metal screw, the low-level control signal is output. Since the opening voltage of the transistor is not reached, the alarm does not respond. When the metal screw is accidentally removed or loosened, the first resistor is abnormally connected to the ground, and the first resistor is in an open state. The high-level control signal is output to the relay through the operational amplifier, so that the transistor connected to the relay is turned on, and the alarm is triggered to alarm, achieving the purpose of anti-theft.
[0105] The main control chip mentioned here can be understood as the CPU or MCU chip in the device. The switch control circuit mentioned here can be understood as a circuit structure that can control the state of the relay.
[0106] Further, after the main control chip outputs a high-level control signal to the switch control line, a high-level control signal is output to the relay through the switch control circuit. An induced voltage is generated by the inductive wire inside the relay, the switch inside the relay is closed, and the relay is in a closed state, so that the anti-theft system is turned on.
[0107] S403, the main control chip controls the op-amp module to output a pre-warning signal.
[0108] Further, after the anti-theft system is woken up, the main control chip controls the op-amp module to output an amplified signal. Due to the instability between the inside of the op-amp module and the ground, the amplified signal changes. The different amplified signals are represented by the pre-warning signal, and the alarm is prepared for the next step.
[0109] S404, when one end of the first resistor in the op-amp module is normally connected to the ground, the pre-warning signal is determined to be a low-level control signal.
[0110] S405, determining that the pre-warning type is the non-trigger type according to the low-level control signal.
[0111] Further, one end of the first resistor is grounded through the metal screw. When the metal screw is installed stably, the first resistor is connected to the ground stably. The high-level control signal output by the operational amplifier is pulled down to the low-level control signal by the pull-down effect of the first resistor. The low-level control signal is input into the transistor as the pre-warning signal. The transistor is not turned on under the action of the low-level control signal, and the pre-warning type is determined to be the non-trigger type.
[0112] S406, determining that the pre-warning signal is the high-level control signal when one end of the first resistor in the operational amplifier module is abnormally grounded.
[0113] S407, determining that the pre-warning type is the trigger type according to the high-level control signal.
[0114] Further, one end of the first resistor is grounded through the metal screw. When the metal screw is installed stably, the first resistor is connected to the ground stably. The high-level control signal output by the operational amplifier is pulled down to the low-level control signal by the pull-down effect of the first resistor. The low-level control signal is input into the transistor as the pre-warning signal. The transistor is not turned on under the action of the low-level control signal, and the pre-warning type is determined to be the non-trigger type.
[0115] S408, controlling the alarm in the pre-warning module not to respond when the pre-warning type is the non-trigger type, so that the alarm is not triggered to alarm.
[0116] S409, controlling the alarm in the pre-warning module to respond when the pre-warning type is the trigger type, so that the alarm is triggered to alarm.
[0117] Further, when the pre-warning type is the non-trigger type, the low-level control signal is input into the transistor as the pre-warning signal. The transistor is not turned on under the action of the low-level control signal, so that the alarm is not triggered to alarm. When the pre-warning type is the trigger type, the high-level control signal output by the operational amplifier is input into the transistor as the pre-warning signal. The transistor is turned on under the action of the high-level control signal, so that the alarm is triggered to alarm.
[0118] S410, the master control chip controls the switch control circuit to output the low-level control signal.
[0119] S411, controlling the relay to be in the off state according to the low-level control signal, so that the anti-theft system is closed.
[0120] In a possible example scenario, the switch control circuit outputs a low-level control signal under the control of the master control chip, the switch control circuit outputs the low-level control signal to the relay, the inductive wire inside the relay does not generate an induced voltage under the action of the low-level control signal, the switch inside the relay is turned off, the relay enters an off state, and the anti-theft system is turned off, facilitating the user to control the on-off of the anti-theft system.
[0121] Another anti-theft system control method provided by the embodiment of the application is provided, the switch control circuit outputs a high-level control signal under the control of the master control chip, the anti-theft system is woken up; the operational amplifier outputs a high-level control signal under the control, a low-level control signal is output as a pre-warning signal when the first resistor is stably grounded, and the pre-warning type is determined as an un-triggered type; the transistor is not turned on, and the alarm does not respond; a high-level control signal is output as a pre-warning signal when the first resistor is abnormally grounded, a triggered type is determined, the transistor is turned on, the alarm is triggered, and the anti-theft purpose is achieved, the anti-theft function is realized without adding extra devices and without designing a complex mechanical structure, and the technical effect of self-checking the grounding state of the target device is achieved.
[0122] Figure 5 A structural schematic diagram of an anti-theft device provided by the embodiment of the application is provided, Figure 5 The anti-theft device 500 shown includes at least one processor 501, a memory 502, at least one network interface 504 and other user interfaces 503. Various components in the anti-theft device 500 are coupled together through a bus system 505. It can be understood that the bus system 505 is used to realize the connection and communication between the components. In addition to the data bus, the bus system 505 also includes a power bus, a control bus and a status signal bus. However, for the purpose of clear illustration, all the buses are marked as the bus system 505 in the Figure 5
[0123] The user interface 503 can include a display, a keyboard or a clicking device (for example, a mouse, a trackball, a touchpad or a touch screen, etc.).
[0124] It is understood that the memory 502 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 502 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0125] In some embodiments, the memory 502 stores the following elements, executable units, or data structures, or a subset thereof, or an extended set thereof: an operating system 5021 and application programs 5022 .
[0126] Among them, the operating system 5021 includes various system programs, such as the framework layer, core library layer, and driver layer, which are used to implement various basic services and handle hardware-based tasks. The application 5022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program that implements the method of the embodiment of the present application can be included in the application 5022.
[0127] In the embodiment of the present application, by calling the program or instructions stored in the memory 502, specifically, the program or instructions stored in the application 5022, the processor 501 is configured to execute the method steps provided in each method embodiment, for example, including:
[0128] When the main control chip controls the switch control circuit to output a high-level control signal, the anti-theft system is awakened; the main control chip controls the op amp module to output an early warning signal; the early warning type of the early warning signal is determined; and the early warning module is controlled according to the early warning type.
[0129] The methods disclosed in the above embodiments of the present application can be applied to or implemented by processor 501. Processor 501 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in processor 501 or by software instructions. The above processor 501 can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software units in the decoding processor. The software units can be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory 502 , and the processor 501 reads the information in the memory 502 and completes the steps of the above method in combination with its hardware.
[0130] It is understood that the embodiments described herein may be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or a combination thereof.
[0131] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0132] The anti-theft device provided in this embodiment can be Figure 5 The anti-theft device shown in , can perform as follows Figure 3-4 All steps of the control method of the anti-theft system in Figure 3-4 For details on the technical effects of the control method of the anti-theft system shown, please refer to Figure 3-4 For the sake of brevity, the relevant description will not be repeated here.
[0133] An embodiment of the present application further provides an anti-theft device, including: a control method for any of the above-mentioned anti-theft systems implemented according to the anti-theft device.
[0134] The present application also provides a storage medium (computer-readable storage medium). The storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; and the memory may also include a combination of the aforementioned types of memory.
[0135] When one or more programs in the storage medium can be executed by one or more processors, the control method of the anti-theft system executed on the anti-theft device side can be implemented.
[0136] The processor is configured to execute a control program of the anti-theft system stored in the memory to implement the following steps of a control method of the anti-theft system executed on a control device side of the anti-theft system:
[0137] When the main control chip controls the switch control circuit to output a high-level control signal, the anti-theft system is awakened; the main control chip controls the op amp module to output an early warning signal; the early warning type of the early warning signal is determined; and the early warning module is controlled according to the early warning type.
[0138] Professionals should also be further aware that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0139] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0140] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of this application. It should be understood that the above description is only the specific implementation methods of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this application should be included in the scope of protection of this application.
Claims
1. An anti-theft system, characterized in that: include: Main control chip, switch control circuit, relay, operational amplifier module and early warning module; The first output terminal of the main control chip is connected to the input terminal of the switch control circuit, and the second output terminal is connected to the input terminal of the operational amplifier module; The output end of the switch control circuit is connected to the first control end of the relay; The second control terminal of the relay is connected to the first ground terminal, the signal input terminal of the relay is connected to the output terminal of the operational amplifier module, and the signal output terminal of the relay is connected to the input terminal of the early warning module; When the relay is in a closed state, the anti-theft system is turned on, and the operational amplifier module is used to output a second low-level control signal or a fourth high-level control signal to the relay according to the control signal output by the main control chip and the internal grounding state of the operational amplifier module; The internal grounding state is divided into a virtual disconnection state corresponding to abnormal grounding and a connection state corresponding to normal grounding; The fourth high-level control signal is a control signal corresponding to the virtual-off state, so that the early warning module triggers an early warning; The second low-level control signal is a control signal corresponding to the connection state, so that the early warning module does not respond; The operational amplifier module includes: an operational amplifier and a first resistor; The operational amplifier has a positive input terminal connected to the second output terminal of the main control chip, a negative input terminal connected to the first node, and an output terminal connected to the first node; One end of the first resistor is connected to the first node and the signal input end of the relay, and the other end is connected to the second ground end through a metal screw.
2. The system according to claim 1, wherein: When the relay is in an off state, so that the anti-theft system is in an off mode, the main control chip is used to output a low-level control signal to the switch control circuit, and the switch control circuit is used to output a low-level control signal to the relay. After receiving the low-level control signal, the relay is in an off state, so that the early warning module is in a non-responsive state; When the relay is in a closed state and the internal grounding state of the operational amplifier module is in a connected state, so that the anti-theft system is in a normal working mode, the main control chip is used to output a first high-level control signal to the switch control circuit, the switch control circuit is used to output the first high-level control signal to the relay, and the relay is in a closed state after receiving the first high-level control signal, the main control chip is used to output a second high-level control signal to the operational amplifier module, the operational amplifier module is used to output the second low-level control signal to the relay, and the relay is used to output the second low-level control signal to the early warning module to prevent the early warning module from responding; When the relay is in a closed state and the ground terminal is not connected inside the operational amplifier module, so that the anti-theft system is in an abnormal working mode, the main control chip is used to output a third high-level control signal to the switch control circuit, and the switch control circuit is used to output the third high-level control signal to the relay. The relay is in a closed state after receiving the third high-level control signal, and the main control chip is used to output the fourth high-level control signal to the operational amplifier module. Since the internal ground terminal of the operational amplifier module is in the virtual disconnection state, it is used to output the fourth high-level control signal to the relay. The relay is used to output the fourth high-level control signal to the early warning module, so that the early warning module triggers an early warning.
3. The system according to claim 1, wherein: The early warning module includes: a transistor and an alarm; The first electrode of the transistor is connected to the signal output terminal of the relay, the second electrode is connected to the power supply terminal, and the third electrode is connected to one end of the alarm; The other end of the alarm is connected to the third grounding end.
4. A method for controlling an anti-theft system, characterized in that: The anti-theft system is a system according to any one of claims 1 to 3, and the control method includes: When the main control chip controls the switch control circuit to output a high-level control signal, the anti-theft system is awakened; When the anti-theft system is in the on state, the main control chip controls the operational amplifier module to output a warning signal; Determining the warning type of the warning signal; Controlling the early warning module according to the early warning type; Wherein, when the main control chip controls the switch control circuit to output a high-level control signal, waking up the anti-theft system includes: controlling the relay to be in a closed state according to the high-level control signal; waking up the anti-theft system according to the closed state to control the anti-theft system to enter the open state; The early warning signal includes: the second low-level control signal or the fourth high-level control signal output by the operational amplifier module to the relay according to the control signal output by the main control chip and in combination with the internal grounding state of the operational amplifier module; The internal grounding state is divided into a virtual disconnection state corresponding to abnormal grounding and a connection state corresponding to normal grounding; The fourth high-level control signal is a control signal corresponding to the virtual-off state, so that the early warning module triggers an early warning; The second low-level control signal is a control signal corresponding to the connection state, so that the early warning module does not respond; The system includes an operational amplifier module, and the operational amplifier module includes: an operational amplifier and a first resistor; The operational amplifier has a positive input terminal connected to the second output terminal of the main control chip, a negative input terminal connected to the first node, and an output terminal connected to the first node; One end of the first resistor is connected to the first node and the signal input end of the relay, and the other end is connected to the second ground end through a metal screw.
5. The method according to claim 4, characterized in that Determining the warning type of the warning signal includes: When one end of the first resistor in the operational amplifier module is grounded normally, determining that the early warning signal is a low-level control signal; Determining, according to the low-level control signal, that the warning type is an untriggered type; When one end of the first resistor in the operational amplifier module is abnormally grounded, determining that the early warning signal is a high-level control signal; The early warning type is determined to be a trigger type according to the high-level control signal.
6. The method according to claim 5, characterized in that The controlling the early warning module according to the early warning type includes: When the warning type is a non-triggered type, controlling the alarm in the warning module not to respond so that the alarm does not trigger an alarm; When the early warning type is a trigger type, the alarm in the early warning module is controlled to respond so that the alarm triggers an alarm.
7. The method according to claim 4, characterized in that The method further comprises: The main control chip controls the switch control circuit to output a low-level control signal; The relay is controlled to be in an off state according to the low-level control signal to shut down the anti-theft system.
8. An anti-theft device, characterized in that: include: A processor and a memory, wherein the processor is configured to execute a control program of an anti-theft system stored in the memory to implement the control method of the anti-theft system according to any one of claims 4 to 7.
9. A burglar alarm, characterized in that: include: The anti-theft device is used to implement the anti-theft system control method according to any one of claims 4 to 7.
10. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the anti-theft system control method according to any one of claims 4 to 7.
Citation Information
Patent Citations
Dual-trigger electronic anti-theft alarm system
CN203165120U
Motor cycle code multi-function alarm device
CN2084441U
Electronic Anti-theft alarm of safe
CN2095924U
Anti-theft system
CN219997662U