Light source control circuit

文档序号:245517 发布日期:2021-11-12 浏览:6次 中文

阅读说明:本技术 一种光源控制电路 (Light source control circuit ) 是由 宋重堂 薛利军 曾豪 王�华 于 2021-07-22 设计创作,主要内容包括:本申请实施例公开了一种光源控制电路,光源控制电路包括:ACDC转化模块、电池供电切换模块、PWM模块、光源驱动模块、光源异常反馈模块、档位选择模块、USB模块、以及光源异常状态指示模块;其中,ACDC转化模块与电池供电切换模块连接,电池供电切换模块、PWM模块、光源驱动模块、光源异常反馈模块、档位选择模块、USB模块、以及光源异常状态指示模块连接,PWM模块与光源驱动模块连接。(The embodiment of the application discloses light source control circuit, light source control circuit includes: the device comprises an ACDC conversion module, a battery power supply switching module, a PWM module, a light source driving module, a light source abnormity feedback module, a gear selection module, a USB module and a light source abnormity state indication module; the ACDC conversion module is connected with the battery power supply switching module, the PWM module, the light source driving module, the light source abnormity feedback module, the gear selection module, the USB module and the light source abnormity state indication module are connected, and the PWM module is connected with the light source driving module.)

1. A light source control circuit, comprising: the device comprises an ACDC conversion module, a battery power supply switching module, a PWM module, a light source driving module, a light source abnormity feedback module, a gear selection module, a USB module and a light source abnormity state indication module;

the ACDC conversion module is connected with the battery power supply switching module, the PWM module, the light source driving module, the light source abnormity feedback module, the gear selection module, the USB module and the light source abnormity state indication module are connected, and the PWM module is connected with the light source driving module.

2. The light source control circuit according to claim 1, wherein the ACDC conversion module is connected to a commercial power, an output terminal of the ACDC conversion module is connected to a filter capacitor, and an output terminal of the filter capacitor is connected to a TVS tube.

3. The light source control circuit according to claim 2, wherein the filter capacitor is a ceramic capacitor and/or an aluminum electrolytic capacitor.

4. The light source control circuit according to claim 1, wherein two inputs of the battery power supply switching module are a mains-converted DC and a battery-supplied DC, respectively, the battery power supply channel is connected in series with a PMOSFET, and a control terminal is connected with a mains-converted DC power supply;

and the commercial power conversion DC channel is connected with a diode in series in the positive direction and is connected to the source electrode of the PMOSFET, and the output is led out from the source electrode of the PMOSFET.

5. The light source control circuit of claim 1, wherein the PWM module comprises a single-chip microcomputer;

the I/O pin of the singlechip generates a PWM signal with adjustable frequency and duty ratio.

6. The light source control circuit according to claim 1, wherein the DIAGEN pin of the light source driving module obtains an enable level of a dialgen function by voltage division through a resistor.

7. The light source control circuit according to claim 1, wherein the light source abnormality feedback module is configured to output a diagnosis signal from the Fault pin, and the single chip microcomputer performs the collection and judgment and performs the indication operation.

8. The light source control circuit according to claim 1, wherein a resistor is connected in series between the gear selection module and GND for limiting current.

9. The light source control circuit according to claim 1, wherein the USB module is configured to communicate with the MCU, so as to control the light source externally.

10. The light source control circuit according to claim 1, wherein the light source abnormal state indicating module comprises an NPN triode for controlling a base by the I/O of the single chip, indicating that a positive electrode of the device is connected to a power supply on the board, a negative electrode of the device is connected in series with a current limiting resistor and then connected to a collector of the NPN triode, and an emitter of the NPN triode is connected to GND; and a 2.2K omega resistor is bridged between the base electrode and the emitter and is used for closing the triode when the I/O level of the singlechip is uncertain.

Technical Field

The embodiment of the application relates to the technical field of electrical components, in particular to a light source control circuit.

Background

Generally, with the improvement of the precision of the space navigation positioning and the requirement of the test items, the function of simulating the star point, the star and the like and related parameters of the conventional star simulator can not meet the more accurate test performance of the space star sensor, and the light source drive of the star simulator needs to be redesigned.

