Portable debugging micro Bluetooth measurement and control relay integrated device
Through the integrated device of portable micro Bluetooth measurement and control relay, the circuit measurement and remote control are used to use relays, microcontrollers and Bluetooth communication modules to perform circuit measurement and remote control, solving the problems of high risk and complex operation in circuit debugging, and achieving convenient and efficient multi-channel voltage measurement and protection control.
Patent Information
- Application Number
- CN201811128400.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-09-27
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2038-09-27
AI Technical Summary
During the circuit debugging process, local circuits with high risk, difficult to operate at a location and small space are difficult to effectively measure and protect and control. The existing solutions are costly, inconvenient to use and complex operation.
A portable micro Bluetooth measurement and control relay integrated device is designed, including a relay, a microcontroller measurement control module, a relay driving circuit module and a Bluetooth communication module. The voltage measurement is performed through the sampling voltage divider network, and remote monitoring and control is performed using a smartphone.
It realizes convenient operation of small size, multi-channel voltage measurement and protection control functions, solves the problems of temporary measurement and protection control of hazardous circuits, and reduces cost and operation complexity.
Smart Images

Figure CN108957115B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a portable measurement and control device, and more particularly to a portable debugging miniature Bluetooth measurement and control relay integrated device. Background Art
[0002] During circuit debugging and new product trial production, it is often necessary to measure or install temporary protection control measures on local circuits with certain risks inside the test device, for example: local circuits with higher voltage after the device under test is powered on; the circuit under test is in a position that is difficult for the debugger to operate, such as a high place; the space around the circuit under test is small and a multimeter or other large instruments cannot be used. In the past, large and complex equipment with high insulation levels was used; or the target circuit was stepped down to simulate debugging and operation; or the casing of the device under test was destroyed; or more complex protection devices were temporarily installed. However, these practices have the disadvantages of high cost, inconvenience in use, and complex operation. It is urgent to develop a miniature protection measurement and control device with small size, multi-channel measurement and protection control functions, and support for remote monitoring by operators. Summary of the invention
[0003] In order to solve the above problems, the present invention proposes a portable debugging miniature Bluetooth measurement and control relay integrated device, which solves the technical problems of difficulty in operation for debugging personnel during the product testing process, high cost, inconvenience in use, and complex operation.
[0004] In order to achieve the above-mentioned purpose, the present invention provides a portable debugging miniature Bluetooth measurement and control relay integrated device, including a relay whose normally closed contacts are connected in series to the power supply end of the device to be measured and controlled, and a single-chip microcomputer measurement and control module and a relay drive circuit module connected to the outside of the relay, the single-chip microcomputer measurement and control module including a single-chip microcomputer, a standard voltage source and a sampling voltage-dividing resistor network; the voltage input end of the sampling voltage-dividing resistor network is connected to the voltage measurement point of the circuit to be measured, the voltage output end of the sampling voltage-dividing resistor network is connected to the single-chip microcomputer, and a voltage measurement signal is transmitted to the single-chip microcomputer.
[0005] The standard voltage source is connected to the single chip microcomputer and sends a standard voltage signal to the single chip microcomputer. The single chip microcomputer compares the voltage measurement signal with the standard voltage signal and sends a relay execution action trigger signal to the relay drive circuit module according to the comparison result.
[0006] The relay driving circuit module is connected to the excitation coil pin of the relay, and the relay driving circuit module supplies power to the excitation coil of the relay after receiving the trigger signal for executing the action of the relay.
[0007] A Bluetooth communication module is also provided on the outside of the relay, and a Bluetooth serial port chip is provided inside the Bluetooth communication module. The serial port pin of the Bluetooth serial port chip is connected to the serial port pin of the single-chip microcomputer; the Bluetooth communication module is connected to the debugger's smartphone for communication, and sends real-time voltage measurement data to the debugger's smartphone according to instructions issued by the debugger's smartphone.
[0008] In the above-mentioned portable debugging integrated micro Bluetooth measurement and control relay device, in a preferred manner, the sampling voltage-dividing resistor network is composed of multiple voltage-dividing resistors, and one end of every two resistors connected in series is respectively connected to each voltage measurement point of the circuit to be measured, and the other end is connected to the ground terminal; the middle connection point of every two series resistors is respectively connected to the signal input port of the microcontroller.
[0009] In the above-mentioned portable debugging integrated micro Bluetooth measurement and control relay device, in a preferred manner, the resistance values of the voltage-dividing resistors connected to the voltage measurement points of the circuit to be measured among the multiple voltage-dividing resistors are all the same, that is, 1MΩ; the resistance values of the voltage-dividing resistors connected to the ground terminal are all the same, that is, 100KΩ.
[0010] In the above-mentioned portable debugging integrated micro Bluetooth measurement and control relay device, in a preferred manner, the outside of the relay is also provided with a relay drive power supply module for powering the relay drive circuit module, and a single-chip microcomputer power supply module for powering the single-chip microcomputer measurement and control module.
[0011] In the above-mentioned portable debugging micro Bluetooth measurement and control relay integrated device, in a preferred manner, the Bluetooth communication module also includes a working indicator light, a current limiting resistor, and a second wiring terminal; the serial port pin of the Bluetooth serial port chip is connected to the serial port of the single-chip microcomputer through the second wiring terminal, an IO port of the Bluetooth serial port chip is connected to one end of the working indicator light, the other end of the working indicator light is connected to one end of the current limiting resistor, the other end of the current limiting resistor is connected to the ground terminal of the second wiring terminal, the Gnd pin of the Bluetooth serial port chip is connected to the external wiring module through the ground terminal of the second wiring terminal, and the Vcc pin of the Bluetooth serial port chip is connected to the positive power supply of the single-chip microcomputer power module through the V2+ terminal of the second wiring terminal.
[0012] The above-mentioned portable debugging micro-Bluetooth measurement and control relay integrated device, in a preferred manner, the relay drive circuit module is composed of a control transistor, a relay drive transistor, 4 current limiting resistors, and a third terminal; wherein the 4 current limiting resistors are respectively: a third current limiting resistor, with a resistance of 1KΩ; a fourth current limiting resistor, with a resistance of 10KΩ, a fifth current limiting resistor, with a resistance of 100KΩ; a sixth current limiting resistor, with a resistance of 200Ω;
[0013] The base of the control transistor is connected to one end of the third current limiting resistor, and the other end of the third current limiting resistor is connected to the IO0 port of the single-chip microcomputer in the single-chip microcomputer measurement control module through the third wiring terminal. The collector of the control transistor is connected to one end of the fourth current limiting resistor, and the other end of the fourth current limiting resistor is connected to the positive power supply of the relay driving power supply module through the V1+ terminal of the third wiring terminal. The emitter of the control transistor is simultaneously connected to the base of the relay driving transistor and one end of the fifth current limiting resistor, and the other end of the fifth current limiting resistor is connected to the third wiring terminal. The collector of the relay driving transistor is connected to a pin of the relay excitation coil, and the other pin of the relay excitation coil is connected to the positive power supply of the relay driving power supply module through the third wiring terminal. The emitter of the relay driving transistor is simultaneously connected to one end of the sixth current limiting resistor and one end of a pair of normally closed contacts of the relay, and the other end of the sixth current limiting resistor and the other end of the normally closed contact of the relay are connected in parallel to the ground terminal of the third wiring terminal, and the ground terminal of the third wiring terminal is connected to the ground terminal of the external wiring module.
[0014] The advantages of the present invention are that it is compact and can provide multi-channel voltage simultaneous measurement and protection control functions. The debugger can remotely monitor the device through a smart phone. The device is easy to use and has strong adaptability. It solves the problem of difficulty in temporary measurement and protection control of local circuits with certain risks that technicians often encounter. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a schematic diagram of the arrangement positions of various components of the present invention;
[0016] Figure 2 It is a circuit schematic diagram of the single-chip microcomputer measurement control module in the present invention;
[0017] Figure 3 It is a circuit schematic diagram of the sampling voltage-dividing resistor network in the present invention;
[0018] Figure 4 is a circuit schematic diagram of the Bluetooth communication module in the present invention;
[0019] Figure 5 is a circuit schematic diagram of the relay drive circuit module in the present invention;
[0020] Figure 6 It is a circuit schematic diagram of the relay drive power module in the present invention;
[0021] Figure 7 It is a circuit schematic diagram of the single-chip microcomputer power supply module in the present invention;
[0022] Figure 8 It is a circuit schematic diagram of the external wiring module in the present invention. DETAILED DESCRIPTION
[0023] Embodiment 1:
[0024] Depend on Figure 1 As shown, the present invention is a portable debugging miniature Bluetooth measurement and control relay integrated device, including a relay JD1 whose normally closed contacts are connected in series to the power supply end of the device to be measured and controlled, and a single-chip microcomputer measurement and control module 1 and a relay drive circuit module 3 connected to the outside of the relay JD1.
[0025] like Figure 2 As shown, the single-chip microcomputer measurement control module 1 includes a single-chip microcomputer IC1, a standard voltage source IC2 and a sampling voltage-dividing resistor network 1a; the voltage input end of the sampling voltage-dividing resistor network 1a is connected to the voltage measurement point of the circuit to be measured, and the voltage output end of the sampling voltage-dividing resistor network 1a is connected to the single-chip microcomputer IC1, and transmits a voltage measurement signal to the single-chip microcomputer IC1.
[0026] The standard voltage source IC2 is connected to the single-chip microcomputer IC1 and sends a standard voltage signal to the single-chip microcomputer IC1. The single-chip microcomputer IC1 compares the voltage measurement signal with the standard voltage signal and sends a relay execution action trigger signal to the relay drive circuit module 3 according to the comparison result.
[0027] The relay driving circuit module 3 is connected to the excitation coil pin of the relay JD1 . After receiving the relay execution action trigger signal, the relay driving circuit module 3 supplies power to the excitation coil of the relay JD1 .
[0028] The outside of the relay JD1 is also provided with a Bluetooth communication module 2, such as Figure 4 As shown, the Bluetooth communication module 2 is internally provided with a Bluetooth serial port chip IC3, and the serial port pin of the Bluetooth serial port chip IC3 is connected to the serial port pin of the single-chip computer IC1; the Bluetooth communication module 2 is connected to the debugger's smartphone for communication, and sends real-time voltage measurement data to the debugger's smartphone according to the instructions issued by the debugger's smartphone.
[0029] The outside of the relay JD1 is also provided with a relay driving power supply module 4 for supplying power to the relay driving circuit module 3 , and a single-chip microcomputer power supply module 5 for supplying power to the single-chip microcomputer measurement and control module 1 .
[0030] like Figure 5As shown, the sampling voltage-dividing resistor network 1a is composed of multiple voltage-dividing resistors, and one end of every two resistors connected in series is respectively connected to each voltage measurement point of the circuit to be measured, and the other end is connected to the ground terminal; the middle connection point of every two series resistors is respectively connected to the signal input port of the microcontroller IC1.
[0031] The resistance values of the voltage-dividing resistors connected to the voltage measurement points of the circuit to be measured are all the same, that is, 1 MΩ; the resistance values of the voltage-dividing resistors connected to the ground terminal are all the same, that is, 100 KΩ.
[0032] Embodiment 2:
[0033] like Figures 1 to 8 As shown, the present invention is a portable debugging miniature Bluetooth measurement and control relay integrated device, which consists of a rectangular relay JD1, a single-chip measurement and control module 1, a Bluetooth communication module 2, a relay drive circuit module 3, a relay drive power module 4, a single-chip power module 5, and an external wiring module 6. Relay JD1 selects a (16x 16x 18) mm rectangular ordinary electromagnetic relay, the excitation control voltage is 5V, the maximum contact working voltage is 250V, and the maximum working current is 10A.
[0034] like Figure 1 As shown, the single-chip microcomputer measurement control module 1, Bluetooth communication module 2, relay drive circuit module 3, relay drive power module 4, single-chip microcomputer power module 5, and external wiring module 6 are respectively installed on the front side, top, left side, rear side, right side, and bottom of the relay JD1. The circuit board sizes of the single-chip microcomputer measurement control module 1, Bluetooth communication module 2, relay drive circuit module 3, relay drive power module 4, single-chip microcomputer power module 5, and external wiring module 6 match the surface area of the corresponding installation location of the relay JD1. Except that the external wiring module 6 and the bottom pins of the relay JD1 are connected by welding, the other modules are installed on the side or top surface of the relay JD1 by attaching.
[0035] like Figure 2 As shown, the single-chip microcomputer measurement control module 1 is composed of a single-chip microcomputer IC1 with an operating voltage of 3.3V, a standard voltage source IC2 with an output voltage of 2.5V, a sampling voltage-dividing resistor network 1a, and a first wiring terminal J1. An IO pin IO0 of the single-chip microcomputer IC1 is connected to the relay drive circuit module 3 through the first wiring terminal J1 to control the relay JD1; the other multiple IO pins of the single-chip microcomputer IC1 are connected to the external wiring module 6 through the first wiring terminal J1.
[0036] The power pin Vcc of the single-chip microcomputer IC1 is connected to the positive power supply of the single-chip microcomputer power module 5 through the V2+ terminal of the first wiring terminal J1; the ground pin Gnd of the single-chip microcomputer IC1 is connected in parallel with the ground terminal of the standard voltage source IC2 and the ground terminal of the sampling voltage-dividing resistor network 1a, and then connected to the external wiring module 6 through the ground terminal of the first wiring terminal J1. The serial port pins (Rx, Tx) of the single-chip microcomputer IC1 are connected to the Bluetooth communication module 2 through the first wiring terminal J1; the single-chip microcomputer IC1 transmits the measured data to the APP software on the debugger's smart phone through the Bluetooth communication module 2, and the single-chip microcomputer IC1 can receive the operation instructions sent by the debugger through the wireless Bluetooth to set the set value of the relay JD1 action.
[0037] like Figure 3 As shown, the sampling voltage-dividing resistor network 1a is composed of 6 voltage-dividing resistors, the seventh voltage-dividing resistor R7 and the eighth voltage-dividing resistor R8 are connected in series, the ninth voltage-dividing resistor R9 and the tenth voltage-dividing resistor R10 are connected in series, and the eleventh voltage-dividing resistor R11 and the twelfth voltage-dividing resistor R12 are connected in series. The seventh voltage-dividing resistor R7, the ninth voltage-dividing resistor R9, and the eleventh voltage-dividing resistor R11 are selected as the same resistor with a resistance value of 1MΩ; the eighth voltage-dividing resistor R8, the tenth voltage-dividing resistor R10, and the twelfth voltage-dividing resistor R12 are selected as the same resistor of 100KΩ, and one end of the seventh voltage-dividing resistor R7, the ninth voltage-dividing resistor R9, and the eleventh voltage-dividing resistor R11 are respectively connected to the three wiring terminals of the first wiring terminal J1. On the terminal, the other ends of the seventh voltage-dividing resistor R7, the ninth voltage-dividing resistor R9, and the eleventh voltage-dividing resistor R11 are respectively connected to the AD1, AD2, and AD3 terminals of the single-chip computer IC1; one ends of the eighth voltage-dividing resistor R8, the tenth voltage-dividing resistor R10, and the twelfth voltage-dividing resistor R12 are respectively connected to the AD1, AD2, and AD3 terminals of the single-chip computer IC1, and the other ends of the eighth voltage-dividing resistor R8, the tenth voltage-dividing resistor R10, and the twelfth voltage-dividing resistor R12 are connected in parallel to the ground terminal of the first wiring terminal J1. The single-chip computer IC1 needs to amplify the measured voltage value of each measuring point by 11 times and then compare it with the AD0 standard voltage value to calculate the true value of the voltage at the measuring point.
[0038] like Figure 2 As shown, the reference voltage output of the standard voltage source IC2 is connected to an AD sampling terminal of the single-chip microcomputer IC1 (ie, the AD0 terminal of the single-chip microcomputer IC1).
[0039] like Figure 3As shown, the multiple output ends of the sampling voltage-dividing resistor network 1a are respectively connected to the multiple AD sampling terminals of the single-chip microcomputer IC1 (i.e., the AD1 to AD4 terminals of the single-chip microcomputer IC1) one by one; the input end of the sampling voltage-dividing resistor network 1a is connected to the external wiring module 6 through the first wiring terminal J1; the power pin Vcc of the single-chip microcomputer IC1 is connected to the positive power supply of the single-chip microcomputer power module 5 through the V2+ terminal of the first wiring terminal J1; the ground pin Gnd of the single-chip microcomputer IC1 is connected in parallel with the ground end of the standard voltage source IC2 and the ground end of the sampling voltage-dividing resistor network, and then connected to the external wiring module 6 through the ground terminal of the first wiring terminal J1; the serial port pin of the single-chip microcomputer IC1 is connected to the Bluetooth communication module 2 through the first wiring terminal J1; the single-chip microcomputer IC1 transmits the measurement data to the APP software on the debugger's smart phone through the Bluetooth communication module 2, and the single-chip microcomputer IC1 can also receive the operation command or set value command sent by the debugger through wireless Bluetooth.
[0040] like Figure 4 As shown, the Bluetooth communication module 2 is composed of a Bluetooth serial port chip IC3, a working indicator light LED1, a current limiting resistor R1, and a second wiring terminal J2. The serial port pin of the Bluetooth serial port chip IC3 is connected to the serial port of the single-chip microcomputer IC1 of the single-chip microcomputer measurement and control module through the second wiring terminal J2. An IO port of the Bluetooth serial port chip IC3 is connected to one end of the working indicator light LED1, and the other end of the working indicator light LED1 is connected to one end of the current limiting resistor R1. The other end of the current limiting resistor R1 is connected to the ground terminal of the second wiring terminal J2. The Gnd pin of the Bluetooth serial port chip IC3 is connected to the external wiring module 6 through the ground terminal of the second wiring terminal J2. The Vcc pin of the Bluetooth serial port chip IC3 is connected to the positive power supply of the single-chip microcomputer power supply module 5 through the V2+ terminal of the second wiring terminal J2. The Bluetooth communication module 2 serves as a Bluetooth communication interface between the device and the debugger's smart phone dedicated APP software.
[0041] like Figure 5 As shown, the relay drive circuit module 3 is composed of a control transistor QT1, a relay drive transistor QT2, four current limiting resistors, and a third terminal J3; wherein the four current limiting resistors are: a third current limiting resistor R3, with a resistance of 1KΩ; a fourth current limiting resistor R4, with a resistance of 10KΩ; a fifth current limiting resistor R5, with a resistance of 100KΩ; and a sixth current limiting resistor R6, with a resistance of 200Ω.
[0042] The base of the control transistor QT1 is connected to one end of the third current limiting resistor R3, and the other end of the third current limiting resistor R3 is connected to the IO0 port of the single-chip microcomputer IC1 in the single-chip microcomputer measurement control module 1 through the third wiring terminal J3. The collector of the control transistor QT1 is connected to one end of the fourth current limiting resistor R4, and the other end of the fourth current limiting resistor R4 is connected to the positive power supply of the relay drive power supply module 4 through the V1+ terminal of the third wiring terminal J3. The emitter of the control transistor QT1 is simultaneously connected to the base of the relay drive transistor QT2 and one end of the fifth current limiting resistor R5. The other end of the fifth current limiting resistor R5 is connected to the ground terminal of the third wiring terminal J3. The collector of QT2 is connected to one pin of the excitation coil of the relay JD1 (the xq terminal of the third terminal J3), and the other pin of the excitation coil of the relay JD1 is connected to the positive power supply of the relay driving power module 4 through the third terminal J3. The emitter of the relay driving transistor QT2 is simultaneously connected to one end of the sixth current limiting resistor R6 and one end of a pair of normally closed contacts of the relay JD1 (through the cb terminal of the third terminal J3), and the other end of the sixth current limiting resistor R6 and the other end of the normally closed contact of the relay JD1 are connected in parallel to the ground terminal of the third terminal J3, and the ground terminal of the third terminal J3 is connected to the ground terminal of the external wiring module 6.
[0043] When the IO0 port of the single-chip computer IC1 outputs a high level, the control transistor QT1 is turned on, and then the relay driving transistor QT2 is turned on, the relay JD1 is energized, the normally open contact of the relay JD1 is closed, and the normally closed contact is disconnected. At this time, the sixth current limiting resistor R6 is connected to the excitation circuit of the relay JD1 for current limiting, so as to reduce the power energy consumption of the relay driving power module 4, thereby extending the action holding time of the relay JD1, so that the debugging personnel have enough time to react and disconnect the working power supply of the device under test when operating under abnormal conditions.
[0044] like Figure 6 As shown, the relay drive power supply module 4 is composed of a first lithium battery P1 and a fourth terminal J4. The positive electrode of the first lithium battery P1 is connected to the V1+ terminal of the relay drive circuit module 3 through the fourth terminal J4, and the negative electrode of the first lithium battery P1 is connected to the ground terminal of the external wiring module 6 through the fourth terminal J4. The first lithium battery P1 provides control power for the relay drive circuit module 3.
[0045] like Figure 7As shown, the single-chip microcomputer power supply module 5 is composed of a second lithium battery P2 and a fifth terminal J5. The positive electrode of the second lithium battery P2 is connected to the V2+ terminal of the single-chip microcomputer measurement and control module 1 and the Bluetooth communication module 2 through the fifth terminal J5, and the negative electrode of the second lithium battery P2 is connected to the ground terminal of the external wiring module 6 through the J5. The second lithium battery P2 provides working power for the single-chip microcomputer measurement and control module 1 and the Bluetooth communication module 2.
[0046] like Figure 8 As shown, the external wiring module 6 is composed of an external wiring socket J7 and a sixth wiring terminal J6. The external wiring socket J7 has multiple measurement access terminals, 1 ground terminal, multiple IO output terminals, and 1 normally open contact output terminal ck of the relay JD1. The external wiring socket J7 is used to connect external wiring cables, and the common end of the normally open contact and the normally closed contact of the relay JD1 is connected to the ground terminal of the sixth wiring terminal J6.
[0047] The ground terminal of the sixth wiring terminal J6 is also connected to the ground terminal of the external wiring socket J7, and the ground terminal of the sixth wiring terminal J6 is also connected to the ground terminals of the single-chip microcomputer measurement control module 1, the Bluetooth communication module 2, the electrical drive circuit module 3, the relay drive power supply module 4, and the single-chip microcomputer power supply module 5. The multiple measurement access terminals of the external wiring socket J7 are connected one by one with the multiple input terminals of the sampling voltage-dividing resistor network 1a of the single-chip microcomputer measurement control module 1 through the sixth wiring terminal J6, and the multiple IO output terminals of the external wiring socket J7 are connected through The sixth terminal J6 is connected one by one to multiple IO output terminals of the single-chip measurement and control module 1, the normally open contact output terminal ck of the relay JD1 on the external wiring socket J7 is directly connected to the non-common end pins of a pair of normally open contacts of the relay JD1, the non-common end pins of a pair of normally closed contacts of the relay JD1 are connected to the relay drive circuit module 3 through the sixth terminal J6, and the two pins of the excitation coil of the relay JD1 on the external wiring socket J7 are connected to the relay drive circuit module 3 through the sixth terminal J6.
[0048] When the present invention is applied, it is first necessary to determine the position of the normally open contact of the relay JD1 that needs to be connected in series in the local circuit of the target test device, wherein the low-potential series point is connected to the ground terminal of the external wiring socket J7 of the external wiring module 6 through an external cable, and the high-potential series point is connected to the ck terminal of the external wiring socket J7 of the external wiring module 6 through an external cable, and the maximum voltage difference between the two points and the maximum current flowing through cannot exceed the maximum withstand voltage (250V) and current of the relay JD1; secondly, it is necessary to determine the voltage measurement point of the important components that need to be protected in the target device, and connect this measurement point to the first measurement access terminal of the external wiring socket J7 of the external wiring module 6 through an external cable, and the other measurement points of the circuit to be tested are connected to the other measurement access terminals of the external wiring socket J7 of the external wiring module 6 one by one through external cables. Subsequently, after the debugger turns on the power of the portable debugging miniature Bluetooth measurement and control relay integrated device of the present invention, the device can be connected through the dedicated APP software on the smart phone, and the measurement data sent by the device can be received and displayed remotely, and the action value of the JD1 can be set. After the target device is powered on, if the debugger finds an abnormal situation in the test circuit, he can send a command to the device to disconnect the circuit at any time, or the device can automatically disconnect the circuit. The debugger then approaches the target device to operate, disconnects the working power of the target test device, and proceeds to the next step of debugging.
[0049] The present invention is compact in size and can provide multi-channel voltage simultaneous measurement and protection control functions. The debugger can remotely monitor the device through a smart phone. The device is easy to use and has strong adaptability. It solves the problem of difficulty in temporary measurement and protection control of local circuits with certain risks that technicians often encounter.
[0050] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A portable debugging miniature Bluetooth measurement and control relay integrated device, comprising a relay (JD1) whose normally closed contacts are connected in series to the power supply end of the device to be measured and controlled, and a single-chip microcomputer measurement and control module (1) and a relay drive circuit module (3) connected to the outside of the relay (JD1), characterized in that: The single-chip microcomputer measurement control module (1) comprises a single-chip microcomputer (IC1), a standard voltage source (IC2) and a sampling voltage-dividing resistor network (1a); a voltage input end of the sampling voltage-dividing resistor network (1a) is connected to a voltage measurement point of a circuit to be measured, a voltage output end of the sampling voltage-dividing resistor network (1a) is connected to the single-chip microcomputer (IC1), and a voltage measurement signal is transmitted to the single-chip microcomputer (IC1); The standard voltage source (IC2) is connected to the single-chip computer (IC1) and sends a standard voltage signal to the single-chip computer (IC1); the single-chip computer (IC1) compares the voltage measurement signal with the standard voltage signal and sends a relay execution action trigger signal to the relay drive circuit module (3) according to the comparison result; The relay drive circuit module (3) is connected to the excitation coil pin of the relay (JD1), and the relay drive circuit module (3) supplies power to the excitation coil of the relay (JD1) after receiving the relay execution action trigger signal; The relay (JD1) is also provided with a Bluetooth communication module (2) on the outside, and a Bluetooth serial port chip (IC3) is provided on the inside of the Bluetooth communication module (2), and the serial port pin of the Bluetooth serial port chip (IC3) is connected to the serial port pin of the single-chip computer (IC1); the Bluetooth communication module (2) is connected to the debugger's smart phone for communication, and sends real-time voltage measurement data to the debugger's smart phone according to instructions issued by the debugger's smart phone; The sampling voltage-dividing resistor network (1a) is composed of a plurality of voltage-dividing resistors, wherein one end of each two resistors connected in series is respectively connected to each voltage measurement point of the circuit to be measured, and the other end is connected to the ground terminal; the middle connection point of each two series resistors is respectively connected to the signal input port of the single-chip computer (IC1); The resistance values of the voltage-dividing resistors connected to the voltage measurement points of the circuit to be measured are all the same, that is, 1 MΩ; the resistance values of the voltage-dividing resistors connected to the ground terminal are all the same, that is, 100 KΩ; The relay (JD1) is also provided with a relay drive power supply module (4) for supplying power to the relay drive circuit module (3), and a single-chip microcomputer power supply module (5) for supplying power to the single-chip microcomputer measurement control module (1); The Bluetooth communication module (2) further comprises a working indicator light (LED1), a current limiting resistor (R1), and a second wiring terminal (J2); a serial port pin of the Bluetooth serial port chip (IC3) is connected to the serial port of the single-chip computer (IC1) via the second wiring terminal (J2); an IO port of the Bluetooth serial port chip (IC3) is connected to one end of the working indicator light (LED1); the other end of the working indicator light (LED1) is connected to one end of the current limiting resistor (R1); the other end of the current limiting resistor (R1) is connected to a ground terminal of the second wiring terminal (J2); a Gnd pin of the Bluetooth serial port chip (IC3) is connected to an external wiring module (6) via the ground terminal of the second wiring terminal (J2); and a Vcc pin of the Bluetooth serial port chip (IC3) is connected to the positive power supply electrode of the single-chip computer power supply module (5) via the V2+ terminal of the second wiring terminal (J2); The relay drive circuit module (3) is composed of a control transistor (QT1), a relay drive transistor (QT2), four current limiting resistors, and a third wiring terminal (J3); wherein the four current limiting resistors are: a third current limiting resistor (R3) having a resistance of 1KΩ; a fourth current limiting resistor (R4) having a resistance of 10KΩ; a fifth current limiting resistor (R5) having a resistance of 100KΩ; and a sixth current limiting resistor (R6) having a resistance of 200Ω; The base of the control transistor (QT1) is connected to one end of the third current limiting resistor (R3), the other end of the third current limiting resistor (R3) is connected to the IO0 port of the single-chip microcomputer (IC1) in the single-chip microcomputer measurement control module (1) through the third wiring terminal (J3), the collector of the control transistor (QT1) is connected to one end of the fourth current limiting resistor (R4), the other end of the fourth current limiting resistor (R4) is connected to the positive power supply of the relay drive power supply module (4) through the V1+ terminal of the third wiring terminal (J3), the emitter of the control transistor (QT1) is simultaneously connected to the base of the relay drive transistor (QT2) and one end of the fifth current limiting resistor (R5), the other end of the fifth current limiting resistor (R5) is connected to the ground terminal of the third wiring terminal (J3), and the The collector of the relay driving transistor (QT2) is connected to a pin of the excitation coil of the relay (JD1), and the other pin of the excitation coil of the relay (JD1) is connected to the positive power supply of the relay driving power supply module (4) through the third wiring terminal (J3). The emitter of the relay driving transistor (QT2) is simultaneously connected to one end of a sixth current limiting resistor (R6) and one end of a pair of normally closed contacts of the relay (JD1). The other end of the sixth current limiting resistor (R6) and the other end of the normally closed contact of the relay (JD1) are connected in parallel and then connected to the ground terminal of the third wiring terminal (J3). The ground terminal of the third wiring terminal (J3) is connected to the ground terminal of the external wiring module (6), and the external wiring module (6) is welded to the bottom pin of the relay (JD1).
Citation Information
Patent Citations
Wireless intelligent socket
CN207651746U
Portable miniature Bluetooth measurement and control relay integrated device for debugging
CN208953613U