Anti-opening device based on digital weighing sensor and detection method
By setting up easily broken enameled wires inside the housing of the digital weighing sensor, and using a backup power supply and a circuit composed of multiple diodes to detect the enameled wires, the problem of the digital weighing sensor being turned on by the remote control device is solved, and timely alarm prompts and property safety guarantees are achieved.
Patent Information
- Application Number
- CN202510138774.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-08
- Publication Date
- 2025-04-11
AI Technical Summary
The prior art is difficult to effectively prevent the digital weighing sensor from being turned on by the remote control device, resulting in property losses.
An anti-opening device based on a digital weighing sensor is designed. By setting easily broken enameled wires inside the housing of the digital weighing sensor, and using a circuit composed of backup power, field effect tube, transistor and Schottky diode to detect the status of the enameled wires. When the digital weighing sensor is turned on, the P42 pin voltage of the main control chip is high, and the alarm information is displayed through the weighing display.
It realizes the prompt message when the digital weighing sensor is turned on, ensuring property safety and avoiding property losses caused by remote control devices.
Smart Images

Figure CN119803639A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic weighing, and in particular to an anti-opening device and a detection method based on a digital weighing sensor. Background Art
[0002] Digital weighing sensors play an important role in the weighing sensor market due to their strong anti-interference ability and communication encryption to prevent cheating. The digital weighing system mainly consists of two parts: digital weighing sensors and weighing displays. Driven by profit, remote control devices are installed on digital weighing sensors to change the weight signal during the measurement process, indirectly changing the total price of the goods to make profits, causing huge losses to the country, enterprises and individuals. At present, the main methods for preventing and controlling cheating include communication protocol encryption, current detection, data jump analysis and other detection methods. However, there are fewer available prevention and control methods for the installation of remote control devices on the analog part of digital weighing sensors.
[0003] Current detection and data jump analysis can detect the presence of remote control devices in most cases. New remote control devices often appear, and once the anti-cheating function fails, it will cause huge losses. Summary of the invention
[0004] The purpose of this application is to provide an anti-opening device and a detection method based on a digital weighing sensor, which can promptly issue a prompt message when the digital weighing sensor is opened to avoid property loss.
[0005] To achieve the above objectives, this application provides the following solutions:
[0006] In the first aspect, the present application provides an anti-opening device based on a digital weighing sensor, which is applied to a digital weighing system, wherein the digital weighing system includes a digital weighing sensor and a weighing display, wherein the digital weighing sensor includes a digital module and an analog module, wherein the digital module includes a main control chip and an analog-to-digital conversion module, and wherein the anti-opening device based on the digital weighing sensor includes:
[0007] Enameled wire, backup power supply, field effect transistor, triode, first Schottky diode and second Schottky diode;
[0008] The housing of the digital weighing sensor is provided with a cavity, the digital module and the analog module are placed in the cavity, the enameled wire is provided on the digital module, the analog module and the connecting wire between the digital module and the analog module, and the cavity is filled with an opaque glue; the opaque glue seals the enameled wire, the digital module, the analog module and the connecting wire;
[0009] The backup power supply is respectively connected to one end of the enameled wire and the source of the field effect tube, and the other end of the enameled wire and the gate of the field effect tube are both grounded; the drain of the field effect tube is respectively connected to the P42 pin of the main control chip, the anode of the first Schottky diode and the ground; the cathode of the first Schottky diode is respectively connected to the cathode of the second Schottky diode and the VDD power pin of the main control chip, the anode of the second Schottky diode is connected to the main power supply, and the VSS pin of the main control chip is grounded;
[0010] The collector of the transistor is connected to one end of the enameled wire, the base of the transistor is connected to the P41 pin of the main control chip, and the emitter of the transistor is grounded;
[0011] The main control chip periodically obtains the voltage of the P42 pin and sends the voltage status of the P42 pin to the weighing display for display. When the voltage of the P42 pin is at a high level, it indicates that the digital weighing sensor is turned on, and the weighing display displays an alarm message.
[0012] Furthermore, the anti-opening device based on the digital weighing sensor further comprises: a first current limiting resistor;
[0013] One end of the first current limiting resistor is connected to the drain of the field effect transistor, and the other end of the first current limiting resistor is connected to the P42 pin of the main control chip.
[0014] Furthermore, the anti-opening device based on the digital weighing sensor also includes: a first pull-down resistor; one end of the first pull-down resistor is respectively connected to the other end of the first current limiting resistor and the P42 pin of the main control chip, and the other end of the first pull-down resistor is grounded.
[0015] Furthermore, the anti-opening device based on the digital weighing sensor further comprises: a second current limiting resistor;
[0016] One end of the second current limiting resistor is connected to the source of the field effect tube and the backup power supply respectively; the other end of the second current limiting resistor is connected to one end of the enameled wire.
[0017] Further, the anti-opening device based on the digital weighing sensor further comprises: a second pull-down resistor;
[0018] One end of the second pull-down resistor is connected to the other end of the enameled wire and the gate of the field effect transistor respectively, and the other end of the second pull-down resistor is grounded.
[0019] Furthermore, the anti-opening device based on the digital weighing sensor further comprises: a third current limiting resistor;
[0020] One end of the third current limiting resistor is connected to the base of the transistor; the other end of the third current limiting resistor is connected to the P41 pin of the main control chip.
[0021] Furthermore, the anti-opening device based on the digital weighing sensor also includes:
[0022] The storage module is connected to the main control chip and is used for receiving the voltage of the P42 pin sent by the main control chip and storing the voltage of the P42 pin.
[0023] Furthermore, the simulation module includes at least two strain gauges, and the strain gauges are used to generate analog signals according to the real-time weight of the object to be measured.
[0024] In a second aspect, the present application provides a detection method for a digital weighing sensor, comprising:
[0025] When the main power supply is turned on, the main power supply supplies power to the main control chip through the second Schottky diode. The main control chip controls the voltage of the P41 pin to be low, and the three-stage tube is not turned on; if the voltage of the detected P42 pin is high, it is determined that the enameled wire is disconnected, the digital weighing sensor is turned on, and the backup power supply is not damaged; if the voltage of the detected P42 pin is low, the backup power supply is detected. When it is detected that the backup power supply is not damaged, it is determined that the enameled wire is not disconnected and the digital weighing sensor is not turned on;
[0026] When the main power supply is not connected and the backup power supply is not damaged, if the voltage detected at the P42 pin is high, it is determined that the enameled wire is disconnected and the digital weighing sensor is turned on.
[0027] Further, if the detected voltage of the P42 pin is at a low level, the backup power supply is detected, including:
[0028] When the detected voltage of pin P42 is low, the main control chip controls the voltage of pin P41 to be pulled up, the transistor is turned on, and the voltage of pin P42 is detected again. If the voltage of pin P42 is high, it is determined that the backup power supply is not damaged. If the voltage of pin P42 is low, it is determined that the backup power supply is damaged.
[0029] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0030] The present application provides an anti-opening device and a detection method based on a digital weighing sensor, which uses an easily disconnected enameled wire and a digital module, an analog module and the connecting wires therebetween to be sealed inside a shell. When the digital weighing sensor is opened, the enameled wire will be damaged and thus disconnected. Based on this setting, the state of the enameled wire is detected by a circuit composed of a backup power supply, a field effect transistor, a triode, a first Schottky diode, a second Schottky diode and a main control chip. When the enameled wire is disconnected, the voltage of the P42 pin of the main control chip is at a high level, and the voltage state of the P42 pin is displayed through a weighing display, so that the user can receive prompt information in time when the digital weighing sensor is opened to ensure property safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in 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 paying creative work.
[0032] Figure 1 This is a schematic diagram of the positional relationship of various components in an anti-opening device based on a digital weighing sensor in one embodiment of the present application;
[0033] Figure 2 A schematic diagram of a circuit structure of an anti-opening device based on a digital weighing sensor provided in one embodiment of the present application. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0035] In order to make the purpose, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0036] The embodiment of the present application provides a device for preventing opening based on a digital weighing sensor. The device for preventing opening based on a digital weighing sensor is applied to a digital weighing system. The digital weighing system includes a digital weighing sensor and a weighing display. Figure 1As shown, the digital weighing sensor includes a digital module 1 and an analog module 2. The digital module 1 includes a main control chip U1 and an analog-to-digital conversion module. The main control chip U1 is connected to the analog-to-digital conversion module and the weighing display respectively. The analog-to-digital conversion module is connected to the analog module 2. The analog module 2 is used to generate an analog signal according to the real-time weight of the object to be measured. The analog signal of the real-time weight is sent to the weighing display for display through the analog-to-digital conversion module and the main control chip U1 in turn.
[0037] like Figure 1 and Figure 2 As shown, the anti-opening device based on the digital weighing sensor includes: an enameled wire S1, a backup power supply BAT, a field effect transistor Q1, a transistor Q2, a first Schottky diode D1 and a second Schottky diode D2.
[0038] A cavity 4 is provided inside the housing 3 of the digital weighing sensor, and the digital module 1 and the analog module 2 are placed inside the cavity 4. The enameled wire S1 is provided on the digital module 1, the analog module 2 and the connecting wire between the digital module 1 and the analog module 2, and the cavity 4 is filled with opaque glue; the opaque glue seals the enameled wire S1, the digital module 1, the analog module 2 and the connecting wire.
[0039] The backup power supply BAT is respectively connected to one end of the enameled wire S1 and the source of the field effect transistor Q1, and the other end of the enameled wire S1 and the gate of the field effect transistor Q1 are both grounded; the drain of the field effect transistor Q1 is respectively connected to the P42 pin of the main control chip U1, the anode of the first Schottky diode D1 and the ground; the cathode of the first Schottky diode D1 is respectively connected to the cathode of the second Schottky diode D2 and the VDD power pin of the main control chip, the anode of the second Schottky diode D2 is connected to the main power supply VCC, and the VSS pin of the main control chip U1 is grounded.
[0040] The collector of the transistor Q2 is connected to one end of the enameled wire S1 , the base of the transistor Q2 is connected to the P41 pin of the main control chip U1 , and the emitter of the transistor Q2 is grounded.
[0041] The main control chip U1 periodically obtains the voltage of the P42 pin, and sends the voltage status of the P42 pin to the weighing display for display. When the voltage of the P42 pin is at a high level, it indicates that the digital weighing sensor is turned on, and the weighing display displays an alarm message.
[0042] In this embodiment, the enameled wire S1 is an easily damaged slender enameled wire, and the interior of the cavity 4 is filled with opaque glue. The enameled wire S1, the digital module 1, the analog module 2 and the connecting wire are sealed in the housing 3 of the digital weighing sensor. When the digital module 1 and the analog module 2 in the digital weighing sensor are opened, the enameled wire S1 will be damaged. The voltage of the P42 pin of the main control chip U1 indicates whether the enameled wire S1 is damaged. When the voltage of the P42 pin is high, it means that the enameled wire S1 is damaged, and the weighing display displays an alarm message, so that once the enameled wire S1 is opened, a prompt message can be issued in time to ensure property safety.
[0043] In an exemplary embodiment, the anti-opening device based on the digital weighing sensor further includes: a first current limiting resistor R1, a first pull-down resistor R2, a second current limiting resistor R3, a second pull-down resistor R4 and a third current limiting resistor R5.
[0044] One end of the first current limiting resistor R1 is connected to the drain of the field effect transistor Q1 , and the other end of the first current limiting resistor R1 is connected to the P42 pin of the main control chip U1 .
[0045] One end of the first pull-down resistor R2 is respectively connected to the other end of the first current limiting resistor R1 and the P42 pin of the main control chip, and the other end of the first pull-down resistor R2 is grounded.
[0046] One end of the second current limiting resistor R3 is connected to the source of the field effect transistor Q1 and the backup power supply BAT respectively; the other end of the second current limiting resistor R3 is connected to one end of the enameled wire S1.
[0047] One end of the second pull-down resistor R4 is connected to the other end of the enameled wire S1 and the gate of the field effect transistor Q1 respectively, and the other end of the second pull-down resistor R4 is grounded.
[0048] One end of the third current limiting resistor R5 is connected to the base of the transistor Q2; the other end of the third current limiting resistor R5 is connected to the P41 pin of the main control chip U1.
[0049] In an exemplary embodiment, the anti-opening device based on the digital weighing sensor further includes: a storage module connected to the main control chip U1, for receiving the voltage of the P42 pin sent by the main control chip U1, and saving the voltage of the P42 pin.
[0050] In an exemplary embodiment, the simulation module 2 includes at least two strain gauges, and the strain gauges are used to generate analog signals according to the real-time weight of the object to be measured.
[0051] Based on the above-mentioned anti-opening device based on the digital weighing sensor, the embodiment of the present application also provides a detection method of the digital weighing sensor, including:
[0052] When the main power supply VCC is turned on, the main power supply VCC supplies power to the main control chip U1 through the second Schottky diode D2. The main control chip U1 controls the voltage of the P41 pin to be low, and the transistor Q2 is not turned on; if the detected voltage of the P42 pin is high, it is determined that the enameled wire S1 is disconnected, the digital weighing sensor is turned on, and the backup power supply BAT is not damaged; if the detected voltage of the P42 pin is low, the backup power supply BAT is detected. When it is detected that the backup power supply BAT is not damaged, it is determined that the enameled wire S1 is not disconnected and the digital weighing sensor is not turned on.
[0053] Specifically, after the main control chip U1 is powered on, it first controls the level of the P41 pin to be pulled low, at this time, the transistor Q2 is not turned on. If the digital weighing sensor is turned on, the enameled wire S1 is disconnected, and the gate voltage of the field effect tube Q1 is pulled low, and the field effect tube Q1 is turned on. At this time, the backup power supply BAT pulls up the level of the P42 pin of the main control chip U1 through the field effect tube Q1 and the first current limiting resistor R1. Therefore, if the voltage of the P42 pin is detected to be high and the backup power supply BAT is not damaged, the digital weighing sensor is turned on, and the turned-on state of the digital weighing sensor is permanently saved.
[0054] If the voltage of the P42 pin is detected to be low, it means that the voltage of the P42 pin is pulled down by the first pull-down resistor R2 to the ground, and it is determined that the field effect tube Q1 is not conducting. There are two situations in which the field effect tube Q1 is not conducting. One is that the gate voltage of the field effect tube Q1 is high, and the other is that the source voltage of the field effect tube Q1 is low; the gate voltage of the field effect tube Q1 is high, corresponding to the situation that the enameled wire S1 is not disconnected and the backup power supply BAT is not damaged, and the source voltage of the field effect tube Q1 is low, corresponding to the situation that the enameled wire S1 is disconnected regardless of whether it is disconnected, and the backup power supply BAT is damaged. Therefore, when the voltage of the P42 pin is detected to be low, the backup power supply BAT needs to be detected.
[0055] In an exemplary embodiment, if the voltage of the P42 pin is detected to be a low level, the backup power supply BAT is detected, specifically including: if the voltage of the P42 pin is detected to be a low level, the main control chip U1 controls the voltage of the P41 pin to be pulled up, the transistor Q2 is turned on, and the voltage of the P42 pin is detected again. If the voltage of the P42 pin is a high level, it is determined that the backup power supply is not damaged; if the voltage of the P42 pin is a low level, it is determined that the backup power supply BAT is damaged.
[0056] Specifically, the main control chip U1 pulls up the level of the P41 pin, then the transistor Q2 is turned on, and the gate voltage of the field effect transistor Q1 is pulled down, the field effect transistor Q1 is actuated, and the field effect transistor Q1 is turned on. At this time, the P42 pin of the main control chip U1 is connected to the backup power supply BAT through the first current limiting resistor R1 and the field effect transistor Q1; if the voltage of the P42 pin is detected to be high at this time, it indicates that the backup power supply BAT is not damaged; if the voltage of the P42 pin is detected to be low at this time, it indicates that the backup power supply BAT is damaged.
[0057] When the backup power supply BAT detection is completed, the main control chip U1 pulls down the level of the P41 pin, disconnects the transistor Q2 and the field effect transistor Q1 loop, and reduces the backup power supply BAT consumption.
[0058] When the main power supply VCC is not connected and the backup power supply BAT is not damaged, if the voltage of the detected P42 pin is high, it is determined that the enameled wire S1 is disconnected and the digital weighing sensor is turned on.
[0059] Specifically, when the main power supply VCC is not connected and the backup power supply BAT is not damaged, if the digital weighing sensor is not turned on, the enameled wire S1 is not disconnected, the gate voltage of the field effect tube Q1 is pulled up and does not act, and the field effect tube Q1 is not turned on. At this time, the main control chip U1 has no power supply and does not work. If the digital weighing sensor is turned on, the enameled wire S1 is disconnected, the gate voltage of the field effect tube Q1 is pulled down, the field effect tube Q1 acts and turns on, and the backup power supply BAT supplies power to the main control chip U1 through the first Schottky diode D1. At the same time, the backup battery BAT pulls up the level of the P42 pin of the main control chip U1 through the field effect tube Q1. At this time, the voltage of the P42 pin is detected to be high. Therefore, when the main power supply VCC is not connected and the backup power supply BAT is not damaged, if the voltage of the P42 pin is detected to be high, it is determined that the enameled wire S1 is disconnected and the digital weighing sensor is turned on.
[0060] When the main power supply VCC is not connected and the backup power supply BAT is damaged, the main control chip U1 has no power supply and does not work.
[0061] In the embodiment of the present application, once the main control chip U1 detects that the digital weighing sensor is turned on or the backup power supply is damaged, it can display a reminder to the user through the weighing display.
[0062] The detection method of the digital weighing sensor provided in the embodiments of the present application also has the following advantages:
[0063] The backup power supply BAT is used for power supply, and the digital weighing sensor can be detected to be turned on even when the main power supply VCC is not connected.
[0064] The backup power supply BAT consumes very little when the digital weighing sensor is not turned on. The main control chip U1 needs to be powered only when the main power supply VCC in the digital weighing sensor is not connected and the sensor housing is opened, which increases the service life of the backup power supply BAT.
[0065] Detect the backup power supply BAT status to ensure that the backup power supply BAT damage status can also be detected. The detected backup power supply BAT status and the status of the digital weighing sensor are permanently saved and can be used for real-time reminders or subsequent review when the main power supply VCC is working.
[0066] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0067] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A digital weighing sensor anti-opening device, applied to a digital weighing system, wherein the digital weighing system comprises a digital weighing sensor and a weighing display, wherein the digital weighing sensor comprises a digital module and an analog module, wherein the digital module comprises a main control chip and an analog-to-digital conversion module, wherein: The anti-opening device based on the digital weighing sensor includes: enameled wire, backup power supply, field effect tube, triode, first Schottky diode and second Schottky diode; The housing of the digital weighing sensor is provided with a cavity, the digital module and the analog module are placed in the cavity, the enameled wire is provided on the digital module, the analog module and the connecting wire between the digital module and the analog module, and the cavity is filled with an opaque glue; the opaque glue seals the enameled wire, the digital module, the analog module and the connecting wire; The backup power supply is respectively connected to one end of the enameled wire and the source of the field effect tube, and the other end of the enameled wire and the gate of the field effect tube are both grounded; the drain of the field effect tube is respectively connected to the P42 pin of the main control chip, the anode of the first Schottky diode and the ground; the cathode of the first Schottky diode is respectively connected to the cathode of the second Schottky diode and the VDD power pin of the main control chip, the anode of the second Schottky diode is connected to the main power supply, and the VSS pin of the main control chip is grounded; The collector of the transistor is connected to one end of the enameled wire, the base of the transistor is connected to the P41 pin of the main control chip, and the emitter of the transistor is grounded; The main control chip periodically obtains the voltage of the P42 pin and sends the voltage status of the P42 pin to the weighing display for display. When the voltage of the P42 pin is at a high level, it indicates that the digital weighing sensor is turned on, and the weighing display displays an alarm message.
2. The anti-opening device based on a digital weighing sensor according to claim 1 is characterized in that: The anti-opening device based on the digital weighing sensor further comprises: a first current limiting resistor; One end of the first current limiting resistor is connected to the drain of the field effect transistor, and the other end of the first current limiting resistor is connected to the P42 pin of the main control chip.
3. The anti-opening device based on a digital weighing sensor according to claim 2 is characterized in that: The anti-opening device based on the digital weighing sensor also includes: a first pull-down resistor; one end of the first pull-down resistor is respectively connected to the other end of the first current limiting resistor and the P42 pin of the main control chip, and the other end of the first pull-down resistor is grounded.
4. The anti-opening device based on a digital weighing sensor according to claim 1 is characterized in that: The anti-opening device based on the digital weighing sensor further comprises: a second current limiting resistor; One end of the second current limiting resistor is connected to the source of the field effect tube and the backup power supply respectively; the other end of the second current limiting resistor is connected to one end of the enameled wire.
5. The anti-opening device based on a digital weighing sensor according to claim 1 is characterized in that: The anti-opening device based on the digital weighing sensor further comprises: a second pull-down resistor; One end of the second pull-down resistor is connected to the other end of the enameled wire and the gate of the field effect transistor respectively, and the other end of the second pull-down resistor is grounded.
6. The anti-opening device based on a digital weighing sensor according to claim 1 is characterized in that: The anti-opening device based on the digital weighing sensor further comprises: a third current limiting resistor; One end of the third current limiting resistor is connected to the base of the transistor; the other end of the third current limiting resistor is connected to the P41 pin of the main control chip.
7. The anti-opening device based on a digital weighing sensor according to claim 1 is characterized in that: The anti-opening device based on the digital weighing sensor also includes: The storage module is connected to the main control chip and is used for receiving the voltage of the P42 pin sent by the main control chip and storing the voltage of the P42 pin.
8. The anti-opening device based on a digital weighing sensor according to claim 1, characterized in that: The simulation module includes at least two strain gauges, and the strain gauges are used to generate analog signals according to the real-time weight of the object to be measured.
9. A detection method for a digital weighing sensor, characterized in that: Applied to the anti-opening device based on a digital weighing sensor according to any one of claims 1 to 8, the detection method of the digital weighing sensor comprises: When the main power supply is turned on, the main power supply supplies power to the main control chip through the second Schottky diode. The main control chip controls the voltage of the P41 pin to be low, and the three-stage tube is not turned on; if the voltage of the detected P42 pin is high, it is determined that the enameled wire is disconnected, the digital weighing sensor is turned on, and the backup power supply is not damaged; if the voltage of the detected P42 pin is low, the backup power supply is detected. When it is detected that the backup power supply is not damaged, it is determined that the enameled wire is not disconnected and the digital weighing sensor is not turned on; When the main power supply is not connected and the backup power supply is not damaged, if the voltage detected at the P42 pin is high, it is determined that the enameled wire is disconnected and the digital weighing sensor is turned on.
10. The detection method based on a digital weighing sensor according to claim 9, characterized in that: If the detected voltage of the P42 pin is low, the backup power supply is tested, including: When the detected voltage of pin P42 is low, the main control chip controls the voltage of pin P41 to be pulled up, the transistor is turned on, and the voltage of pin P42 is detected again. If the voltage of pin P42 is high, it is determined that the backup power supply is not damaged. If the voltage of pin P42 is low, it is determined that the backup power supply is damaged.