Sensor query device

The address information of the sensor device is collected through the control circuit and data acquisition circuit of the sensor query device, and the display circuit displays this information, which solves the problems of cumbersome sensor address query operation and limited use scenarios in the prior art, and realizes a convenient sensor device Debugging and replacing.

CN111309564BActive Publication Date: 2025-02-11WUXI PROFESSIONAL COLLEGE OF SCI & TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010241239.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-31
Publication Date
2025-02-11
Estimated Expiration
2040-03-31

AI Technical Summary

Technical Problem

In the prior art, the operation process of querying the address of the sensor device by combining a computer with a driver installed and a data sheet of a sensor device is cumbersome and has limited use scenarios.

Method used

A sensor query device is provided, including a power supply circuit, a data acquisition circuit, a control circuit and a display circuit. The control circuit controls the data acquisition circuit to collect address information of the sensor device and displays the information to the user through the display circuit.

Benefits of technology

Users can debug or replace the sensor equipment on the sensor bus based on the address information of the sensor equipment displayed in the display circuit, without the need to combine the data sheet of the computer and sensor equipment installed with the driver, which solves the cumbersome operation process and use. Problem of limitations in scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111309564B_ABST
    Figure CN111309564B_ABST
Patent Text Reader

Abstract

The present invention provides a sensor query device, comprising: a power supply circuit; a data acquisition circuit connected to the power supply circuit, used to receive control instructions to collect address information of a sensor device; a control circuit connected to the power supply circuit and in communication with the data acquisition circuit, used to send a control instruction to the data acquisition circuit in response to a target input, so as to control the data acquisition circuit to collect address information of the sensor device, and obtain the address information of the sensor device based on the data acquisition circuit; a display circuit connected to the power supply circuit and in communication with the control circuit, used to display the status information of the control circuit and the address information of the sensor device to the user. The present invention solves the problem in the prior art that the operation process of querying the address of a sensor device by combining a computer with a driver installed and a data manual of the sensor device is cumbersome and has limited usage scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of sensor address query, and in particular to a sensor query device. Background Art

[0002] With the development of the Internet of Things, the number of devices for monitoring temperature, humidity, fire, and other environments in many industries and agriculture has increased. In monitoring equipment, the RS-485 bus is mainly used for data collection. The RS-485 bus can realize data collection for multiple sensors. Among them, the RS-485 bus has a long communication distance and supports multi-node communication. The RS-485 bus network topology generally adopts a terminal matching bus structure. However, the premise of collecting sensor data through the RS-485 bus is that the host on the bus must know the address of the slave, so each sensor on the bus has a unique address for distinction.

[0003] Generally, when installing or debugging a sensor according to the sensor address in a specific environment (such as in the field or industrial site, etc.), it is necessary to query the address of the sensor device. However, the query of a sensor address requires a computer device, and the corresponding sensor data sheet, as well as the device driver and serial port tool used for computer installation, can be used to query the sensor address. Therefore, the operation process of querying the sensor address is not only cumbersome, but also very unsuitable for field debugging environments.

[0004] Therefore, it is necessary to study a sensor query device to facilitate querying the address of the sensor. Summary of the invention

[0005] The purpose of the present invention is to provide a sensor query device to solve the problem in the prior art that the operation process of querying the address of a sensor device by combining a computer with a driver installed and a data manual of the sensor device is cumbersome and has limited usage scenarios.

[0006] To achieve the above object, the present invention is achieved as follows:

[0007] The present invention provides a sensor query device, comprising:

[0008] Power supply circuit;

[0009] A data acquisition circuit connected to the power supply circuit, used to receive control instructions to acquire address information of the sensor device;

[0010] a control circuit connected to the power supply circuit and in communication with the data acquisition circuit, configured to send the control instruction to the data acquisition circuit in response to a target input, so as to control the data acquisition circuit to collect the address information of the sensor device, and obtain the address information of the sensor device based on the data acquisition circuit;

[0011] A display circuit connected to the power supply circuit and in communication with the control circuit is used to display status information of the control circuit and address information of the sensor device to a user.

[0012] As a further improvement of the present invention, it also includes:

[0013] A data connection circuit is used to connect the sensor device, and the data acquisition circuit is communicatively connected with the sensor device through the data connection circuit.

[0014] As a further improvement of the present invention, the control circuit comprises:

[0015] Control chip;

[0016] A control button connected to the control chip generates a key signal when the control button is pressed, so that the control chip sends the control instruction to the data acquisition circuit based on the key signal.

[0017] As a further improvement of the present invention, the control circuit further includes:

