Device number detection system and device management system
By using a constant voltage unit and a voltage divider unit in the equipment quantity detection system, and using the first voltage value to detect the number of equipment, the problem of multiple and complex detection interfaces in the prior art is solved, and the effect of simplifying the line structure and improving the detection accuracy is achieved.
Patent Information
- Application Number
- CN202420783091.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-15
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2034-04-15
AI Technical Summary
The existing equipment quantity detection system realizes series number detection of equipment through digital algorithms, resulting in many detection interfaces and complex interface circuits.
The constant voltage unit and the voltage divider unit are adopted to realize the detection of the number of equipment through the first voltage value, reducing the complexity of the detection port number and the interface circuit.
By detecting the number of devices in the first voltage value, the circuit structure of the detection system is simplified, the number of detection ports and the complexity of the interface circuit is reduced, and the detection accuracy is improved.
Smart Images

Figure CN222838435U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of equipment, in particular to an equipment quantity detection system and an equipment management system. Background Art
[0002] In the related art, the existing device quantity detection system realizes the detection of the number of devices connected in series through a digital algorithm, but the detection interfaces in the above system are numerous and the interface circuits are complex. Utility Model Content
[0003] The utility model aims to solve at least one of the technical problems existing in the prior art. To this end, one purpose of the utility model is to provide a device quantity detection system, which can realize device quantity detection through a first voltage value, reducing the number of detection ports and the complexity of the interface circuit.
[0004] A second purpose of the utility model is to provide an equipment management system.
[0005] In order to solve the above problems, the first aspect of the utility model provides a device quantity detection system, including: a constant voltage unit, used to provide a constant voltage; a voltage dividing unit, a first end of the voltage dividing unit is connected to the constant voltage unit, and a second end of the voltage dividing unit is used to connect a device, wherein a first sampling point is provided between the voltage dividing unit and the device; a first sampling unit, the first sampling unit is used to collect a first voltage value at the first sampling point; a control unit, the control unit is connected to the first sampling unit, and is used to determine the number of connected devices according to the first voltage value.
[0006] According to the device quantity detection system of the utility model, based on the circuit connection mode of the device quantity detection system, the device quantity detection is realized by collecting the magnitude of the first voltage value at the first sampling point by the first sampling unit, thereby, compared with the mode of realizing the device series quantity detection by digital algorithm, the device quantity detection is realized by the first voltage value in the present application, which reduces the number of detection ports and the complexity of the interface circuit, and the circuit structure of the device quantity detection system is simple.
[0007] In some embodiments, a second sampling point is provided between the voltage dividing unit and the constant voltage unit, and the device quantity detection system further includes: a second sampling unit, which is used to collect a second voltage value at the second sampling point; and the control unit is also used to determine the number of connected devices based on the ratio of the first voltage value to the second voltage value.
[0008] In some embodiments, the device quantity detection system further includes: a plurality of detection units, a first end of each detection unit is connected to a corresponding device, and a first end of each detection unit is connected to a second end of the voltage divider unit.
[0009] In some embodiments, the detection unit is a resistance detection unit or a capacitance detection unit.
[0010] In some embodiments, the first sampling unit is an I / O sampling unit or an A / D sampling unit.
[0011] In some embodiments, the device quantity detection system further includes: a first filtering unit, a first end of the first filtering unit is connected to the first sampling point, and a second end of the first filtering unit is connected to the first sampling unit.
[0012] In some embodiments, the second sampling unit is an I / O sampling unit or an A / D sampling unit.
[0013] In some embodiments, the device quantity detection system further includes: a second filtering unit, a first end of the second filtering unit is connected to the second sampling point, and a second end of the second filtering unit is connected to the second sampling unit.
[0014] In some embodiments, the constant voltage unit includes: a DC power supply for providing a DC voltage; and a voltage stabilizer, the voltage stabilizer being connected to the DC power supply and being used to stabilize the DC voltage at the constant voltage.
[0015] In some embodiments, the device is a light strip, and a plurality of preset voltage ranges are preset in the control unit, each preset voltage range corresponds to a number of light strips, and the control unit is further used to determine a target preset voltage range in which the first voltage value is located, and determine the number of light strips based on the target preset voltage range.
[0016] The second aspect of the present invention provides a device management system, including: multiple devices; the device quantity detection system described in the above embodiment, wherein the device quantity detection system is connected to the multiple devices and is used to detect the number of connected devices.
[0017] According to the device management system of the present invention, through the device quantity detection system of the above embodiment, the device quantity detection can be implemented through the first voltage value, thereby reducing the number of detection ports and the complexity of the interface circuit.
[0018] Additional aspects and advantages of the present invention will be given in part in the following description, and in part will become apparent from the following description, or will be learned through the practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0020] Figure 1 It is a structural block diagram of a device quantity detection system according to an embodiment of the utility model;
[0021] Figure 2 is a structural block diagram of a device quantity detection system according to another embodiment of the utility model;
[0022] Figure 3 is a schematic diagram of a device quantity detection system according to an embodiment of the utility model;
[0023] Figure 4 is a schematic diagram of the connection between a detection unit and a device according to an embodiment of the utility model;
[0024] Figure 5 is a schematic diagram of a device quantity detection system according to another embodiment of the utility model;
[0025] Figure 6 is a schematic diagram of a device quantity detection system according to another embodiment of the utility model;
[0026] Figure 7 It is a structural block diagram of a device management system according to an embodiment of the utility model.
[0027] Reference numerals:
[0028] Equipment management system 100; Equipment quantity detection system 90;
[0029] Constant voltage unit 1; voltage dividing unit 2; first sampling unit 3; control unit 4; first filtering unit 5; second sampling unit 6; second filtering unit 7; detection unit 8; device 9. DETAILED DESCRIPTION
[0030] The embodiments of the present utility model are described in detail below. The embodiments described with reference to the accompanying drawings are exemplary. The embodiments of the present utility model are described in detail below.
[0031] In order to solve the above problems, the first embodiment of the utility model provides a device quantity detection system, which can realize device quantity detection through a first voltage value, thereby reducing the number of detection ports and the complexity of the interface circuit.
[0032] Reference below Figure 1 The device quantity detection system according to the embodiment of the utility model is described as follows: Figure 1 As shown, the device quantity detection system 90 includes: a constant voltage unit 1, a voltage dividing unit 2, a first sampling unit 3 and a control unit 4.
[0033] Among them, the constant voltage unit 1 is used to provide a constant voltage; the first end of the voltage divider unit 2 is connected to the constant voltage unit 1, and the second end of the voltage divider unit 2 is used to connect to the device 9, wherein a first sampling point is provided between the voltage divider unit 2 and the device 9; the first sampling unit 3 is used to collect a first voltage value at the first sampling point; the control unit 4 is connected to the first sampling unit 3, and is used to determine the number of connected devices according to the first voltage value.
[0034] Specifically, the existing device quantity detection system uses a digital algorithm to detect the number of devices connected in series. However, the detection interfaces in the above system are many and the interface circuit is complex. In order to solve this problem, the control unit 4 in the present application detects the number of devices through the first voltage value at the first sampling point, thereby reducing the number of detection ports and the complexity of the interface circuit. That is to say, since the voltage value of the voltage divider unit 2 changes with the number of devices connected to the voltage divider unit 2, that is, the first voltage values at the first sampling point between the voltage divider unit 2 and the device corresponding to different numbers of devices are different, the device quantity detection is realized by the size of the first voltage value at the first sampling point between the voltage divider unit 2 and the device collected by the first sampling unit 3. For example, the number of devices corresponding to different preset voltage ranges is preset in the device quantity detection system, and the corresponding number of devices is obtained by judging the preset voltage range in which the first voltage value is located. Therefore, compared with the method of realizing the detection of the number of devices connected in series through a digital algorithm, the device quantity detection is realized by the first voltage value at the first sampling point in the present application, which reduces the number of detection ports and the complexity of the interface circuit. In addition, the line structure of the device quantity detection system is simple and is not limited by the number of communication lines. Only one analog line is required to realize the device quantity detection. In addition, the equipment quantity detection system is suitable for the detection of analog quantities, and the latter-level analog quantities are repeated in series or in parallel. The control unit 4 can be a single-chip microcomputer or a microcontroller, and there is no limitation on this.
[0035] In some embodiments, a plurality of preset voltage ranges are preset in the control unit 4, each preset voltage range corresponds to a number of light strips, and the control unit 4 is also used to determine a target preset voltage range in which the first voltage value is located, and determine the number of light strips based on the target preset voltage range.
[0036] Exemplarily, the device may be a light strip, and multiple light strips are connected in series and connected to the voltage divider unit 2, or multiple light strips are connected in parallel and connected to the voltage divider unit 2. Based on the circuit connection mode of the device quantity detection system, the number of light strips corresponding to different preset voltage ranges is preset in the device quantity detection system, for example, the first number of light strips corresponding to the first preset voltage range and the second number of light strips corresponding to the second preset voltage range are pre-stored, and the number of divided preset ranges and the size of the upper and lower limits of the ranges are not limited in this application, and the size of the preset number of light strips is not limited. Therefore, if the first sampling unit 3 collects the first voltage value at the first sampling point in the first preset voltage range, the number of light strips is detected to be the first number of light strips, or if the first sampling unit 3 collects the first voltage value at the first sampling point in the second preset voltage range, the number of light strips is detected to be the second number of light strips. In this way, the detection of the number of light strips is realized, and the number of light strips connected to the voltage divider unit is not limited, and the impact on the appearance is slight.
[0037] According to the device quantity detection system 90 of the present invention, based on the circuit connection mode of the device quantity detection system, the first sampling unit 3 collects the magnitude of the first voltage value at the first sampling point to realize device quantity detection, thereby, compared with the mode of realizing device series quantity detection by digital algorithm, the device quantity detection is realized by the first voltage value in the present application, which reduces the number of detection ports and the complexity of the interface circuit, and the circuit structure of the device quantity detection system is simple.
[0038] In some embodiments, a second sampling point is provided between the voltage dividing unit 2 and the constant voltage unit 1, such as Figure 2 and Figure 3 As shown, the device quantity detection system 90 further includes: a second sampling unit 6. The second sampling unit 6 is used to collect a second voltage value at a second sampling point; the control unit 4 is also used to determine the number of connected devices according to the ratio of the first voltage value to the second voltage value.
[0039] Specifically, the existing device quantity detection system has errors in device quantity detection. In order to solve this problem, the present application implements device quantity detection through the ratio of the first voltage value and the second voltage value, thereby improving the accuracy of device quantity detection. That is to say, since the voltage of the voltage divider unit 2 changes with the change of the number of devices, the line current between the device and the voltage divider unit 2 changes, thereby causing the first voltage value at the first sampling point to change. Therefore, different numbers of devices will cause the ratio of the first voltage value to the second voltage value to change. Based on this, the second sampling unit 6 collects the second voltage value at the second sampling point, that is, the second voltage value collected by the second sampling unit 6 is the constant voltage output by the constant voltage unit 1, so as to obtain the second voltage value of the device quantity detection system. The first sampling unit 3 collects the first voltage value at the first sampling point, the control unit 4 calculates the ratio of the first voltage value to the second voltage value, and then determines the number of connected devices according to the ratio of the first voltage value to the second voltage value. For example, in the device quantity detection system, the preset number of devices corresponding to different preset ratio ranges is pre-set according to the ratio, and the preset ratio range in which the ratio of the first voltage value to the second voltage value is located is determined. The preset number of devices corresponding to the preset range is the number of devices corresponding to the ratio. Therefore, in the present application, the ratio of the first voltage value to the second voltage value is used to realize device quantity detection, thereby reducing the error caused by the constant voltage and current changes in the device quantity detection, and improving the accuracy of device quantity detection.
[0040] In some embodiments, Figure 2 and Figure 3 As shown, the device quantity detection system 90 also includes: multiple detection units 8.
[0041] Among them, Figure 4 As shown, the first end of each detection unit 8 is connected to the corresponding device, and the first end of each detection unit 8 is connected to the second end of the voltage dividing unit 2 .
[0042] Specifically, based on the circuit connection mode of the device quantity detection system, the resistance of multiple detection units 8 will change with the change of the number of devices, thereby causing the line current between the detection unit 8 and the voltage divider unit 2 to change, so that the first voltage value at the first sampling point changes, that is, the resistance of multiple detection units 8 will decrease with the increase of the number of devices, so that the line current between the detection unit 8 and the voltage divider unit 2 increases, thereby causing the first voltage value at the first sampling point to increase, so that different numbers of devices will cause the ratio of the first voltage value to the second voltage value to change, based on this, within different error ranges, in this application, the number of devices is detected by the ratio of the first voltage value to the second voltage value, that is, the number of devices is detected by determining the preset range in which the ratio is located to obtain the number corresponding to the preset range, thereby reducing the error caused by the constant voltage to the number of devices detected, improving the accuracy of the number of devices detected, and the detection unit connected to each device is the same, so there is no need to debug the circuit for each device. In addition, it should be noted that, regardless of whether the devices are connected in series or in parallel, the detection unit corresponding to each device is connected in series between the voltage divider unit and the device to realize the number detection when connected, and the multiple detection units are in parallel with each other.
[0043] In an embodiment, each device connected to each detection unit 8 may be connected in series with multiple devices.
[0044] In some embodiments, Figure 5 and Figure 6 As shown, the detection unit 8 is a resistance detection unit 8 or a capacitance detection unit 8 or other tiny circuits to detect the number of devices. In addition, when different devices are connected in series or in parallel, the capacitance detection units are connected in parallel, and each device has the same capacitance detection unit grounded; when different devices are connected in series or in parallel, the resistance detection units are connected in parallel, and each device has the same resistance detection unit grounded.
[0045] In some embodiments, the first sampling unit 3 is an I / O (Input / Output) sampling unit or an A / D (Analog / Digital) sampling unit.
[0046] In some embodiments, Figure 2 As shown, the device quantity detection system 90 further includes: a first filtering unit 5 .
[0047] The first end of the first filter unit 5 is connected to the first sampling point, and the second end of the first filter unit 5 is connected to the first sampling unit 3. Specifically, the first filter unit 5 filters out interference noise at the first sampling point to improve the detection accuracy of the first sampling unit 3 for the first voltage value and protect the port. In addition, the first filter unit 5 can be an ADC (Analog to Digital Converter) filter circuit or a port protection circuit for improving detection accuracy and protecting the port, which is not limited.
[0048] In some embodiments, the second sampling unit 6 may be an I / O sampling unit or an A / D sampling unit.
[0049] In some embodiments, Figure 2 and Figure 3 As shown, the device quantity detection system 90 further includes: a second filtering unit 7 .
[0050] Among them, the first end of the second filter unit 7 is connected to the second sampling point, and the second end of the second filter unit 7 is connected to the second sampling unit 6. Specifically, the second filter unit 7 filters out the interference clutter at the second sampling point, that is, the second filter unit 7 filters out the interference clutter of the constant voltage output by the constant voltage unit 1, so as to improve the detection accuracy of the second sampling unit 6 for the second voltage value and protect the port. In addition, the second filter unit 7 can be an AD filter circuit or a port protection circuit, which is not limited.
[0051] In some embodiments, the constant voltage unit includes: a DC power supply and a voltage regulator. The DC power supply is used to provide a DC voltage; the voltage regulator is connected to the DC power supply to stabilize the DC voltage at a constant voltage, that is, the DC power supply outputs a DC voltage to the voltage regulator, and the voltage regulator stabilizes the DC voltage output by the DC power supply to ensure the smoothness of the circuit and the normal use of the device quantity detection system, and prevent voltage fluctuations from damaging the device quantity detection system. In addition, the voltage of the DC power supply can be the standard voltage commonly used by the equipment, 3.3V or 5V, and there is no restriction on this. In addition, the constant voltage unit utilizes the VI curve of the diode, that is, when the current I changes, the voltage change of V is very small, so that the constant voltage unit provides a stable voltage.
[0052] In the embodiment, the voltage dividing unit 2 may use a high-precision voltage dividing resistor. When the voltage of the detection unit 8 changes, the voltage dividing circuit will divide different voltage values.
[0053] The second aspect of the present invention provides a device management system 100, such as Figure 7 As shown, the device management system 100 includes: a plurality of devices 9 and the device quantity detection system 90 in the above embodiment.
[0054] The device quantity detection system is connected to a plurality of devices and is used to detect the quantity of connected devices.
[0055] According to the device management system 100 of the present invention, through the device quantity detection system 90 of the above embodiment, the device quantity detection can be implemented through the first voltage value, thereby reducing the number of detection ports and the complexity of the interface circuit.
[0056] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the utility model. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example.
[0057] Although the embodiments of the present invention have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
Claims
1. A device quantity detection system, characterized in that: include: A constant voltage unit, used for providing a constant voltage; A voltage dividing unit, wherein a first end of the voltage dividing unit is connected to the constant voltage unit, and a second end of the voltage dividing unit is used to connect to a device, wherein a first sampling point is provided between the voltage dividing unit and the device; A first sampling unit, the first sampling unit is used to collect a first voltage value at the first sampling point; A control unit, the control unit is connected to the first sampling unit, and is used to determine the number of connected devices according to the first voltage value.
2. The device quantity detection system according to claim 1, characterized in that: A second sampling point is provided between the voltage dividing unit and the constant voltage unit, and the device quantity detection system further includes: a second sampling unit, the second sampling unit being used to collect a second voltage value at the second sampling point; The control unit is further configured to determine the number of connected devices according to a ratio of the first voltage value to the second voltage value.
3. The device quantity detection system according to claim 1, characterized in that: The device quantity detection system also includes: A plurality of detection units, a first end of each detection unit is connected to a corresponding device, and a first end of each detection unit is connected to a second end of the voltage dividing unit.
4. The device quantity detection system according to claim 3, characterized in that: The detection unit is a resistance detection unit or a capacitance detection unit.
5. The device quantity detection system according to claim 1, characterized in that: The first sampling unit is an I / O sampling unit or an A / D sampling unit.
6. The device quantity detection system according to claim 1, characterized in that: The device quantity detection system also includes: A first filtering unit, wherein a first end of the first filtering unit is connected to the first sampling point, and a second end of the first filtering unit is connected to the first sampling unit.
7. The device quantity detection system according to claim 2, characterized in that: The second sampling unit is an I / O sampling unit or an A / D sampling unit.
8. The device quantity detection system according to claim 2, characterized in that: The device quantity detection system also includes: A second filtering unit, wherein a first end of the second filtering unit is connected to the second sampling point, and a second end of the second filtering unit is connected to the second sampling unit.
9. The device quantity detection system according to claim 1, characterized in that: The constant pressure unit comprises: A DC power supply, used for providing a DC voltage; A voltage stabilizer is connected to the DC power supply and is used to stabilize the DC voltage at the constant voltage.
10. The device quantity detection system according to any one of claims 1 to 9, characterized in that: The device is a light strip, and a plurality of preset voltage ranges are preset in the control unit, each preset voltage range corresponds to a number of light strips, and the control unit is further used to determine a target preset voltage range in which the first voltage value is located, and determine the number of the light strips based on the target preset voltage range.
11. A device management system, characterized in that: include: Multiple devices; The device quantity detection system according to any one of claims 1 to 10, wherein the device quantity detection system is connected to a plurality of devices and is used to detect the number of connected devices.