Meanwhile, when a light source of the traditional star simulator is subjected to simulation test and a certain star point cannot be found for some reasons, the light source cannot be judged to be abnormal in display or position, the light source can be judged only by detaching the light source from the test module, and the light source cannot be judged to be abnormal in real time. Therefore, no light source control technology capable of feeding back the working state of the star point light source in real time currently exists in the field of simulators.

Disclosure of Invention

The embodiment of the application provides a light source control circuit, which can solve the problem that no light source control technology capable of feeding back the working state of a star point light source in real time exists in the field of simulators.

In order to solve the technical problem, the embodiment of the application adopts the following technical scheme:

in a first aspect of the embodiments of the present application, a light source control circuit is provided, where the light source control circuit includes: the device comprises an ACDC conversion module, a battery power supply switching module, a PWM module, a light source driving module, a light source abnormity feedback module, a gear selection module, a USB module and a light source abnormity state indication module; the ACDC conversion module is connected with the battery power supply switching module, the PWM module, the light source driving module, the light source abnormity feedback module, the gear selection module, the USB module and the light source abnormity state indication module are connected, and the PWM module is connected with the light source driving module.

Optionally, in this embodiment of the application, the ACDC conversion module is connected to a commercial power, an output end of the ACDC conversion module is connected to a filter capacitor, and an output end of the filter capacitor is connected to a TVS tube.

Optionally, the filter capacitor is a ceramic capacitor and/or an aluminum electrolytic capacitor.

Optionally, in this embodiment of the application, two inputs of the battery power supply switching module are respectively a DC converted by mains supply and a DC supplied by a battery, a battery power supply channel is connected in series with one PMOSFET, and a control terminal is connected with a DC power supply converted by mains supply; and a commercial power conversion DC channel is connected with a diode in series in the positive direction and is connected to the source electrode of the PMOSFET, and the output is led out from the source electrode of the PMOSFET.

Optionally, in this embodiment of the application, the PWM module includes a single chip microcomputer; wherein, the I/O pin of the singlechip generates PWM signals with adjustable frequency and duty ratio.

Optionally, in this embodiment of the application, a DIAGEN pin of the light source driving module obtains an enable level of a diagnostics function through voltage division by a resistor.

Optionally, in this embodiment of the application, the light source abnormality feedback module is configured to output a diagnosis signal from the Fault pin, and the single chip microcomputer performs acquisition and judgment and performs an indication action.

Optionally, in this embodiment of the application, a resistor is connected in series between the gear selection module and the GND for current limiting.

Optionally, in this embodiment of the application, the USB module is configured to communicate with the MCU, so as to control the light source externally.

Optionally, in this embodiment of the present application, the light source abnormal state indicating module includes an NPN transistor, and the NPN transistor is used for controlling the base by the I/O of the single chip, and indicating that the positive electrode of the device is connected to the power supply on the board, and the negative electrode of the device is connected in series with the current limiting resistor and then connected to the collector of the NPN transistor, and the emitter of the device is connected to GND; and a 2.2K omega resistor is bridged between the base electrode and the emitter and is used for closing the triode when the I/O level of the singlechip is uncertain.

In an embodiment of the present application, a light source control circuit includes: the device comprises an ACDC conversion module, a battery power supply switching module, a PWM module, a light source driving module, a light source abnormity feedback module, a gear selection module, a USB module and a light source abnormity state indication module; the ACDC conversion module is connected with the battery power supply switching module, the PWM module, the light source driving module, the light source abnormity feedback module, the gear selection module, the USB module and the light source abnormity state indication module are connected, and the PWM module is connected with the light source driving module. The embodiment of the application breaks through the technical problem that the traditional static star simulator cannot feed back the abnormal state of the star point light source in real time; the function that the traditional static star simulator cannot realize the use of either commercial power or battery power supply is broken through; the technical problem that the working state and parameters of a star point light source cannot be changed when the traditional static star simulator is separated from an upper computer is solved; the design of multifunction, multi-path output and flexible control is realized, and the control requirements of a plurality of star point light sources of the static star simulator are met.

Drawings

Fig. 1 is a schematic structural diagram of a light source control circuit according to an embodiment of the present disclosure;