[0018] A reset circuit connected to the reset terminal of the control chip, the reset circuit is composed of a reset button and a capacitor connected in parallel with the reset button, wherein the reset terminal of the control chip is connected to a grounded current limiting resistor.

[0019] As a further improvement of the present invention, the control circuit further includes:

[0020] A clock circuit composed of a quartz crystal oscillator and two resonant capacitors, wherein the clock circuit is connected to the control chip through two ends of the quartz crystal oscillator.

[0021] As a further improvement of the present invention, the data acquisition circuit comprises:

[0022] A communication chip, the communication chip comprising a data acquisition receiving end, a data acquisition sending end, a data control receiving end, and a data control sending end;

[0023] A first current limiting resistor connected to the data acquisition receiving end;

[0024] A second current limiting resistor connected to the data acquisition sending end;

[0025] a third current limiting resistor connected to the data control receiving terminal;

[0026] Wherein, the control circuit is communicatively connected with the data acquisition circuit via the data control receiving end and the data control sending end.

[0027] As a further improvement of the present invention, the power supply circuit includes:

[0028] Rechargeable batteries;

[0029] a voltage stabilizing chip for converting the voltage of the rechargeable battery into a target voltage for supplying the control circuit, the data acquisition circuit, and the display circuit with voltage, wherein the input end of the voltage stabilizing chip is connected to the rechargeable battery; and

[0030] A diode, wherein the anode of the diode is connected to the input end of the voltage stabilizing chip, and the cathode of the diode is connected to the output end of the voltage stabilizing chip.

[0031] As a further improvement of the present invention, the display circuit comprises:

[0032] Display chip; and

[0033] A sliding resistor connected to the display chip and used to adjust the display brightness of the display chip.

[0034] As a further improvement of the present invention, it also includes:

[0035] The remote control terminal in communication with the control circuit is used to send the target input instruction to the control circuit, so as to control the control circuit to control the data acquisition circuit to collect the address information of the sensor device based on the target input instruction.

[0036] As a further improvement of the present invention, it also includes:

[0037] The reminder unit connected to the control circuit is used to remind the user when the data acquisition circuit feeds back the address information of the collected sensor device to the control unit.

[0038] The beneficial effects of the embodiments of the present invention are:

[0039] The sensor query device of the embodiment of the present invention controls the data acquisition circuit through the control circuit to collect the address information of the sensor device, so that the control circuit obtains the address information of the sensor device through the data acquisition circuit, and sends the address information of the sensor device to the display circuit, so as to display the address information of the sensor device to the user through the display circuit. In this way, the user can debug or replace the sensor device on the sensor bus according to the address information of the sensor device displayed by the display circuit, without having to query the address of the sensor device in conjunction with the computer with the driver installed and the data manual of the sensor device. Therefore, the sensor query device of the embodiment of the present invention solves the problem in the prior art that the operation process of querying the address of the sensor device by combining the computer with the driver installed and the data manual of the sensor device is cumbersome and the usage scenario is limited. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A schematic structural block diagram of a sensor query device according to an embodiment of the present invention;

[0041] Figure 2 is a schematic circuit structure diagram of a power supply circuit according to an embodiment of the present invention;

[0042] Figure 3 A schematic circuit structure diagram of a control chip in a control circuit according to an embodiment of the present invention;

[0043] Figure 4 is a schematic circuit structure diagram of a reset circuit in a control circuit according to an embodiment of the present invention;

[0044] Figure 5 A schematic diagram of the connection between a control button and a control chip in a control circuit according to an embodiment of the present invention;

[0045] Figure 6 is a schematic circuit structure diagram of a data acquisition circuit according to an embodiment of the present invention;

[0046] Figure 7 is a schematic circuit structure diagram of a data connection circuit according to an embodiment of the present invention;

[0047] Figure 8 FIG. 4 is a schematic circuit structure diagram of a display circuit according to an embodiment of the present invention. DETAILED DESCRIPTION

[0048] The present invention is described in detail below in conjunction with the various embodiments shown in the accompanying drawings, but it should be noted that these embodiments are not limitations of the present invention, and any equivalent transformations or substitutions in functions, methods, or structures made by ordinary technicians in the field based on these embodiments are all within the scope of protection of the present invention.

[0049] The technical solutions provided by various embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.

