Light source controller
By integrating sampling, control, communication, driving, and indication modules into the light source controller, the problems of device autonomy and modularization caused by functional separation in the prior art are solved, and multi-functional control and safety protection are realized.
Patent Information
- Application Number
- CN202520034151.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2035-01-06
AI Technical Summary
The existing light source controller, IO control, and motor sampling control functions are independent and come from different manufacturers, resulting in poor equipment autonomy, module miniaturization, and technical protection, making them easy to imitate.
Design a multi-functional light source controller that integrates a sampling module, a control module, a communication module, a drive module, and an indicator module to realize light source control, I/O control, and motor sampling control. It has electrical safety protection and analog quantity reading and writing capabilities, and the status is displayed synchronously through the indicator module.
This system enables the light source controller to perform multiple functions simultaneously within a single system, improving the autonomy and miniaturization of the equipment, enhancing technical protection, and providing electrical safety assurance.
Smart Images

Figure CN223872438U_ABST
Abstract
Description
Technical Field
[0001] This utility model belongs to the field of electronic circuit technology, specifically relating to a light source controller. Background Technology
[0002] In some application scenarios, it is necessary to sample and monitor the motor's operating status in real time, and control the external light source of the system based on the monitoring results. Currently, the light source controller, IO control, and motor sampling control on the equipment are all implemented separately using independent standard components. These standard components come from different manufacturers and are independent modules. This is not conducive to the independent development of equipment technology, the miniaturization of modules, and technical protection, and makes it easy to be imitated.
[0003] Therefore, it is necessary to design a multifunctional light source controller that can simultaneously realize functions such as light source control, IO control, and motor sampling control.
[0004] The information disclosed in this background section is intended only to enhance the understanding of the overall background of this utility model and should not be construed as an admission or in any way implying that the information constitutes prior art known to those skilled in the art. Utility Model Content
[0005] The purpose of this invention is to provide a light source controller that can simultaneously perform functions such as light source control, I / O control, and sampling control.
[0006] To achieve the above objectives, the technical solution provided by a specific embodiment of this utility model is as follows:
[0007] A light source controller includes a sampling module, a control module, a communication module, a drive module, and an indicator module. The sampling module is connected to an external device to sample the output signal generated by the external device and generate a sampling signal. The control module is connected to the sampling module to receive the sampling signal. The communication module is connected to the control module and a host computer. The control module sends the sampling signal to the host computer through the communication module and generates a drive control signal based on the control of the host computer. The drive module is connected to the control module and an external light source to generate a drive signal for driving the external light source based on the drive control signal. The indicator module is connected to the drive module to indicate the state of the external light source based on the drive signal.
[0008] In one or more embodiments of this utility model, the driving module includes a digital-to-analog converter unit and an amplification unit. The digital-to-analog converter unit is connected to the control module to convert the driving control signal into an analog signal, and the amplification unit is connected to the digital-to-analog converter unit to amplify the analog signal to generate a driving signal.
[0009] In one or more embodiments of the present invention, the driving module further includes a register unit, and the control module is further configured to generate a register control signal. The register unit is connected to the control module to register the driving control signal based on the control of the register control signal. The register unit is connected to the digital-to-analog converter unit to send the driving control signal to the digital-to-analog converter unit.
[0010] In one or more embodiments of the present invention, the digital-to-analog conversion unit includes a digital-to-analog converter, an amplifier, and a feedback resistor. The digital-to-analog converter is connected to a control module and a first terminal of the feedback resistor to generate a current signal on the feedback resistor based on a drive control signal. The first input terminal of the amplifier is connected to ground voltage, the second input terminal of the amplifier is connected to the first terminal of the feedback resistor, and the output terminal of the amplifier is connected to the second terminal of the feedback resistor to generate an analog signal.
[0011] In one or more embodiments of this utility model, the indicating module includes a light-emitting diode and a current-limiting resistor. The anode of the light-emitting diode is connected to the driving module to receive a driving signal, the cathode of the light-emitting diode is connected to the first end of the current-limiting resistor, and the second end of the current-limiting resistor is connected to ground voltage.
[0012] In one or more embodiments of the present invention, the light source controller further includes a power supply module, which is connected to one or more of the following: an input voltage and a sampling module, a control module, a communication module, a drive module, and an indicator module, to convert the input voltage into a power supply voltage.
[0013] In one or more embodiments of the present invention, the light source controller further includes a voltage regulator module, which is connected to the power supply module to regulate the power supply voltage.
[0014] In one or more embodiments of this utility model, the light source controller further includes a circuit protection module, which is connected to the input voltage and power supply module.
[0015] In one or more embodiments of this utility model, the sampling module includes a first sampling resistor and a second sampling resistor. The first end of the first sampling resistor is connected to an external device to receive an output signal, the first end of the second sampling resistor is connected to ground voltage, and the second ends of the first sampling resistor and the second sampling resistor are connected to a control module to generate a sampling signal.
[0016] In one or more embodiments of the present invention, the sampling module further includes a third sampling resistor, the first end of which is connected to the first end of the first sampling resistor, and the second end of which is connected to the first end of the second sampling resistor.
[0017] Compared with existing technologies, the light source controller of this invention, through its embedded sampling circuit design, can simultaneously realize functions such as light source control, I / O control, and motor sampling control within a single system, and can also provide electrical safety protection and analog signal reading / writing capabilities for the equipment. In addition to driving external light sources, this light source controller also includes an indicator module, allowing different personnel located locally on the controller and at the external light source to simultaneously observe the indicator status. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a system structure diagram of the light source controller in one embodiment of the present invention.
[0020] Figure 2 This is a circuit diagram of the power supply module in one embodiment of the present invention.
[0021] Figure 3 This is a circuit diagram of the sampling module in one embodiment of the present invention.
[0022] Figure 4 This is a circuit diagram of the control module in one embodiment of the present invention.
[0023] Figure 5 This is a system structure diagram of the drive module in one embodiment of the present invention.
[0024] Figure 6 This is a circuit diagram of the register unit in one embodiment of the present invention.
[0025] Figure 7 This is a circuit diagram of a digital-to-analog converter unit in one embodiment of the present invention.
[0026] Figure 8 This is a circuit diagram of the amplification unit in one embodiment of the present invention.
[0027] Figure 9 This is a circuit diagram of the indicator module in one embodiment of the present invention.
[0028] Figure 10 This is a circuit diagram of the communication module in one embodiment of the present invention. Detailed Implementation
[0029] To enable those skilled in the art to better understand the technical solutions of this utility model, the technical solutions of the embodiments of this utility model will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this utility model, and not all embodiments. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of this utility model.
[0030] The terms "coupled," "connected," or "linked" in this specification include both direct and indirect connections. Indirect connections are those made through an intermediate medium, such as those made through an electrically conductive medium, which may have parasitic inductance or capacitance. Indirect connections may also include connections made through other active or passive devices to achieve the same or similar functional purpose, such as connections through switches, follower circuits, or other circuits or components. Furthermore, in this specification, terms such as "first" and "second" are primarily used to distinguish one technical feature from another, and do not necessarily require or imply any actual relationship, quantity, or order between these technical features.
[0031] In the detailed description of this specification, reference is made to the accompanying drawings, which form a part thereof, wherein like reference numerals always denote like parts, and wherein exemplary embodiments are shown by way of example that may be implemented. It should be understood that other embodiments may be utilized, and structural or logical changes may be made, without departing from the scope of this disclosure. Therefore, the following detailed description should not be considered limiting.
[0032] The various operations in the specification may be described sequentially as multiple discrete actions or operations in a manner most conducive to understanding the claimed subject matter. However, the order of description should not be construed as implying that these operations must be sequentially related. Specifically, these operations may not be performed in the order presented. The described operations may be performed in a different order than in the described embodiments. Various additional operations may be performed in additional embodiments and / or the described operations may be omitted.
[0033] For the purposes of this disclosure, the phrase “A and / or B” means (A), (B), or (A and B). For the purposes of this disclosure, the phrase “A, B and / or C” means (A), (B), (C), (A and B), (A and C), (B and C), or (A, B and C).
[0034] Various components and devices may be referred to or shown in the singular (e.g., “MOS transistor”, “transistor”, “switch”, etc.) in this document, but only for the convenience of discussion, and any element referred to in the singular may include multiple such elements as taught herein.
[0035] The description uses the phrases "in one embodiment," "in other embodiments," or "in some embodiments," each of which may refer to one or more of the same or different embodiments. Furthermore, the terms "comprising," "including," "having," etc., used with respect to embodiments of this disclosure are synonymous.
[0036] like Figure 1 As shown, in one embodiment of the present invention, the light source controller includes a power supply module 60, a sampling module 10, a control module 20, a communication module 30, a drive module 40, and an indicator module 50. The light source controller can be used for a motor.
[0037] The system comprises the following modules: a sampling module 10 connected to an external device to sample the output signal generated by the external device and generate a sampling signal; a control module 20 connected to the sampling module 10 to receive the sampling signal; a communication module 30 connected to the control module 20 and a host computer, wherein the control module 20 sends the sampling signal to the host computer via the communication module 30 and generates a drive control signal based on the host computer's control; a drive module 40 connected to the control module 20 and an external light source to generate a drive signal for driving the external light source based on the drive control signal; and an indicator module 50 connected to the drive module 40 to indicate the status of the external light source based on the drive signal. A power supply module 60 connected to the input voltage, as well as the control module 20, communication module 30, and drive module 40, converts the input voltage into a power supply voltage.
[0038] In one embodiment, the external device may be a motor, and the output signal generated by the external device may be the output voltage of the motor, an analog signal generated by sampling the output voltage of the motor, a drive signal generated by the controller in the motor, etc. This solution does not specifically limit the output signal generated by the external device.
[0039] In other embodiments, the power module 60 may also be connected to one or more of the sampling module 10, control module 20, communication module 30, drive module 40, and indicator module 50, and provide them with power voltage, depending on the specific needs of other modules.
[0040] like Figure 2 As shown, the power module 60 includes a power chip RG1, a power chip RG2, and multiple filter capacitors. The power chip RG1 is preferably an MC7812CTG, and the power chip RG2 is preferably an MC7805CTG.
[0041] Pin 1 of power chip RG1 is connected to a 15V input voltage, and pin 2 is connected to ground. Power chip RG1 converts the 15V input voltage to a 12V power supply voltage and outputs it through pin 3. Pins 1 and 3 of power chip RG2 are connected, and pin 2 is connected to ground. Power chip RG2 converts the 12V power supply voltage to a 5V power supply voltage and outputs it through pin 3. Filter capacitors are connected in series between pin 1 of power chip RG1 and ground, pin 3 of power chip RG1 and ground, and pin 3 of power chip RG2 and ground, respectively.
[0042] In one embodiment, the light source controller may further include a circuit protection module connected to the input voltage and power supply module 60, which provides protection for the circuit. Figure 2 As shown, the circuit protection module may include diode D0, the anode of diode D0 is connected to the 15V input voltage, and the cathode of diode D0 is connected to pin 1 of power chip RG1.
[0043] In one embodiment, the light source controller may further include a voltage regulator module connected to the power supply module 60 to regulate the power supply voltage. The voltage regulator module may use commercially available DC voltage regulator chips, such as LM7805, LM1117, etc. The voltage regulator module may be connected in series between pin 3 of power supply chip RG1 and pin 1 of power supply chip RG2 to regulate a 12V power supply voltage, or it may be connected in series between pin 3 of power supply chip RG2 and other modules to regulate a 5V power supply voltage.
[0044] In one embodiment, the light source controller may further include a light-emitting diode LED0 and a current-limiting resistor R0. The anode of the light-emitting diode LED0 is connected to a 15V input voltage, the cathode of the light-emitting diode LED0 is connected to the first terminal of the current-limiting resistor R0, and the second terminal of the current-limiting resistor R0 is connected to ground. The light-emitting diode LED0 is used to indicate that the input voltage is powered on.
[0045] like Figure 3 As shown, the sampling module 10 includes a first sampling resistor R21, a second sampling resistor R22, and a third sampling resistor R23. The first terminal of the first sampling resistor R21 is connected to an external device via a connector to receive an output signal. The first terminal of the second sampling resistor R22 is connected to ground. The second terminals of both the first and second sampling resistors R21 and R22 are connected to the control module 20 to generate a sampling signal. The first terminal of the third sampling resistor R23 is connected to the first terminal of the first sampling resistor R21, and the second terminal of the third sampling resistor R23 is connected to the first terminal of the second sampling resistor R22.
[0046] In one embodiment, the second end of the third resistor can be connected to the ground voltage of an external device via a connector.
[0047] In one embodiment, two sampling modules 10 are provided. The two sampling modules 10 have the same structure and can sample the output signals IN1 and IN2 of the external device respectively, and generate sampling signals AI1 and AI2 respectively. In other embodiments, the number of sampling modules 10 may be one or more.
[0048] like Figure 4 As shown, the control module 20 includes a control chip IC2 and its peripheral circuitry. The preferred model of the control chip IC2 is CH32V103C.
[0049] Pins 11 and 12 of the control chip IC2 are respectively connected to the second end of the first sampling resistor R21 of a sampling module 10 to receive sampling signals AI1 and AI2.
[0050] Pins 30 and 31 of the control chip IC2 are connected to the communication module 30 to communicate with the host computer through the communication module 30.
[0051] Pins 13 to 19 and pin 21 of the control chip IC2 are connected to the drive module 40 to generate drive control signals. The drive control signals can be digital quantities that characterize the magnitude of the drive signal required by the light source.
[0052] In one embodiment, pins 25-29 and pins 32-33 of the control chip IC2 can be used to generate a register enable signal, generating a total of 7 signals: register enable signal IC101_LE to register enable signal IC701_LE.
[0053] like Figure 5 As shown, the drive module 40 includes a register unit 41, a digital-to-analog converter 42, and an amplifier unit 43. The register unit 41 is connected to the control module 20 and the digital-to-analog converter 42 to register the drive control signals and send them to the digital-to-analog converter 42. The digital-to-analog converter 42 converts the drive control signals into analog signals, and the amplifier unit 43 is connected to the digital-to-analog converter 42 to amplify the analog signals to generate drive signals.
[0054] In one embodiment, seven register units 41 and seven digital-to-analog converter units 42 are provided, and they correspond one-to-one. In other embodiments, the number of register units 41, digital-to-analog converter units 42, and amplification units 43 can also be set to other quantities and other corresponding relationships. The following description uses one set of register units 41 and digital-to-analog converter units 42 as an example:
[0055] like Figure 6As shown, the register unit 41 includes a register chip IC101, preferably a CD74HC573E.
[0056] In this configuration, pins 2 to 9 of register chip IC101 are connected to pins 13 to 19 and pin 21 of control chip IC2, respectively, to receive drive control signals. Pin 11 of register chip IC101 is connected to pin 33 of control chip IC2 to receive the corresponding register enable signal IC101_LE. Based on the control of the register enable signal IC101_LE, the register chip can output drive control signals through its own pins 12 to 19. Similarly, the register chips in other register units 41 are also connected to the corresponding pins of control chip IC2 and receive the corresponding register enable signals.
[0057] In other embodiments, the register unit 41 may not be provided, and the control chip IC2 may not generate a register enable control signal. That is, the digital-to-analog converter unit 42 is directly connected to the control chip IC2 to receive the drive control signal.
[0058] like Figure 7 As shown, the digital-to-analog conversion unit 42 includes a digital-to-analog converter IC102, an amplifier IC104A, and a feedback resistor.
[0059] In this circuit, pins 9 to 16 of the digital-to-analog converter IC102 are connected to pins 12 to 19 of the register chip IC101 to receive drive control signals. Pin 8 of the digital-to-analog converter IC102 is connected to the first end of the feedback resistor to generate a current signal IC102_IOUT on the feedback resistor based on the drive control signal. The first input terminal of the amplifier IC104A is connected to ground voltage. The second input terminal of the amplifier IC104A is connected to the first end of the feedback resistor. The output terminal of the amplifier IC104A is connected to the second end of the feedback resistor to generate an analog signal IN1+.
[0060] Specifically, the feedback resistor includes an adjustable resistor VR101 and a first resistor R103. The first terminal of the first resistor R103 is connected to pin 8 of the digital-to-analog converter IC102, the second terminal of the first resistor R103 is connected to the first terminal of the adjustable resistor VR101, the second terminal of the adjustable resistor VR101 is connected to the output terminal of the amplifier IC104A, and the movable terminal of the adjustable resistor VR101 is connected to the first terminal of the adjustable resistor VR101.
[0061] By configuring amplifier IC104A and feedback resistor, the value of analog signal IN1+ can be controlled to be the product of current signal IC102_IOUT and the total resistance of feedback resistor.
[0062] like Figure 8As shown, the amplification unit 43 includes an amplifier chip U1, preferably an LM4765T, and one amplifier chip U1 includes two amplifiers.
[0063] In one embodiment, four amplifier chips can be configured, comprising a total of eight amplifiers. Seven of these amplifiers correspond one-to-one with seven digital-to-analog converters 42 to amplify the corresponding analog signals and generate drive signals. Taking the amplifier chip U1 corresponding to the aforementioned digital-to-analog converter 42 as an example, pin 8 of amplifier chip U1 is connected to the output terminal of amplifier IC104A to receive the analog signal IN1+. Amplifier chip U1 amplifies the analog signal to generate a drive signal OUT1 and outputs it through its own pin 3. Pin 3 of amplifier chip U1 is connected to an external light source and indicator module 50.
[0064] like Figure 9 As shown, in one embodiment, seven indicator modules 50 are provided. The seven indicator modules 50 have the same structure and correspond one-to-one with the seven amplifiers in the amplification unit 43. Taking the indicator module 50 corresponding to the aforementioned amplifier as an example, the indicator module 50 includes a light-emitting diode LED1 and a current-limiting resistor R001. The anode of the light-emitting diode LED1 is connected to pin 3 of the amplifier chip U1 to receive the drive signal OUT1. The cathode of the light-emitting diode LED1 is connected to the first end of the current-limiting resistor R001, and the second end of the current-limiting resistor R001 is connected to ground.
[0065] In other embodiments, the number of register unit 41, digital-to-analog conversion unit 42, amplification unit 43 and indicator module 50 can be set according to actual needs, and they do not necessarily correspond one-to-one with each other.
[0066] like Figure 10 As shown, the communication module 30 includes a communication chip IC1, preferably a MAX3232CPE. Pins 13 and 14 of the communication chip IC1 are connected to pins 30 and 31 of the control chip IC2, respectively, and pins 11 and 12 of the communication chip IC1 are connected to the host computer.
[0067] In actual operation, the sampling module 10 first samples the two output signals of the external device (motor) to generate sampling signals AI1 and AI2. The control module 20 can directly send the sampling signals AI1 and AI2 to the host computer through the communication module 30, or it can process the sampling signals before sending them to the host computer. After reading the sampling signals, the host computer can obtain the motor's operating status.
[0068] Secondly, the host computer can control the control module 20 through the communication module 30, causing it to generate drive control signals and register enable signals. The drive control signal can be an 8-bit digital value, used to represent the magnitude of the drive signal required by the external light source. The register enable signal is used to control the corresponding register chip in the drive module 40 to register the drive control signal. When it is necessary to adjust the drive signal OUT1, the control module 20 can control the register chip IC101 to register the current drive control signal through the corresponding register enable signal IC101_LE. Other register chips do not perform any action. The digital-to-analog converter IC102 and the amplifier IC104A then respond to this drive control signal and make corresponding adjustments. Finally, the amplifier chip U1 generates a new drive signal OUT1. Based on the above settings, the control module 20 does not need to send different drive control signals to different registers separately, saving chip pins.
[0069] In addition to driving external light sources, this light source controller is also equipped with an indicator module 50, which allows different personnel at the local light source controller and the external light source to observe the indicator status simultaneously.
[0070] It will be apparent to those skilled in the art that this invention is not limited to the details of the exemplary embodiments described above, and that it can be implemented in other specific forms without departing from the spirit or essential characteristics of this invention. Therefore, the embodiments should be considered illustrative and non-limiting in all respects, and the scope of this invention is defined by the appended claims rather than the foregoing description. Thus, it is intended that all variations falling within the meaning and scope of equivalents of the claims be included within this invention. No reference numerals in the claims should be construed as limiting the scope of the claims.
[0071] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
Claims
1. A light source controller, characterized in that, The system includes a sampling module, a control module, a communication module, a drive module, and an indicator module. The sampling module is connected to an external device to sample the output signal generated by the external device and generate a sampling signal. The control module is connected to the sampling module to receive the sampling signal. The communication module is connected to the control module and a host computer. The control module sends the sampling signal to the host computer through the communication module and generates a drive control signal based on the host computer's control. The drive module is connected to the control module and an external light source to generate a drive signal for driving the external light source based on the drive control signal. The indicator module is connected to the drive module to indicate the state of the external light source based on the drive signal.
2. The light source controller according to claim 1, characterized in that, The driving module includes a digital-to-analog converter and an amplification unit. The digital-to-analog converter is connected to the control module to convert the driving control signal into an analog signal. The amplification unit is connected to the digital-to-analog converter to amplify the analog signal to generate a driving signal.
3. The light source controller according to claim 2, characterized in that, The drive module further includes a register unit, and the control module is also used to generate a register control signal. The register unit is connected to the control module to register the drive control signal based on the control of the register control signal. The register unit is connected to the digital-to-analog converter unit to send the drive control signal to the digital-to-analog converter unit.
4. The light source controller according to claim 2, characterized in that, The digital-to-analog conversion unit includes a digital-to-analog converter, an amplifier, and a feedback resistor. The digital-to-analog converter is connected to a control module and a first terminal of the feedback resistor to generate a current signal on the feedback resistor based on a drive control signal. The first input terminal of the amplifier is connected to ground voltage, the second input terminal of the amplifier is connected to the first terminal of the feedback resistor, and the output terminal of the amplifier is connected to the second terminal of the feedback resistor to generate an analog signal.
5. The light source controller according to claim 1, characterized in that, The indicator module includes a light-emitting diode and a current-limiting resistor. The anode of the light-emitting diode is connected to the driving module to receive a driving signal, the cathode of the light-emitting diode is connected to the first end of the current-limiting resistor, and the second end of the current-limiting resistor is connected to ground voltage.
6. The light source controller according to claim 1, characterized in that, The light source controller further includes a power supply module, which is connected to one or more of the following: an input voltage sampling module, a control module, a communication module, a drive module, and an indicator module, to convert the input voltage into a power supply voltage.
7. The light source controller according to claim 6, characterized in that, The light source controller also includes a voltage regulator module, which is connected to the power supply module to regulate the power supply voltage.
8. The light source controller according to claim 6, characterized in that, The light source controller also includes a circuit protection module, which is connected to the input voltage and power supply module.
9. The light source controller according to claim 1, characterized in that, The sampling module includes a first sampling resistor and a second sampling resistor. The first end of the first sampling resistor is connected to an external device to receive an output signal. The first end of the second sampling resistor is connected to ground voltage. The second ends of the first sampling resistor and the second sampling resistor are connected to a control module to generate a sampling signal.
10. The light source controller according to claim 9, characterized in that, The sampling module further includes a third sampling resistor, the first end of which is connected to the first end of the first sampling resistor, and the second end of which is connected to the first end of the second sampling resistor.