fig. 2 is a second schematic structural diagram of a light source control circuit according to an embodiment of the present disclosure;

fig. 3 is a third schematic structural diagram of a light source control circuit according to an embodiment of the present disclosure;

fig. 4 is a fourth schematic structural diagram of a light source control circuit according to an embodiment of the present disclosure;

fig. 5 is a fifth schematic structural diagram of a light source control circuit according to an embodiment of the present disclosure;

fig. 6 is a sixth schematic structural view of a light source control circuit according to an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

The terms "first" and "second," and the like, in the description and in the claims of the embodiments of the present application are used for distinguishing between different objects and not for describing a particular order of the objects.

In the description of the embodiments of the present application, the meaning of "a plurality" means two or more unless otherwise specified. For example, a plurality of elements refers to two elements or more.

The term "and/or" herein is an association relationship describing an associated object, and means that there may be three relationships, for example, a display panel and/or a backlight, which may mean: there are three cases of a display panel alone, a display panel and a backlight at the same time, and a backlight alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, input/output denotes input or output.

In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.

The embodiment of the application provides a light source control circuit, and light source control circuit includes: the device comprises an ACDC conversion module, a battery power supply switching module, a PWM module, a light source driving module, a light source abnormity feedback module, a gear selection module, a USB module and a light source abnormity state indication module; the ACDC conversion module is connected with the battery power supply switching module, the PWM module, the light source driving module, the light source abnormity feedback module, the gear selection module, the USB module and the light source abnormity state indication module are connected, and the PWM module is connected with the light source driving module. The embodiment of the application breaks through the technical problem that the traditional static star simulator cannot feed back the abnormal state of the star point light source in real time; the function that the traditional static star simulator cannot realize the use of either commercial power or battery power supply is broken through; the technical problem that the working state and parameters of a star point light source cannot be changed when the traditional static star simulator is separated from an upper computer is solved; the design of multifunction, multi-path output and flexible control is realized, and the control requirements of a plurality of star point light sources of the static star simulator are met.

A light source control circuit provided in the embodiments of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.

Fig. 1 to 6 show schematic structural diagrams of a light source control circuit according to an embodiment of the present application. As shown in fig. 1 to 6, a light source control circuit includes: the device comprises an ACDC conversion module, a battery power supply switching module, a PWM module, a light source driving module, a light source abnormity feedback module, a gear selection module, a USB module and a light source abnormity state indication module; the ACDC conversion module is connected with the battery power supply switching module, the PWM module, the light source driving module, the light source abnormity feedback module, the gear selection module, the USB module and the light source abnormity state indication module are connected, and the PWM module is connected with the light source driving module.

Optionally, in this embodiment of the application, the ACDC conversion module is connected to a commercial power, an output end of the ACDC conversion module is connected to a filter capacitor, and an output end of the filter capacitor is connected to a TVS tube.

Further, the filter capacitor is a ceramic capacitor and/or an aluminum electrolytic capacitor.

Optionally, in this embodiment of the application, two inputs of the battery power supply switching module are respectively a DC converted by mains supply and a DC supplied by a battery, a battery power supply channel is connected in series with one PMOSFET, and a control terminal is connected with a DC power supply converted by mains supply; and a commercial power conversion DC channel is connected with a diode in series in the positive direction and is connected to the source electrode of the PMOSFET, and the output is led out from the source electrode of the PMOSFET.

Optionally, in this embodiment of the application, the PWM module includes a single chip microcomputer; wherein, the I/O pin of the singlechip generates PWM signals with adjustable frequency and duty ratio.

Optionally, in this embodiment of the application, a DIAGEN pin of the light source driving module obtains an enable level of a diagnostics function through voltage division by a resistor.

Optionally, in this embodiment of the application, the light source abnormality feedback module is configured to output a diagnosis signal from the Fault pin, and the single chip microcomputer performs acquisition and judgment and performs an indication action.

Optionally, in this embodiment of the application, a resistor is connected in series between the gear selection module and the GND for current limiting.

Optionally, in this embodiment of the application, the USB module is configured to communicate with the MCU, so as to control the light source externally.