[0050] Combination Figures 1 to 8 To illustrate, an embodiment of the present invention provides a sensor query device 100, including: a power supply circuit 10; a data acquisition circuit 30 connected to the power supply circuit 10, used to receive a control instruction to collect address information of a sensor device 200; a control circuit 20 connected to the power supply circuit 10 and in communication with the data acquisition circuit 30, used to send a control instruction to the data acquisition circuit 30 in response to a target input, so as to control the data acquisition circuit 30 to collect address information of the sensor device 200, and obtain the address information of the sensor device 200 based on the data acquisition circuit 30; a display circuit 40 connected to the power supply circuit 10 and in communication with the control circuit 20, used to display the status information of the control circuit 20 and the address information of the sensor device 200 to the user. The sensor query device 100 also includes: a data connection circuit 50 for connecting to the sensor device 200, and the data acquisition circuit 30 is in communication with the sensor device 200 through the data connection circuit 50.

[0051] The sensor query device 100 of the embodiment of the present invention controls the data acquisition circuit 30 to collect the address information of the sensor device 200 through the control circuit 20, so that the control circuit 20 obtains the address information of the sensor device 200 through the data acquisition circuit 30, and sends the address information of the sensor device 200 to the display circuit 40, so as to display the address information of the sensor device 200 to the user through the display circuit 40. In this way, the user can conveniently and quickly debug or replace the sensor device on the sensor bus according to the address information of the sensor device 200 displayed by the display circuit 40, without having to query the address of the sensor device by combining the computer with the driver installed and the data manual of the sensor device. Therefore, the sensor query device 100 of the embodiment of the present invention solves the problem of the cumbersome operation process of querying the address of the sensor device by combining the computer with the driver installed and the data manual of the sensor device in the prior art.

[0052] In particular, in a relatively special environment such as the wild, the sensor query device 100 of the embodiment of the present invention can be carried with you to query the address information of the sensor device 200. In this way, the sensor query device 100 of the embodiment of the present invention is not only easy to carry and occupies a small area, but also can expand the scope of application of the address information query of the sensor device 200, thereby solving the problem of limited use scenarios for querying the address of the sensor device in the prior art.

[0053] like Figure 2As shown, the power supply circuit 10 includes: a rechargeable battery BT1 (voltage value is generally 12V); a voltage stabilizing chip U2 (specific model may be K7805) for converting the voltage of the rechargeable battery BT1 to a target voltage (voltage value is generally 5V) for supplying the control circuit 20, the data acquisition circuit 30, and the display circuit 40 respectively; and a diode D1 (specific model may be In5819), and the positive electrode of the diode D1 is connected to the input end of the voltage stabilizing chip, and the negative electrode of the diode D1 is connected to the output end Vout (i.e., pin 3) of the voltage stabilizing chip U2. Among them, the input end Vin (i.e., pin 1) of the voltage stabilizing chip U2 is connected to the rechargeable battery BT1, and the ground end GND (i.e., pin 2) of the voltage stabilizing chip U2 is grounded. The positive pole of the rechargeable battery BT1 is connected to a selection switch S1 (specifically, the model may be SW_SPDT). When the contact 2 of the selection switch S1 is connected to the contact 3, the rechargeable battery BT1 is disconnected from the voltage stabilizing chip U2; when the contact 2 of the selection switch S1 is connected to the contact 1, the rechargeable battery BT1 is connected to the voltage stabilizing chip U2, and the rechargeable battery BT1 supplies power to the voltage stabilizing chip U2. When S1 is turned on, that is, when the contact 2 of the selection switch S1 is connected to the contact 1, the control circuit 20 starts to work. At this time, the working status of the control circuit 20 can be displayed through the display circuit 40, such as displaying "Welcome to use", etc., which indicates that the sensor query device 100 is already in standby mode.

[0054] Combination Figure 3 and Figure 4 To illustrate, the control circuit 20 includes: a control chip U1 (the model of the chip can be STC89C52RC); a reset circuit 201 connected to the reset end (i.e., pin 4) of the control chip U1, the reset circuit 201 is composed of a reset button S2 and a capacitor C1 connected in parallel with the reset button S2; a clock circuit 202 composed of a quartz crystal oscillator Y1 and two resonant capacitors (capacitor C2 and capacitor C3), and the clock circuit 202 is connected to the control chip U1 (with pins 14 and 15 of the control chip U1) through the two ends of the quartz crystal oscillator Y1. Among them, the reset end (i.e., pin 4) of the control chip U1 is connected to a grounded current limiting resistor R2. The capacitor C1 is an electrolytic capacitor, and the positive electrode of the capacitor C1 is connected to the output end (i.e., pin 3) of the voltage stabilizing chip U2, and the negative electrode of the capacitor C1 is connected to the reset end of the control chip U1.

