CN-224203626-U - Current regulator
Abstract
The embodiment of the application provides a current regulating device which comprises a control unit and a plurality of regulating modules, wherein the input ends of the regulating modules are connected with the output end of a sensor, the control end of each regulating module in the regulating modules is respectively connected with different ports in the control unit, and a resistor is arranged in each regulating module of the regulating modules, wherein the control unit is used for controlling the connection or disconnection of the regulating module corresponding to the port through the output signal of the regulating port, so as to control the current of the output end of the sensor. The design realizes flexible configuration of hardware functions through software control, ensures accuracy of current regulation, has the capability of dynamically adapting to different application scenes, and improves reliability and maintenance convenience of the system.
Inventors
- ZHU YINGCHENG
Assignees
- 深圳市安室智能有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20250509
Claims (10)
- 1. A current regulating device is characterized by comprising a control unit and a plurality of regulating modules, wherein the input ends of the regulating modules are connected with the output end of a sensor, the control end of each regulating module in the regulating modules is respectively connected with different ports in the control unit, a resistor is arranged in each regulating module in the regulating modules, The control unit is used for controlling the on/off of the adjusting module corresponding to the port through adjusting the output signal of the port, so as to control the current of the output end of the sensor.
- 2. The apparatus of claim 1, wherein each of the plurality of conditioning modules comprises a first input resistor, a first output resistor, and a first switching tube, wherein, The first port of the first input resistor is used as the input end of each adjusting module, the second port of the first input resistor is connected with the input end of the first switching tube, the output end of the first switching tube is grounded, the control end of the first switching tube is connected with the first port of the first output resistor, and the second port of the first output resistor is used as the control end of each adjusting module.
- 3. The apparatus of claim 2, further comprising a second input resistor having an input connected to the output of the sensor and an output connected to the output of the first switching tube of any of the plurality of adjustment modules.
- 4. A device according to claim 2 or 3, characterized in that the control unit is specifically adapted to: when the output signal of the port is regulated to be in a high level, the regulating module is conducted; when the output signal of the port is regulated to be low level, the regulating module is disconnected.
- 5. A device according to claim 2 or 3, wherein the first input resistor is different from each other in resistance value included in each of the plurality of adjustment modules.
- 6. A device according to claim 2 or 3, wherein the first switching tube is a triode or a MOS tube.
- 7. The apparatus of claim 1, wherein each of the plurality of adjustment modules comprises a first sub-adjustment module and a second sub-adjustment module, the first sub-adjustment module comprising a third input resistor, a second output resistor, and a second switching tube, the second sub-adjustment module comprising a third output resistor and a third switching tube, wherein, The first port of the third input resistor is used as the input end of each adjusting module, the second port of the third input resistor is connected with the input end of the second switching tube, the second switching tube and the output end of the third switching tube are grounded, the control end of the second switching tube is connected with the first port of the second output resistor, the second port of the second output resistor is connected with the input end of the third switching tube, the control end of the third switching tube is connected with the first port of the third output resistor, and the second port of the third output resistor is used as the control end of each adjusting module.
- 8. The apparatus of claim 1, wherein the control unit is configured to determine on or off of each of the plurality of adjustment modules according to a magnitude of a target current, so that a current value of a first combination mode of on or off corresponding to the plurality of adjustment modules is obtained, where the current value is the smallest difference from the target current among all combination modes of on or off corresponding to the plurality of adjustment modules.
- 9. A device according to claim 2 or 3, wherein each of the plurality of adjustment modules further comprises a light emitting diode, a first port of the light emitting diode being connected to the output of the first switching tube, and a second port of the light emitting diode being connected to ground.
- 10. The apparatus of claim 2 or 3, wherein each of the plurality of adjustment modules further comprises a comparator, an input of the comparator being coupled to the output of the first switching tube, an output of the comparator being coupled to an alarm, wherein, When the control end of the first switching tube is at a high level, the comparator compares the magnitude relation between the voltage input by the input end and the preset voltage, and when the voltage input by the input end is smaller than the preset voltage, the output end of the comparator outputs a control signal for controlling the alarm to give an alarm.
Description
Current regulator Technical Field The application relates to the technical field of signal regulation, in particular to a current regulating device. Background Currently, in conventional sensor signal acquisition systems, the sensor is typically directly connected to the acquisition port of the micro control unit (Micro Control Unit, MCU). However, the output current of the sensor may exceed the input current tolerance range of the acquisition port of the MCU, resulting in excessive current sinking, and thus a resistor with a corresponding resistance value may be connected to the output end of the sensor. However, for different application scenarios, the hardware circuit needs to be changed when each application is performed, so that the output current is adjusted, and the automatic adaptation to different application scenarios cannot be realized. Disclosure of utility model The embodiment of the application provides a current regulating device, which is characterized in that an output signal of a port is regulated by a control unit to control the on/off of a plurality of regulating modules connected to the output end of a sensor, so that the current of the output end of the sensor is controlled, different resistance values can be obtained based on different combination modes of the on/off of the plurality of regulating modules, a hardware circuit is not required to be changed when the current regulating device is applied each time, and different application scenes can be automatically adapted. The current regulating device comprises a control unit and a plurality of regulating modules, wherein the input ends of the regulating modules are connected with the output end of a sensor, the control end of each regulating module in the regulating modules is respectively connected with different ports in the control unit, a resistor is arranged in each regulating module in the regulating modules, The control unit is used for controlling the on/off of the adjusting module corresponding to the port by adjusting the output signal of the port, thereby controlling the current of the output end of the sensor. Specifically, each of the plurality of adjustment modules includes a first input resistor, a first output resistor, and a first switching tube, wherein, The first port of the first input resistor is used as the input end of each adjusting module, the second port of the first input resistor is connected with the input end of the first switching tube, the output end of the first switching tube is grounded, the control end of the first switching tube is connected with the first port of the first output resistor, and the second port of the first output resistor is used as the control end of each adjusting module. In addition, the current regulating device further comprises a second input resistor, wherein the input end of the second input resistor is connected with the output end of the sensor, and the output end of the second input resistor is connected with the output end of the first switch tube in any one of the regulating modules. Further, the control unit is specifically configured to: When the output signal of the regulating port is at a high level, the regulating module is conducted; when the output signal of the regulating port is low, the regulating module is disconnected. Optionally, each of the plurality of adjustment modules includes a first input resistor having a different resistance value. Optionally, the first switching tube is a triode or a MOS tube. Optionally, each of the plurality of adjustment modules includes a first sub-adjustment module including a third input resistor, a second output resistor, and a second switching tube, and a second sub-adjustment module including a third output resistor and a third switching tube, wherein, The first port of the third input resistor is used as the input end of each adjusting module, the second port of the third input resistor is connected with the input end of the second switching tube, the output ends of the second switching tube and the third switching tube are grounded, the control end of the second switching tube is connected with the first port of the second output resistor, the second port of the second output resistor is connected with the input end of the third switching tube, the control end of the third switching tube is connected with the first port of the third output resistor, and the second port of the third output resistor is used as the control end of each adjusting module. Optionally, the control unit is configured to determine on or off of each of the plurality of adjustment modules according to the magnitude of the target current, so that the obtained current value of the first combination mode of on or off corresponding to the plurality of adjustment modules is the smallest difference value with the target current in all the combination modes of on or off corresponding to the plurality of adjustment modules. Optionally, each of the plural