Optionally, in this embodiment of the present application, the light source abnormal state indicating module includes an NPN transistor, and the NPN transistor is used for controlling the base by the I/O of the single chip, and indicating that the positive electrode of the device is connected to the power supply on the board, and the negative electrode of the device is connected in series with the current limiting resistor and then connected to the collector of the NPN transistor, and the emitter of the device is connected to GND; and a 2.2K omega resistor is bridged between the base electrode and the emitter and is used for closing the triode when the I/O level of the singlechip is uncertain.

In the embodiment of the application, a light source driving IC and an MCU are adopted as core devices to design based on a light source control circuit, and the light source driving IC and the MCU are divided into eight parts: the device comprises an ACDC conversion circuit (module), a battery power supply switching circuit (module), a PWM signal generating and adjusting circuit (namely a PWM module), a light source driving circuit (module), a light source abnormity feedback circuit (module), a gear selection circuit (module), a USB communication circuit (namely a USB module) and a light source abnormity state indicating circuit (module).

The ACDC conversion circuit comprises a mains supply input connector base, an AC filter element, an ACDC conversion IC, a DC filter element and a power supply protection element. Comprises a commercial power input port and a direct current output port; and the two ports are provided with a filter device and a protection device, and the conversion function is completed by one ACDC conversion chip. When the commercial power is normal, the channel is used as a main power supply channel of the whole board;

the battery power supply switching circuit comprises a battery power supply input connector base and a power supply switching IC. The main function is completed by one PMOS according to the on-off characteristic thereof. The mutual switching between the mains supply and the battery supply can be realized at any time;

the PWM signal generating and adjusting circuit comprises an MCU and an MCU minimum system circuit. The signal generation and regulation are completed by the MCU, and at most 8 channels are supported to work simultaneously. The MCU minimum system is used for ensuring that the MCU is normally started and normally communicates with a peripheral load;

the light source driving circuit comprises a light source driving IC, a light source driving IC minimum system circuit and a light source power supply output connector base. The light source driving IC is one of the most core devices of the invention, and has the functions of providing a driving source for completing modulation for a light source, monitoring the working state of the light source and sending a light source abnormal state signal to the MCU; the minimum system circuit is used for ensuring the normal starting of the light source driving IC and the monitoring function of the working state of the normally opened light source;

the light source abnormity feedback circuit is characterized in that a core device is a signal buffer IC, and the input end of the signal buffer IC receives a light source working state signal sent by a light source driving IC, is buffered by the buffer IC and outputs the signal to the MCU for processing;

the gear selection circuit comprises a gear connector base and a gear signal pull-up filter resistor-capacitor, and at most 3-bit 8-gear states are supported. The gear signals are collected and processed by the MCU, and the MCU can operate the light source to work in 8 different states according to the collected 8 gear signals;

the USB communication circuit comprises a USB bus switching IC, a USB bus switching chip minimum system circuit and a USB signal connector base. The core device is a uart bus switching IC which realizes the communication function of the upper computer and the controller;

the light source abnormal state indicating circuit comprises a switch IC and an indicator connector base. The light source abnormal state indicating signal is directly controlled by the I/O of the MCU, and when the MCU detects that a certain channel light source is abnormal, the abnormal information is fed back to a user in time through the indicator.

According to the light source driving principle, the MCU enables the I/O pin to generate a PWM signal with specific frequency and duty ratio through embedded software, the signal directly acts on the light source driving IC to modulate a flowing power supply, and the modulated power supply is output through the OUT end of the light source driving IC and provided for the light source, so that the light source is in a specific working state. The relationship between the PWM signal and the OUT terminal output is determined by the characteristics of the light source driving IC itself and the characteristics of the power supply source, and refer to the drawings specifically. The brightness variation presented by the light source is determined by the frequency and duty cycle of the PWM signal and the power supply parameters.