[0055] like Figure 5As shown, the control circuit 20 also includes: a control button S3 connected to the control chip U1, and a button signal is generated when the control button S3 is pressed, so that the control chip U1 sends a control instruction to the data acquisition circuit 30 based on the button signal. At this time, the target input described in the above embodiment can be equivalent to the button signal generated when the control button S3 is pressed in this embodiment. When the control button S3 is pressed, the control chip U1 can control the data acquisition circuit 30 to query the address code (i.e., address information) of the sensor device to be queried through a preset program. Among them, one end of the control button S3 is connected to the pin 18 of the control chip U1, and the other end of the control button S3 is grounded.

[0056] Of course, if Figure 1 As shown, the sensor query device 100 of the embodiment of the present invention may include: a remote control terminal 60 connected to the control circuit 20 for sending a target input instruction to the control circuit 20, so as to control the control circuit 20 to control the data acquisition circuit 30 to collect the address information of the sensor device 200 based on the target input instruction. In this way, the user can control the control circuit 20 by remote control, so as to control the data acquisition circuit 30 to collect the address information of the sensor device 200 through the control circuit 20.

[0057] like Figure 6As shown, the data acquisition circuit 30 includes: a communication chip U3 (specifically, the model may be SP3485EN), ​​the communication chip U3 includes a data acquisition receiving end (i.e., pin 7), a data acquisition sending end (i.e., pin 6), a data control receiving end (i.e., pin 1), and a data control sending end (i.e., pin 4); a first current limiting resistor R4 connected to the data acquisition receiving end (i.e., pin 7), wherein one end of the first current limiting resistor R4 is connected to the data acquisition receiving end (i.e., pin 7), the other end of the first current limiting resistor R4 is grounded, and a capacitor C4 is connected in series between the other end of the first current limiting resistor R4 and the power supply end (i.e., pin 8) of the communication chip U3; and a first current limiting resistor R4 connected to the data acquisition sending end (i.e., pin 7). The control circuit 20 is connected to the data acquisition circuit 30 through the data control receiving end (i.e., pin 1) and the data control sending end (i.e., pin 4). The control circuit 20 is connected to the data acquisition circuit 30 through the data control receiving end (i.e., pin 1) and the data control sending end (i.e., pin 4). The data control receiving end (i.e., pin 1) of the communication chip U3 is connected to the pin 5 of the control chip U1, and the data control sending end (i.e., pin 4) of the communication chip U3 is connected to the pin 7 of the control chip U1. In addition, pin 2 and pin 3 of the communication chip U3 are connected, and pin 2 and pin 3 of the communication chip U3 are connected to pin 19 of the control chip U1, and pin 5 of the communication chip U3 is grounded.

[0058] like Figure 7 As shown, the data connection circuit 50 is a data connection terminal H1, the power supply terminal VCC of the data connection terminal H1 is connected to the rechargeable battery BT1, the ground terminal of the data connection terminal H1 is grounded, the data receiving terminal RXD of the data connection terminal H1 is connected to the data acquisition receiving terminal (i.e., pin 7) of the communication chip U3, and the data sending terminal TXD of the data connection terminal H1 is connected to the data acquisition sending terminal (i.e., pin 6) of the communication chip U3.

[0059] like Figure 8As shown, the display circuit 40 includes: a display chip P1 (specifically, a 1602 liquid crystal display screen); and a sliding rheostat R1 connected to the display chip P1. One end of the sliding rheostat R1 is connected to pin 2 of the display chip P1, and pin 2 of the display chip P1 is connected to the output end (i.e., pin 3) of the voltage stabilizing chip U2, and the other end of the sliding rheostat R1 is grounded, wherein the sliding end of the sliding rheostat R1 is connected to pin 3 of the display chip P1. Pins 4 to 6 of the display chip P1 are respectively connected to pins 40 to 42 of the control chip U1, pins 7 to 10 of the display chip P1 are respectively connected to pins 34 to 37 of the control chip U1, and pins 11 to 14 of the display chip P1 are respectively connected to pins 33 to 30 of the control chip U1. Pins 1 and 16 of the display chip P1 are respectively grounded, and pin 15 of the display chip P1 is connected to the output end (i.e., pin 3) of the voltage stabilizing chip U2.

[0060] In this way, after acquiring the address information of the sensor device 200, the control circuit 20 sends the queried address information of the sensor device 200 to the display circuit 40 through parsing, and drives the display circuit 40 to display the address information of the sensor device 200 to the user (for example, The address is xx). In addition, when the sliding end of the sliding rheostat R1 is adjusted, the display brightness of the display chip P1 can be changed. As a result, the user can quickly debug or replace the sensor device according to the address information displayed by the display chip P1, thereby solving the problem in the prior art that the operation process of querying the address of the sensor device by combining a computer with a driver installed and a data manual of the sensor device is cumbersome and the usage scenario is limited.