According to the light source abnormity feedback principle, a light source driving IC monitors the voltage Vout of OUT terminal in real time, when a light source is normal, Vout is greater than V (SG _ th _ rising), a Fault pin signal is high level, and V (SG _ th _ rising) is a threshold voltage defined in the light source driving IC. When monitoring that Vout is lower than V (SG _ th _ rising) and time exceeds t (SG _ deg), t (SG _ deg) is a threshold duration defined in the light source drive IC, the light source drive IC judges that the light source has an earth short circuit abnormity, the light source drive IC closes Vout at the moment, pulls down a Fault signal, the Fault signal sends state change to the MCU for collection through the buffer, the MCU detects the change of the Fault signal of the channel through the I/O pin, and the light source working state indicator lamp operating the corresponding channel is changed from normal to abnormal display to prompt a user. The light source driving IC monitors the difference value of Vin-Vout in real time during the period when the PWM signal is high, when the light source is normal, Vin-Vout > V (OPEN _ th _ rising), and the Fault pin signal is high level, and V (OPEN _ th _ rising) is a threshold voltage defined inside the light source driving IC. When Vin-Vout is monitored to be lower than V (OPEN _ th _ string) and exceed t (OPEN _ deg), t (OPEN _ deg) is a threshold duration defined in the light source driving IC, the light source driving IC can judge that the light source is in OPEN circuit abnormity, at the moment, the light source driving IC can pull down a Falut signal, the Falut signal sends state change to the MCU for collection through the buffer, the MCU detects the change of the Fault signal of the channel through the I/O pin, and the light source working state indicator lamp operating the corresponding channel is changed from normal to abnormal display to prompt a user.

According to the battery power supply switching principle, a battery channel DC is directly connected to a drain electrode of a PMOSFET, a commercial power channel DC is connected to a grid electrode of the PMOSFET and is connected to a source electrode of the PMOSFET after being connected with a forward diode D in series, the grid electrode of the PMOSFET is pulled down by a 10K resistor, and the source electrode is the output end of the switching circuit. When the commercial power and the battery supply power simultaneously, the PMOSFET grid is at a high level, Ug is more than Us, SD is not conducted, the battery power supply is isolated, and the output is provided by the DC of the commercial power channel. When the commercial power disappears, the grid electrode of the PMOSFET is in a low level due to the existence of pull-down resistance, the source electrode of the PMOSFET is in a relatively high level state of about 0.7V due to the existence of a parasitic diode of the PMOSFET, Ug is less than Us, SD is conducted, and the output is provided by a battery channel DC.

According to the gear selection principle, a connector of a gear selection device is a 4pin base, wherein pins 1, 2 and 3 are 3I/O signals output by an MCU (microprogrammed control unit), the three I/O signals are set to be in an input mode inside the MCU, a 10K pull-up resistor is respectively connected to the outside of the MCU, and the rest pin 4 of the connector base is connected with a GND (ground potential) after being connected with a 37 omega resistor in series. 1. Pins 2 and 3 are in a high level state when not being conducted with pin 4, and are in a low level state when being conducted with pin 4. Thus, the range selection signal can be up to 8 combination states, 111, 110, 100, 101, 000, 001, 011, 010, depending on the type of externally connected range selector. A user can customize and develop MCU embedded software, and the gear selection function is used for switching the light source into at most 8 different states.

According to the USB communication circuit principle, a uart interface is designated by the MCU, and a uart-to-USB conversion chip is externally connected, so that the communication function of the MCU and an upper computer is realized. A user can send appointed command characters to the MCU from the USB port, and flexible control over all light source states is achieved.

The embodiment of this application provides a light source control circuit, light source control circuit includes: the device comprises an ACDC conversion module, a battery power supply switching module, a PWM module, a light source driving module, a light source abnormity feedback module, a gear selection module, a USB module and a light source abnormity state indication module; the ACDC conversion module is connected with the battery power supply switching module, the PWM module, the light source driving module, the light source abnormity feedback module, the gear selection module, the USB module and the light source abnormity state indication module are connected, and the PWM module is connected with the light source driving module. The embodiment of the application breaks through the technical problem that the traditional static star simulator cannot feed back the abnormal state of the star point light source in real time; the function that the traditional static star simulator cannot realize the use of either commercial power or battery power supply is broken through; the technical problem that the working state and parameters of a star point light source cannot be changed when the traditional static star simulator is separated from an upper computer is solved; the design of multifunction, multi-path output and flexible control is realized, and the control requirements of a plurality of star point light sources of the static star simulator are met.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.

While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:家电内消耗模块的安装状态指示方法、发光指示结构

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!