[0061] In addition, the sensor query device 100 of the embodiment of the present invention may further include: a reminder unit 70 connected to the control circuit 20, which is used to remind the user when the data acquisition circuit 30 feeds back the collected address information of the sensor device 200 to the control circuit 20. The reminder unit 70 may be composed of a warning light and / or a buzzer, and timely feeds back the status of the queried address information of the sensor device 200 to the user through the control circuit 20, thereby improving the efficiency of querying the address of the sensor device.

[0062] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. Any equivalent implementation methods or changes that do not deviate from the technical spirit of the present invention should be included in the scope of protection of the present invention.

[0063] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

[0064] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A sensor query device, characterized in that: include: Power supply circuit; A data acquisition circuit connected to the power supply circuit, used to receive control instructions to acquire address information of the sensor device; A control circuit connected to the power supply circuit and in communication with the data acquisition circuit, for sending the control instruction to the data acquisition circuit in response to a target input, so as to control the data acquisition circuit to collect the address information of the sensor device, and obtain the address information of the sensor device based on the data acquisition circuit, wherein the data acquisition circuit comprises: a communication chip, the model of the communication chip is SP3485EN, and the communication chip comprises a data acquisition receiving end, a data acquisition sending end, a data control receiving end, a data control sending end and a power supply end; a first current limiting resistor connected to the data acquisition receiving end, one end of the first current limiting resistor being connected to the data A data acquisition receiving end is connected, the other end of the first current limiting resistor is grounded, and a capacitor C4 is connected in series between the first current limiting resistor and the power supply end of the communication chip; a second current limiting resistor is connected to the data acquisition sending end, one end of the second current limiting resistor is connected to the data acquisition sending end, and the other end of the second current limiting resistor is connected to the output end Vout of the voltage stabilizing chip; a third current limiting resistor is connected to the data control receiving end, one end of the third current limiting resistor is connected to the data control receiving end of the communication chip and the control chip in the control circuit, and the other end of the third current limiting resistor is connected to the power supply end of the communication chip, and the power supply end of the communication chip is connected to the output end of the voltage stabilizing chip; Wherein, the control circuit is communicatively connected with the data acquisition circuit via the data control receiving end and the data control sending end; A display circuit connected to the power supply circuit and in communication with the control circuit is used to display status information of the control circuit and address information of the sensor device to a user.

2. The sensor query device according to claim 1, characterized in that: Also includes: A data connection circuit is used to connect the sensor device, and the data acquisition circuit is communicatively connected with the sensor device through the data connection circuit.

3. The sensor query device according to claim 1, characterized in that: The control circuit comprises: Control chip; A control button connected to the control chip generates a key signal when the control button is pressed, so that the control chip sends the control instruction to the data acquisition circuit based on the key signal.

4. The sensor query device according to claim 3, characterized in that: The control circuit further comprises: A reset circuit connected to the reset terminal of the control chip, the reset circuit is composed of a reset button and a capacitor connected in parallel with the reset button, wherein the reset terminal of the control chip is connected to a grounded current limiting resistor.

5. The sensor query device according to claim 3, characterized in that: The control circuit further comprises: A clock circuit composed of a quartz crystal oscillator and two resonant capacitors, wherein the clock circuit is connected to the control chip through two ends of the quartz crystal oscillator.

6. The sensor query device according to claim 1, characterized in that: The power supply circuit comprises: Rechargeable batteries; a voltage stabilizing chip for converting the voltage of the rechargeable battery into a target voltage for supplying the control circuit, the data acquisition circuit, and the display circuit with voltage, wherein the input end of the voltage stabilizing chip is connected to the rechargeable battery; and A diode, wherein the anode of the diode is connected to the input end of the voltage stabilizing chip, and the cathode of the diode is connected to the output end of the voltage stabilizing chip.

7. The sensor query device according to claim 1, characterized in that: The display circuit comprises: Display chip; and A sliding resistor connected to the display chip and used to adjust the display brightness of the display chip.

8. The sensor query device according to claim 1, characterized in that: Also includes: The remote control terminal in communication with the control circuit is used to send the target input instruction to the control circuit, so as to control the control circuit to control the data acquisition circuit to collect the address information of the sensor device based on the target input instruction.

9. The sensor query device according to claim 1, characterized in that: Also includes: The reminder unit connected to the control circuit is used to remind the user when the data acquisition circuit feeds back the address information of the acquired sensor device to the control unit.

Citation Information

Patent Citations

  • Sensor query device

    CN211857461U