Temperature detection circuit, temperature detection method, and lamp

By setting up an automatic switching mechanism between the main control circuit and the slave control circuit in the lamp, the problem of abnormal temperature detection of the lamp light source is solved, the continuity and accuracy of temperature detection are achieved, maintenance costs are reduced and the service life of the light source is extended.

CN115265832BActive Publication Date: 2026-01-02GUANGZHOU CAIYI TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210872982.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-22
Publication Date
2026-01-02
Estimated Expiration
2042-07-22

AI Technical Summary

Technical Problem

When the temperature sensing device of the lamp light source is damaged and the connection pin of the controller is damaged, the controller cannot accurately obtain the temperature, which may cause the light source to burn out or the lamp to fail to light up. This results in high repair costs and a short lifespan for the light source.

Method used

Design a temperature detection circuit, including a main control circuit and multiple slave control circuits, to achieve automatic switching of abnormal detection signals through logic circuits and switching transistors, thereby ensuring the continuity and accuracy of temperature detection.

Benefits of technology

When the control circuit malfunctions, it automatically switches to another control circuit for temperature detection to prevent the light source from overheating and being damaged, reduce maintenance costs, and extend the life of the light source.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115265832B_ABST
    Figure CN115265832B_ABST
Patent Text Reader

Abstract

The application relates to a temperature detection circuit, a temperature detection method and a lamp. The temperature detection circuit comprises a main control circuit, a plurality of slave control circuits connected with the main control circuit and a temperature detection unit. The main control circuit is used for controlling the conduction of a passage between a first control circuit in the plurality of slave control circuits and the temperature detection unit. The first control circuit is used for acquiring a temperature signal of a to-be-detected object collected by the temperature detection unit. The main control circuit is further used for controlling the conduction of a passage between a second control circuit in the plurality of slave control circuits and the temperature detection unit in the case that the temperature signal is abnormal, and acquiring the temperature signal of the to-be-detected object collected by the temperature detection unit through the second control circuit. The temperature detection is realized by switching and controlling different slave control circuits, the situation that a light source is burnt or the lamp cannot be lighted due to the damage of a detection pin of the slave control circuit is avoided, the maintenance cost is greatly reduced, and the service life of the light source is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of temperature detection, in particular to a temperature detection circuit, a temperature detection method and a lamp. BACKGROUND

[0002] In the field of lighting, the light source of a lamp can not only emit light but also generate heat. When the lamp is used for a long time, the temperature of the light source in the lamp will become higher and higher, and in severe cases, the light source may be burned out or broken instantly.

[0003] Therefore, in order to prevent the temperature of the light source from being too high when the light source is turned on and to improve the safety of the lamp, a temperature detection device is usually placed near the light source of the lamp, and the temperature detection device is connected to the detection pin of the lamp controller. The controller can convert the signal collected by the temperature detection device into a temperature value and detect and control the temperature of the light source.

[0004] However, when the detection pin of the controller is damaged, the controller cannot accurately obtain the temperature of the light source, which may cause the light source to be burned out or the lamp to be unable to be turned on, resulting in high maintenance costs and a short service life of the light source. SUMMARY

[0005] Therefore, it is necessary to provide a temperature detection circuit, a temperature detection method, a lamp, a computer readable storage medium and a computer program product capable of improving the service life of the light source and reducing maintenance costs in view of the above technical problems.

[0006] In a first aspect, the present application provides a temperature detection circuit, comprising: a main control circuit, a plurality of slave control circuits connected to the main control circuit, and a temperature detection unit.

[0007] The main control circuit is configured to control the conduction of a path between a first control circuit in the plurality of slave control circuits and the temperature detection unit.

[0008] The first control circuit is configured to obtain a temperature signal of a to-be-detected object collected by the temperature detection unit.

[0009] The main control circuit is further configured to control the disconnection of the path between the first control circuit and the temperature detection unit and control the conduction of a path between a second control circuit in the plurality of slave control circuits and the temperature detection unit in the case where the temperature signal is abnormal.

[0010] In one embodiment, each slave control circuit comprises a logic circuit and a slave controller connected to the logic circuit, and the slave controller is connected to the main control circuit.

[0011] The main control circuit is further configured to send a temperature detection signal to the slave controller, and the temperature detection signal carries a target address.

[0012] a slave controller, configured to send a control signal to a corresponding logic circuit according to a target address;

[0013] a logic circuit, configured to turn on a path between the corresponding slave controller and the temperature detection unit, or turn on a path between the temperature detection unit and the logic circuit in the next stage of the slave control circuit according to the control signal.

[0014] In one of the embodiments, the logic circuit comprises a switch tube and a switch circuit, and the switch tube is connected with the slave controller and the switch circuit respectively.

[0015] The switch tube is configured to, when turned on according to the control signal, control the switch circuit to turn on the path between the corresponding slave controller and the temperature detection unit, and when turned off according to the control signal, control the switch circuit to turn on the path between the temperature detection unit and the logic circuit in the next stage of the slave control circuit.

[0016] In one of the embodiments, the slave controller is configured to, when the target address is consistent with the address of the slave controller, output a first control signal, and the switch tube is turned on when receiving the first control signal.

[0017] When the target address is not consistent with the address of the slave controller, a second control signal is output, and the switch tube is turned off when receiving the second control signal.

[0018] In one of the embodiments, the slave control circuit further comprises a signal processing circuit, and the signal processing circuit is connected with the corresponding logic circuit and the slave controller respectively.

[0019] The signal processing circuit is configured to, when the path between the corresponding slave controller and the temperature detection unit is turned on, process the temperature signal collected by the temperature detection unit, and send the processed temperature signal to the corresponding slave controller.

[0020] In one of the embodiments, the slave control circuit is configured to perform analog-to-digital conversion on the temperature signal to obtain a temperature value, judge whether the temperature signal is abnormal according to the temperature value and a preset threshold value, and send an indication signal to the main control circuit according to the judgment result.

[0021] The main control circuit is configured to determine whether the temperature signal is abnormal according to the indication signal.

[0022] In one of the embodiments, the indication signal carries a flag bit.

[0023] The main control circuit is configured to, when the flag bit is a first value, determine that the temperature signal is abnormal, and when the flag bit is a second value, determine that the temperature signal is normal.

[0024] In one of the embodiments, the slave control circuit is configured to perform analog-digital conversion on the temperature signal to obtain a temperature value, and send the temperature value to the master control circuit.

[0025] The master control circuit is configured to determine whether the temperature signal is abnormal according to the temperature value and a preset threshold value.

[0026] In one of the embodiments, the master control circuit is further configured to control the to-be-detected object to stop working when it is determined that all the temperature signals sent by the slave control circuits are abnormal.

[0027] In a second aspect, the present application further provides a temperature detection method applied to the temperature detection circuit according to any one of the first aspect, the temperature detection method comprising:

[0028] controlling the path between the first control circuit of the plurality of slave control circuits and the temperature detection unit to be conductive;

[0029] receiving a temperature signal of the to-be-detected object collected by the temperature detection unit and sent by the first control circuit;

[0030] when the temperature signal is abnormal, controlling the path between the first control circuit and the temperature detection unit to be non-conductive, and controlling the path between the second control circuit of the plurality of slave control circuits and the temperature detection unit to be conductive.

[0031] In one of the embodiments, the method further comprises:

[0032] receiving an indication signal sent by the slave control circuit; the indication signal is obtained by the slave control circuit after performing analog-digital conversion on the temperature signal of the to-be-detected object collected by the temperature detection unit, and is obtained by the slave control circuit after determining whether the temperature signal is abnormal according to the temperature value and a preset threshold value;

[0033] determining whether the temperature signal is abnormal according to the indication signal.

[0034] In one of the embodiments, the indication signal carries a flag bit; when the flag bit is a first value, it is determined that the temperature signal is abnormal, and when the flag bit is a second value, it is determined that the temperature signal is normal.

[0035] In one of the embodiments, the method further comprises:

[0036] receiving a temperature value sent by the slave control circuit; the temperature value is obtained by the slave control circuit after performing analog-digital conversion on the temperature signal of the to-be-detected object collected by the temperature detection unit;

[0037] determining whether the temperature signal is abnormal according to the temperature value and a preset threshold value.

[0038] In one of the embodiments, the method further comprises:

[0039] In a case where all temperature signals sent by the slave control circuits are determined to be abnormal, the control is stopped.

[0040] In a third aspect, the application further provides a lamp. The lamp comprises a light source and a temperature detection circuit according to any one of the first aspect.

[0041] The temperature detection circuit is configured to perform the temperature detection method according to any one of the second aspect.

[0042] In a fourth aspect, the application further provides a computer readable storage medium. The computer readable storage medium stores a computer program, and the computer program is configured to perform the temperature detection method according to any one of the second aspect when executed by a processor.

[0043] In a fifth aspect, the application further provides a computer program product. The computer program product comprises the temperature detection circuit according to any one of the first aspect and a computer program, and the computer program is configured to perform the temperature detection method according to any one of the second aspect when executed by a processor.

[0044] The temperature detection circuit, the temperature detection method, the lamp, the storage medium and the computer program product, the temperature detection circuit comprises a master control circuit, a plurality of slave control circuits connected to the master control circuit, and a temperature detection unit; the master control circuit is configured to control the conduction of a path between a first control circuit in the plurality of slave control circuits and the temperature detection unit; the first control circuit is configured to acquire a temperature signal of a to-be-detected object collected by the temperature detection unit; and the master control circuit is further configured to control the conduction of a path between a second control circuit in the plurality of slave control circuits and the temperature detection unit in a case where the temperature signal is abnormal, and acquire the temperature signal of the to-be-detected object collected by the temperature detection unit through the second control circuit. That is, by setting a plurality of slave control circuits for acquiring the temperature signal of the temperature detection unit, in a case where the detection pin of one of the slave control circuits is abnormal, the temperature can be automatically switched to another slave control circuit for continuous detection, so as to make up for the defect that the temperature cannot be accurately detected when the slave control circuit is abnormal, thereby avoiding the situation that the light source is burned out due to the temperature being too high or the lamp cannot be lit due to the temperature being unable to be accurately detected, greatly reducing the damage rate of the light source, reducing the maintenance cost, and further improving the service life of the light source. BRIEF DESCRIPTION OF DRAWINGS

[0045] Figure 1 FIG. 1 is a structural schematic diagram of a temperature detection circuit in an embodiment;

[0046] Figure 2 FIG. 2 is another structural schematic diagram of a temperature detection circuit in an embodiment;

[0047] Figure 3 Another structural schematic diagram of a temperature detection circuit in an embodiment;

[0048] Figure 4 Another structural schematic diagram of a temperature detection circuit in an embodiment;

[0049] Figure 5 A circuit structural schematic diagram of a logic circuit in an embodiment;

[0050] Figure 6 Another structural schematic diagram of a temperature detection circuit in an embodiment;

[0051] Figure 7 A circuit structural schematic diagram of a signal processing circuit in an embodiment;

[0052] Figure 8 A flow schematic diagram of a temperature detection method in an embodiment;

[0053] Figure 9 A working flow schematic diagram of a main control circuit in an embodiment;

[0054] Figure 10 A working flow schematic diagram of a slave control circuit in an embodiment;

[0055] Figure 11 A structural schematic diagram of a lamp in an embodiment;

[0056] Figure 12 An internal structural diagram of a controller in an embodiment. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.

[0058] First, before specifically introducing the technical solutions of the embodiments of the present disclosure, the technical background or technical evolution context based on which the embodiments of the present disclosure are introduced. In the field of lighting, lamps will use LED or halogen bubble as light source, the light source emits light while also generates heat. The reason for heating is because the added electrical energy will not be completely converted into light energy, but a part of it is converted into heat energy. Among them, the light efficiency of LED is only about 100 lm / W, and the electrical-to-optical conversion efficiency is about 20-30%, that is, about 70% of the electrical energy is converted into heat energy; and the electrical-to-optical efficiency of halogen bubble is even lower, and the incandescent lamp is as low as 15 lm / W.

[0059] The heat of the light source will cause the temperature in the lamp system to rise, and the light source will have a maximum temperature center that radiates outward. Once the temperature rises above the maximum temperature limit, the light source will rapidly degrade, the light efficiency will decrease, and the light source will be damaged or even explode.

[0060] In order to prevent the temperature from being too high when the light source is turned on, a temperature detector is usually placed near the light source. The temperature detector outputs a voltage value after signal filtering, which is input into a control chip on a functional module of the lamp to be converted into a temperature value. Then, the temperature value is combined with the control fan speed and the control light source power (current) to achieve a dynamic balance of the temperature of the light source.

[0061] However, many reasons such as damage of the controller detection pin due to surge impact, static shock, poor welding, and wire loosening, etc. can cause the controller to fail to detect the signal sent by the temperature detector. At this time, the controller cannot read the temperature data. In order to avoid heat runaway and damage to the light source or the lamp, the control logic does not allow the lamp to be turned on and displays a temperature abnormality on the display panel. The temperature detection abnormality is very difficult to repair, and the repair personnel need to disassemble the lamp and check it one by one with professional instruments. This requires repair personnel to have relatively high repair ability and be familiar with the circuit of the lamp to accurately find the detection ADC pin and check whether the soldering is virtual or not. However, more often, the detection pin of the controller is damaged due to impact, which requires replacement of a new controller, which cannot be completed on site. Therefore, the temperature abnormality basically needs to be returned to the factory for repair by professional personnel, which will generate a lot of repair costs and logistics costs, especially for foreign trade lamps, the repair cost will be very huge, and the service life of the lamp is relatively short.

[0062] Therefore, the embodiment of the present application provides a temperature detection circuit. A plurality of slave control circuits for acquiring the output signal of the temperature detector are arranged, and a logic combination circuit composed of a group of relays is controlled. The slave controller is automatically selected and switched according to the priority of the electrical structure. The slave controller controls the cooling fan and the light source power of the lamp system according to the real-time temperature data, so that the system reaches an optimal dynamic balance result. Once the slave controller fails to detect due to some reason, the system will automatically switch to other slave controllers to add temperature detection points to supplement the temperature data.

[0063] The temperature detection circuit provided by the embodiment of the present application has the characteristics of simple structure, convenient use, low cost, high reliability, etc. It can fully utilize the temperature detection resources of part or even all controllers in the lamp system, realize automatic switching in case of sudden abnormality in lamp system temperature detection, and realize seamless connection without any abnormality such as lamp turning off or flickering during use of the lamp.

[0064] The technical solution of this application and how it solves the above-mentioned technical problems will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.

[0065] Figure 1 This is a schematic diagram of the temperature detection circuit provided in an embodiment of this application. Figure 1 As shown, it includes: a main control circuit 11, multiple slave control circuits 12 connected to the main control circuit, and a temperature detection unit 13.

[0066] The main control circuit 11 is used to control the connection between the first control circuit in the multiple slave control circuits 12 and the temperature detection unit 13. The first control circuit is used to acquire the temperature signal of the object to be detected (not shown in the figure) collected by the temperature detection unit 13. The main control circuit 11 is also used to control the connection between the second control circuit in the multiple slave control circuits 12 and the temperature detection unit 13 when the temperature signal is abnormal, and to acquire the temperature signal of the object to be detected collected by the temperature detection unit 13 through the second control circuit.

[0067] Optionally, the first control circuit can be any one of the multiple slave control circuits 12, and the second control circuit can be any one of the multiple slave control circuits 12 other than the first control circuit. That is, the second control circuit is any one of the at least one slave control circuit 12 that has not experienced any abnormality. When determining the second control circuit, it can be randomly selected from the at least one slave control circuit 12 that has not experienced any abnormality, or it can be selected according to a preset order.

[0068] Optionally, each slave control circuit 12 can be independently connected to the temperature detection unit 13 (e.g., ...). Figure 1 (As shown), or, each slave control circuit 12 can be cascaded sequentially via electrical structure, and a communication path can be established between one of the slave control circuits 12 and the temperature detection unit 13; for example, as Figure 2 As shown, a connection path is set between the cascaded slave control circuit 1 and the temperature detection unit 13. The cascaded slave control circuit 2 can form a connection path between the slave control circuit 1 and the temperature detection unit 13. The cascaded slave control circuit 3 can form a connection path between the slave control circuit 2 and the slave control circuit 1 and the temperature detection unit 13, and so on.

[0069] For example, based on Figure 1As shown in the connection relationship, during temperature detection, the main control circuit 11 can randomly select a slave control circuit (such as slave control circuit 2) as the first control circuit, and obtain the temperature signal of the object to be detected collected by the temperature detection unit 13 through the first control circuit (slave control circuit 2). If the first control circuit (slave control circuit 2) malfunctions, the main control circuit 11 can randomly select another slave control circuit (such as slave control circuit 1) from other slave control circuits besides the first control circuit (slave control circuit 2) as the second control circuit, and connect the path between the second control circuit (slave control circuit 1) and the temperature detection unit 13, so that the temperature signal of the object to be detected collected by the temperature detection unit 13 can be obtained through the second control circuit (slave control circuit 1). It should be noted that if the first control circuit (slave control circuit 2) malfunctions, the main control circuit 11 can either disconnect the path between the first control circuit (slave control circuit 2) and the temperature detection unit 13, or it can keep the path between the two and only disable the temperature detection action of the first control circuit (slave control circuit 2) through software. This application embodiment does not specifically limit this.

[0070] At this time, the slave control circuit 1 becomes the new first control circuit. If the slave control circuit 1 malfunctions, the main control circuit 11 can randomly select another slave control circuit (such as slave control circuit n) from other slave control circuits besides the first control circuit (slave control circuit 1 and slave control circuit 2) as the second control circuit. At this time, the slave control circuit n becomes the new second control circuit. In this way, the temperature signal of the object to be detected collected by the temperature detection unit 13 can be obtained through the second control circuit (slave control circuit n); and so on.

[0071] For example, based on Figure 2 As shown in the connection relationship, when performing temperature detection, the main control circuit 11 can first use the slave control circuit 1 as the first control circuit, and obtain the temperature signal of the object to be detected collected by the temperature detection unit 13 through the slave control circuit 1. Optionally, the object to be detected can be a light source, which can be the light source of a lamp or the light source on other devices. The object to be detected can also be other objects with temperature changes. The type of object to be detected is not specifically limited in this application embodiment.

[0072] Then, in the case that the slave control circuit 1 appears an abnormality, the master control circuit 11 can take the next slave control circuit 2 cascaded with the slave control circuit 1 as the second control circuit, and control the slave control circuit 2 to turn on the connection between the slave control circuit 2 and the temperature detection unit 13 through the slave control circuit 1, so that the slave control circuit 2 can obtain the temperature signal of the object to be detected collected by the temperature detection unit 13, that is, in the case that one slave control circuit appears an abnormality, another slave control circuit can be switched to perform temperature detection.

[0073] It should be noted that the master control circuit 11 can also select other slave control circuits (such as the slave control circuit 3) cascaded with the slave control circuit 1 in turn as the second control circuit, and control the slave control circuit 3 to turn on the connection between the slave control circuit 3 and the temperature detection unit 13 through the slave control circuit 2 and the slave control circuit 1, so that the temperature signal of the object to be detected collected by the temperature detection unit 13 can be obtained through the slave control circuit 3; that is, in the case that one slave control circuit appears an abnormality, not only the next slave control circuit cascaded with the slave control circuit can perform temperature detection, but also other slave control circuits indirectly cascaded with the slave control circuit and not appearing an abnormality can also perform temperature detection; in actual application, the control strategy can be set according to actual needs, and the embodiment of the present application does not make specific limitation.

[0074] Optionally, in the case that the temperature signal of the object to be detected collected by the temperature detection unit is obtained through one of the slave control circuits 12 not appearing an abnormality, the slave control circuit 12 can send the obtained temperature signal to the master control circuit 11, so that the master control circuit 11 can obtain the real-time temperature value of the object to be detected according to the temperature signal; the slave control circuit 12 can also process the obtained temperature signal to obtain the temperature value corresponding to the temperature signal, and send the temperature value to the master control circuit 11 in real time.

[0075] Optionally, in the case that the master control circuit 11 / the slave control circuit 12 processes the obtained temperature signal, the processing operation can include but is not limited to filtering, analog-to-digital conversion, abnormality judgment and the like, wherein the abnormality judgment can include abnormality judgment of the temperature signal and abnormality judgment of the temperature value and the like; the embodiment of the present application does not limit the specific content of the processing operation and the abnormality judgment. For example, the slave control circuit 12 can perform analog-to-digital conversion on the temperature signal to obtain the temperature value, and send the temperature value to the master control circuit 11; the slave control circuit 12 can also send the temperature signal to the master control circuit 11, so that the master control circuit 11 performs analog-to-digital conversion on the temperature signal to obtain the temperature value.

[0076] Further, the main control circuit 11 can determine whether the slave control circuit 12 is abnormal according to the real-time temperature value of the object to be detected, that is, determine whether the detection pin for obtaining the temperature signal of the temperature detection unit in the slave control circuit 12 is abnormal; alternatively, the main control circuit 11 can determine whether the temperature signal is abnormal according to the temperature value and the preset threshold, so as to determine whether the slave control circuit 12 is abnormal; of course, the slave control circuit 12 can also determine whether the temperature signal is abnormal according to the temperature value of the object to be detected and the preset threshold, so as to determine whether the slave control circuit 12 is abnormal, and then the slave control circuit 12 can send the determination result of whether the slave control circuit 12 is abnormal to the main control circuit 11, so that the main control circuit 11 determines whether the slave control circuit 12 is abnormal according to the determination result. Alternatively, the determination result can be embodied in the form of an indication signal, which can include but is not limited to the form of a flag bit, the form of high and low levels of a pin, etc., and the form of the determination result is not limited in the embodiment of the application.

[0077] Alternatively, the slave control circuit 12 can send an indication signal to the main control circuit 11 according to the determination result, so that the main control circuit 11 determines whether the temperature signal is abnormal according to the indication signal; in the case that the indication signal is in the form of a flag bit, the main control circuit 11 can determine that the temperature signal is abnormal when the flag bit is a first value, and determine that the temperature signal is normal when the flag bit is a second value.

[0078] Illustratively, a flag bit FLAG can be set, and it is preset that the flag bit FLAG is 0 when the temperature is normal, and the flag bit FLAG is 1 when the temperature is abnormal; that is, when the slave control circuit 12 detects that the temperature is abnormal, the flag bit FLAG is set to 1, and when the temperature is normal, the flag bit FLAG is set to 0. Correspondingly, the main control circuit 11 can determine whether the slave control circuit 12 is abnormal by determining whether the flag bit FLAG is 0, that is, when it is determined that the flag bit FLAG is not 0, it is determined that the slave control circuit 12 is abnormal.

[0079] Optionally, the main control circuit 11 / slave control circuit 12 determines whether the slave control circuit 12 is abnormal according to the temperature value. The main control circuit 11 / slave control circuit 12 can determine whether the slave control circuit 12 is abnormal according to the temperature value and a preset temperature threshold. It should be noted that the preset temperature threshold can include one or more, for example, in the case that the temperature value exceeds a first preset temperature threshold, it is determined that the slave control circuit 12 is abnormal, and in the case that the temperature value is lower than a second preset temperature threshold, it is determined that the slave control circuit 12 is abnormal, wherein the first preset temperature threshold is greater than or much greater than the second preset temperature threshold. For example, in the case that the temperature value exceeds 100 degrees Celsius or the temperature is lower than -20 degrees Celsius in a normal environment, it is determined that the slave control circuit 12 is abnormal.

[0080] Optionally, in the case that the temperature value and the preset temperature threshold are used to determine whether the slave control circuit 12 is abnormal, it is determined that the slave control circuit 12 is abnormal only in the case that the temperature value is abnormal for a continuous preset time period. That is, in the case that the temperature value is abnormal in the detection, but the temperature is normal again in the preset time period, it is determined that the abnormal temperature is signal interference, and the temperature detection is continued. If the temperature is abnormal in the preset time period, that is, the temperature has not returned to the normal temperature after the preset time period, it is determined that the slave control circuit 12 is abnormal. For example, the preset time period can be 3s, 5s, 10s, etc., and the present application embodiment is not limited to this. Preferably, the preset time period can be 5s.

[0081] Optionally, the main control circuit 11 / slave control circuit 12 can include but is not limited to a circuit composed of an MCU, a CPU, a DSP, a programmable logic device, etc. The main control circuit 11 / slave control circuit 12 can have an analog-to-digital conversion function unit, and can receive an analog voltage and perform digital conversion. The temperature detection unit 13 includes but is not limited to an NTC thermistor, an active temperature sensor, a temperature detection IC, etc. The device is attached near the light source, is closest to the light source, receives the heat level of the light source, feeds back a temperature signal, and the transmission format of the temperature signal can be a voltage value, serial communication data, etc.

[0082] In the embodiment, the temperature detection circuit comprises a main control circuit, a plurality of slave control circuits connected with the main control circuit, and a temperature detection unit; the main control circuit is configured to control the conduction of a path between a first control circuit in the plurality of slave control circuits and the temperature detection unit; the first control circuit is configured to acquire a temperature signal of a to-be-detected object collected by the temperature detection unit; the main control circuit is further configured to control the conduction of a path between a second control circuit in the plurality of slave control circuits and the temperature detection unit in the case where the temperature signal is abnormal, and acquire the temperature signal of the to-be-detected object collected by the temperature detection unit through the second control circuit. That is, by arranging a plurality of slave control circuits for acquiring the temperature signal of the temperature detection unit, in the case where the detection pin of one of the slave control circuits is abnormal, the temperature can be automatically switched to another slave control circuit for continuous detection, so as to compensate for the defect that the temperature cannot be accurately detected in the case where the slave control circuit is abnormal, and thus the situation that the light source is burned out due to the temperature being too high or the lamp cannot be lit due to the temperature being too high can be avoided, the damage rate of the light source can be greatly reduced, the maintenance cost can be reduced, and the service life of the light source can be further improved.

[0083] In an optional embodiment of the present application, as shown in Figure 3 each slave control circuit 12 comprises a logic circuit 121 and a slave controller 122 connected with the logic circuit, and the slave controller 122 is connected with the main control circuit 11. The main control circuit 11 is further configured to send a temperature detection signal to the slave controller 122; the temperature detection signal carries a target address; the slave controller 122 is configured to send a control signal to the corresponding logic circuit 121 according to the target address; and the logic circuit 121 is configured to conduct a path between the corresponding slave controller 122 and the temperature detection unit 13, or conduct a path between the temperature detection unit 13 and the logic circuit 121 in the next-level slave control circuit 12 according to the control signal.

[0084] That is, in the embodiment, based on the above Figure 2 each slave control circuit is connected in sequence through the logic circuit in each slave control circuit, that is, the logic circuit in each slave control circuit is connected in turn with the slave controller in the slave control circuit and the logic circuit in the next-level slave control circuit, and based on this, the logic circuit in the slave control circuit is further connected in turn with the logic circuit in the previous-level slave control circuit.

[0085] Exemplarily, the logic circuit 1 in the slave control circuit 1 is connected with the temperature detection unit 13, and the logic circuit 1 in the slave control circuit 1 is also connected with the slave controller 1 in the slave control circuit 1 and the logic circuit 2 in the slave control circuit 2 respectively; the logic circuit 2 in the slave control circuit 2 is connected with the logic circuit 1 in the control circuit 1, the slave controller 2 in the slave control circuit 2 and the logic circuit 3 in the slave control circuit 3 respectively; and so on.

[0086] Based on this, the implementation principle can be: the main control circuit 11 sends a temperature detection signal to the slave controller 122 in each slave control circuit 12, the temperature detection signal carries a target address corresponding to a certain slave controller 122, and each slave controller 122 judges whether the target address carried in the temperature detection signal is consistent with the address of itself after receiving the temperature detection signal, and sends a control signal to the logic circuit 121 connected with the slave controller 122 according to the result of whether the addresses are consistent. Wherein, when the slave controller 122 determines that the target address is consistent with the address of itself, a first control signal is output, and the logic circuit 121 connected with the slave controller 122 turns on the path between the slave controller 122 and the temperature detection unit 13 according to the first control signal; when the slave controller 122 determines that the target address is inconsistent with the address of itself, a second control signal is output, and the logic circuit 121 connected with the slave controller 122 turns on the path between the temperature detection unit 13 and the logic circuit 121 in the next level of slave control circuit 12 according to the second control signal. It should be noted that the first control signal and the second control signal are different, and the specific forms of the first control signal and the second control signal are not limited in the embodiment of the application, which can be set according to engineering needs in actual application.

[0087] Exemplarily, if the temperature detection signal carries the address of the slave controller 1, for the slave control circuit 1, the logic circuit 1 turns on the path between the temperature detection unit 13 and the slave controller 1 (as shown by the thick solid line in FIG. 1 Figure 3 If the temperature detection signal carries the address of the slave controller 2, for the slave control circuit 1, the logic circuit 1 turns on the path between the temperature detection unit 13 and the logic circuit 2, and for the slave control circuit 2, the logic circuit 2 turns on the path between the logic circuit 1 and the slave controller 2; in this way, the paths between the temperature detection unit 13, the logic circuit 1, the logic circuit 2 and the slave controller 2 are turned on (as shown by the thick dashed line in FIG. 1 Figure 3 If the temperature detection signal carries the address of the slave controller 2, for the slave control circuit 1, the logic circuit 1 turns on the path between the temperature detection unit 13 and the logic circuit 2, and for the slave control circuit 2, the logic circuit 2 turns on the path between the logic circuit 1 and the slave controller 2; in this way, the paths between the temperature detection unit 13, the logic circuit 1, the logic circuit 2 and the slave controller 2 are turned on (as shown by the thick dashed line in FIG. 1

[0088] If the temperature detection signal carries the address from the controller 3, for the slave control circuit 1, the logic circuit 1 turns on the path between the temperature detection unit 13 and the logic circuit 2, for the slave control circuit 2, the logic circuit 2 turns on the path between the logic circuit 1 and the logic circuit 3, for the slave control circuit 3, the logic circuit 3 turns on the path between the logic circuit 2 and the slave controller 3; in this way, the paths between the temperature detection unit 13, the logic circuit 1, the logic circuit 2, the logic circuit 3 and the slave controller 3 are turned on, so that the slave controller 3 can obtain the temperature signal collected by the temperature detection unit 13.

[0089] And so on.

[0090] In the embodiment, each slave control circuit includes a logic circuit and a slave controller connected with the logic circuit, and the slave controller is connected with the master control circuit; the master control circuit is further configured to send a temperature detection signal to the slave controller; the temperature detection signal carries a target address; the slave controller is configured to send a control signal to the corresponding logic circuit according to the target address; and the logic circuit is configured to turn on a path between the corresponding slave controller and the temperature detection unit according to the control signal, or turn on a path between the temperature detection unit and the logic circuit in the next-level slave control circuit; that is, in the embodiment, the slave control circuits are cascaded in turn through the logic circuits, avoiding setting paths between the slave control circuits and the temperature detection unit, so that the circuit structure of the temperature detection circuit can be simplified, the compactness of the circuit structure is improved, and the size of the entire temperature detection circuit is reduced.

[0091] In an optional embodiment of the present application, as shown in Figure 4 The above logic circuit 121 includes a switch tube 1211 and a switch circuit 1212, and the switch tube 1211 is connected with the slave controller 122 and the switch circuit 1212 respectively; when the switch tube 1211 is turned on according to the control signal, the switch circuit 1212 is controlled to turn on a path between the corresponding slave controller 122 and the temperature detection unit 13; and when the switch tube 1211 is turned off according to the control signal, the switch circuit 1212 is controlled to turn on a path between the temperature detection unit 13 and the logic circuit 121 in the next-level slave control circuit 12.

[0092] Optionally, the switch tube 1211 can include but is not limited to a triode, a thyristor, a field effect transistor, a transistor and the like, and can be controlled by the slave controller to be turned on / off (or off), so that the switch tube 1211 can control the switch circuit 1212 to select different paths to be turned on in different states. It should be noted that when the type of the switch tube is different, the circuit structure of the corresponding switch circuit can also be different, and therefore, the circuit structure of the switch circuit is not limited in the embodiment of the present application.

[0093] Optionally, the slave controller can output a first control signal when determining that the target address is consistent with the address of itself, and the switch tube is turned on when receiving the first control signal; the slave controller can output a second control signal when determining that the target address is inconsistent with the address of itself, and the switch tube is turned off when receiving the second control signal.

[0094] Exemplarily, in the case that the switch tube 1211 is an NPN control triode, the logic circuit 121 composed of the switch tube 1211 and the switch circuit 1212 can include one single-pole double-throw relay K1, a freewheeling diode D1, an NPN control triode Q1, and at least one resistor R1 and R2, and the connection relationship can be as shown in the figure. Figure 5 It should be noted that, Figure 5 The connection of the single-pole double-throw relay K1 in the logic circuit is described by taking the slave control circuit 1 as an example. For the slave control circuit 1, the 0 end of the single-pole double-throw relay K1 is connected to the temperature detection unit 13, the 1 end of the single-pole double-throw relay K1 is connected to the slave controller 1, and the 2 end of the single-pole double-throw relay K1 is connected to the 0 end of the single-pole double-throw relay K1 in the logic circuit 2. Correspondingly, for the slave control circuit 2, the 0 end of the single-pole double-throw relay K1 is connected to the 2 end of the single-pole double-throw relay K1 in the logic circuit 1, the 1 end of the single-pole double-throw relay K1 is connected to the slave controller 2, and the 2 end of the single-pole double-throw relay K1 is connected to the 0 end of the single-pole double-throw relay K1 in the logic circuit 3. Similarly, the connection of the single-pole double-throw relay K1 in the logic circuit is described by taking the slave control circuit 1 as an example.

[0095] The implementation principle can be: the master control circuit 11 sends a temperature detection signal to the slave controller 122 in each slave control circuit 12, the temperature detection signal carries a target address corresponding to a certain slave controller 122, and each slave controller 122 judges whether the target address carried in the temperature detection signal is consistent with the address of itself after receiving the temperature detection signal, and outputs a corresponding control signal to control the conduction and cutoff of the NPN control triode Q1; wherein the slave controller 122 outputs a first control signal (i.e. a high-level signal) when determining that the target address is consistent with the address of itself, so that the NPN control triode Q1 is turned on, and then the single-pole double-throw relay K1 is turned on at the 0 end and the 1 end; the slave controller 122 outputs a second control signal (i.e. a low-level signal) when determining that the target address is inconsistent with the address of itself, so that the NPN control triode Q1 is turned off, and then the single-pole double-throw relay K1 is turned on at the 0 end and the 2 end. Exemplarily, the ordinary I / O port of the slave controller 122 can be connected with the base of the NPN control triode Q1, and different control signals can be output through the high / low level of the I / O port, so as to control the conduction / cutoff state of the NPN control triode Q1.

[0096] For the slave control circuit 1, when the single pole double throw relay K1 in the logic circuit 1 is turned on at the 0 end and the 1 end, the logic circuit 1 turns on the path between the temperature detection unit 13 and the slave controller 1; when the single pole double throw relay K1 in the logic circuit 1 is turned on at the 0 end and the 2 end, the logic circuit 1 turns on the path between the temperature detection unit 13 and the logic circuit 2.

[0097] For the slave control circuit 2, when the single pole double throw relay K1 in the logic circuit 2 is turned on at the 0 end and the 1 end, the logic circuit 2 turns on the path between the logic circuit 1 and the slave controller 2; when the single pole double throw relay K1 in the logic circuit 2 is turned on at the 0 end and the 2 end, the logic circuit 2 turns on the path between the logic circuit 1 and the logic circuit 3.

[0098] And so on.

[0099] In the embodiment, the above-mentioned logic circuit includes a switch tube and a switching circuit, the switch tube is connected with the slave controller and the switching circuit respectively; the switch tube is used for, when turned on according to a control signal, controlling the switching circuit to turn on the path between the corresponding slave controller and the temperature detection unit; when turned off according to the control signal, controlling the switching circuit to turn on the path between the temperature detection unit and the logic circuit in the next stage of the slave control circuit; that is, a specific logic circuit structure is provided in the embodiment, and the implementability of the logic circuit can be improved.

[0100] In an optional embodiment of the present application, as shown in Figure 6 The above-mentioned slave control circuit 12 further includes a signal processing circuit 123, the signal processing circuit 123 is connected with the corresponding logic circuit 121 and the slave controller 122 respectively; the signal processing circuit 123 is used for, in the case that the path between the corresponding slave controller 122 and the temperature detection unit 13 is turned on, processing the temperature signal collected by the temperature detection unit 13, and sending the processed temperature signal to the corresponding slave controller 122.

[0101] Optionally, the temperature signal output by the temperature detection unit 13 can be an analog signal, and the signal processing circuit 123 is used for processing the analog signal, including but not limited to filtering the analog signal; optionally, the signal processing circuit 123 can include a filtering inductor L1 and L2, a filtering capacitor C1, a current limiting resistor R3 and R4, a voltage stabilizing diode D2, and the like, and the connection mode can be as shown in Figure 7 Wherein, Figure 7 In the connection mode, the slave controller connected with the signal processing circuit 123 can be an ADC unit of the slave controller, the temperature signal is read through the ADC detection port of the slave controller, and the temperature signal is converted into temperature data, that is, a temperature value.

[0102] The temperature signal output by the temperature detection unit 13 is filtered by the signal processing circuit 123, so that the interference received by the to-be-detected object can be effectively removed; it should be noted that the circuit structure of the signal processing circuit is different for different to-be-detected objects, different interference received by the to-be-detected object, different functions of the to-be-detected object, etc. For example, for different lamps, the interference received by the light source circuit in the lamp is different, so the circuit structure of the signal processing circuit or the parameters of the electrical components involved in the circuit structure are also different, and the processing effect achieved is naturally different.

[0103] Exemplarily, when the temperature detection circuit in each of the above embodiments is applied to temperature detection of the light source in the lamp system, part or even all of the controller temperature detection resources in the lamp system can be fully utilized to build a new mode of temperature detection system architecture, so that automatic switching of the corresponding temperature detection controller can be realized in time when a sudden abnormality occurs in the lamp system temperature detection, and temperature data collection can be continued, thereby greatly reducing the lamp extinguishing caused by temperature abnormality and temperature error in the traditional architecture. A certain buffer time is given when an abnormality occurs, and the temperature detection controller is immediately switched, effective temperature data is fed back in time, seamless connection is realized, and the lamp will have fewer abnormal performances such as not lighting and flickering due to temperature detection problems during use, greatly enhancing the customer experience. The detection resources in the lamp system are fully utilized, the service life of the lamp is longer, and the maintenance cost is lower.

[0104] In an optional embodiment of the present application, the main control circuit 11 can also control the to-be-detected object to stop working when it is determined that all temperature signals sent by the slave control circuits 12 are abnormal, that is, when the detection pins for acquiring the temperature signals of the temperature detection units in each slave control circuit 12 are all abnormal, that is, all slave control circuits 12 cannot accurately detect the temperature, the light source can be controlled to be turned off, and a temperature abnormality prompt information can be output. The prompt information can be output and displayed through the display panel on the lamp, or the prompt information can be sent to the user terminal to remind the user that the lamp has a temperature abnormality.

[0105] In an optional embodiment of the present application, the main control circuit 11 can also control the system fan and the light source power to dynamically adjust according to the real-time temperature value of the object to be detected, so as to realize the thermal dynamic balance of the object to be detected and avoid overheating of the object to be detected. Optionally, the main control circuit 11 can output a pulse width signal to the fan circuit and the light source driving circuit through a pulse width PWM output port, wherein the main control circuit 11 is in communication connection with the fan circuit and the light source driving circuit, the fan circuit is used to drive the system fan to work, and the light source driving circuit is used to control the light source power to drive the light source to emit light. It should be noted that the thermal dynamic balance can also be realized by the slave controller, that is, the fan circuit and the light source driving circuit are controlled according to the temperature value of the object to be detected by the slave controller of the current detection temperature, and the implementation principle is similar to that of the main control circuit 11, which will not be described here.

[0106] In one embodiment, as shown in Figure 8 a temperature detection method is provided, which is applied to the temperature detection circuit in each of the above embodiments, and the method comprises the following steps:

[0107] Step 801: Control the conduction of the path between the first control circuit in the plurality of slave control circuits and the temperature detection unit.

[0108] Step 802: Receive the temperature signal of the object to be detected collected by the temperature detection unit sent by the first control circuit.

[0109] Step 803: In the case that the temperature signal is abnormal, control the conduction of the path between the second control circuit in the plurality of slave control circuits and the temperature detection unit, and acquire the temperature signal of the object to be detected collected by the temperature detection unit through the second control circuit.

[0110] Optionally, the structure of the temperature detection circuit shown in the above Figure 3 is taken as an example, the main control circuit can select the first control circuit and the second control circuit according to the preset addresses of each slave controller, and send a temperature detection signal carrying a target address to each slave controller, so that the slave controller corresponding to the target address can start the temperature detection operation, and realize the automatic switching of each slave control circuit.

[0111] Exemplarily, the temperature detection command can be sent according to a preset address A and a maximum address A+n, the address A is generally started from 1, that is, the controller on a PCBA board connected with the temperature detection unit is regarded as the first slave controller, and the address is set to 1, which is determined by the sequence of the electrical wiring of the lamp system. The controller on another PCBA board connected with the first slave controller is regarded as the second slave controller, and so on. The maximum address A+n, in which n is the number of slave controllers. In this way, each slave controller has its own fixed address, and the temperature detection instruction sent by the master control circuit contains address data, so that the slave controller can know whether to execute the temperature detection operation according to the temperature detection instruction sent by the master control circuit according to the address data.

[0112] Exemplarily, in the initial temperature detection, the master control circuit can start temperature detection from the first slave controller by default, and send a temperature detection instruction to each slave controller carrying the target address of the first slave controller. At this time, the first slave controller acquires the temperature signal collected by the temperature detection unit and converts the temperature signal into a temperature value through analog-to-digital conversion, and sends the temperature value to the master control circuit. In the case that the first slave controller appears an abnormality, the master control circuit can obtain the address of the second slave controller by adding 1 to the address of the first slave controller, and send a temperature detection instruction to each slave controller carrying the target address of the second slave controller, so as to automatically switch to the next slave controller to execute the temperature detection task, that is, through the second slave controller to continue to acquire the temperature signal collected by the temperature detection unit and convert the temperature signal into a temperature value through analog-to-digital conversion, and send the temperature value to the master control circuit. The above process is repeated.

[0113] The master control circuit can determine whether the slave controller appears an abnormality in two ways.

[0114] The first way is that the master control circuit receives an indication signal sent by the slave control circuit, and determines whether the temperature signal appears an abnormality according to the indication signal. In the case that it is determined that the temperature signal appears an abnormality, it is determined that the slave controller in the slave control circuit appears an abnormality. The indication signal is a temperature value obtained by the slave control circuit after analog-to-digital conversion of the temperature signal of the detected object collected by the temperature detection unit, and is obtained by determining whether the temperature signal appears an abnormality according to the temperature value and a preset threshold. Optionally, the indication signal can carry a flag bit. When the flag bit is a first value, it is determined that the temperature signal appears an abnormality, and when the flag bit is a second value, it is determined that the temperature signal is normal.

[0115] Based on the above examples, when the slave controller 1 performs the temperature detection task, the slave controller 1 can further determine whether the temperature value is abnormal by the temperature value and the preset threshold after obtaining the temperature value of the object to be detected, and set the flag bit FLAG to 0 in the case of no abnormality in temperature detection, and set the flag bit FLAG to 1 in the case of abnormality in temperature detection; the slave controller 1 also sends the flag bit FLAG to the main control circuit, so that the main control circuit determines whether the slave controller 1 is abnormal according to the flag bit FLAG.

[0116] Secondly, the main control circuit can also receive the temperature value sent by the slave control circuit, and determine whether the temperature signal is abnormal according to the temperature value and the preset threshold; wherein the temperature value is the temperature value obtained after the slave control circuit performs analog-to-digital conversion on the temperature signal of the object to be detected collected by the temperature detection unit.

[0117] That is, the main control circuit can also determine whether the slave controller currently working is abnormal according to the temperature value.

[0118] Further, when the slave controller is switched, the lamp state can also be controlled to remain for a preset time length, such as 10 seconds, to ensure the generation of the new temperature detection instruction of the main control circuit and the normal performance of the lamp, and improve the reliability of the temperature detection switching and the stability of the lamp operation.

[0119] Further, when the slave controller is switched, it can also be determined whether the address of the current switched slave controller is greater than the maximum address A+n, that is, whether there is a next level slave controller for the current abnormal slave controller, and in the case of a next level slave controller, a new temperature detection instruction is returned according to the address of the next level slave controller, and in the case of no next level slave controller, a preset control instruction can be executed, such as an instruction to turn off the lamp light source; that is, in the case of determining that all temperature signals sent by the slave control circuit are abnormal, the object to be detected is controlled to stop working.

[0120] In the temperature detection method, the main control circuit controls the conduction of a path between a first control circuit of the plurality of slave control circuits and the temperature detection unit, receives a temperature signal of the object to be detected collected by the temperature detection unit and sent by the first control circuit, controls the conduction of a path between a second control circuit of the plurality of slave control circuits and the temperature detection unit in the case of an abnormal temperature signal, and acquires the temperature signal of the object to be detected collected by the temperature detection unit through the second control circuit. That is, by arranging a plurality of slave control circuits for acquiring the temperature signal of the temperature detection unit, in the case of an abnormal detection pin of one of the slave control circuits, the temperature can be automatically switched to another slave control circuit for continuous detection, so as to compensate for the defect that the temperature cannot be accurately detected in the case of an abnormal slave control circuit, thereby avoiding the case that the light source is burned out due to the inaccurate detection of the temperature, greatly reducing the damage rate of the light source, reducing the maintenance cost, and further prolonging the service life of the light source.

[0121] In one embodiment, as shown in Figure 9 the control flow diagram of the main control circuit is provided, and the main control circuit is taken as the execution subject to illustrate the following steps:

[0122] Step 901, sending a temperature detection command according to a preset address A and a maximum address A+n;

[0123] Step 902, receiving a temperature abnormality flag FLAG of the slave controller A;

[0124] Step 903, judging whether the value of the flag FLAG is 0;

[0125] Step 904, if the value of the flag FLAG is 0, receiving the temperature data of the slave controller A; when the flag FLAG is 0, it indicates that the temperature detection is normal, and the temperature data sent by the slave controller A can be read according to the address A;

[0126] Step 905, if the value of the flag FLAG is not 0, the address +1, and the lamp state is maintained for 10 seconds; when the flag FLAG is 1, it indicates that the temperature detection is abnormal, the address +1, and the purpose is to return the main controller to require the next slave controller to execute the temperature detection task according to the new address; at this time, the lamp state is maintained for 10 seconds, in order to ensure that the new instruction of the main controller is generated and the lamp has no abnormal performance;

[0127] Step 906, judging whether the address is greater than A+n; here, it is judged whether there is a next slave controller for the temperature detection of the slave controller, and if there is a next slave controller, the temperature detection command of the next slave controller is returned to the main control circuit for execution; if there is no next slave controller, it will enter step 907;

[0128] Step 907, issue a command to close the light source; when all slave controllers cannot detect temperature data, the lamp finally prompts temperature anomaly and closes the light source.

[0129] In one embodiment, as shown in Figure 10 the control flow diagram of the slave control circuit is provided to illustrate the slave control circuit as the execution subject, including the following steps:

[0130] Step 1001, receive the temperature detection command sent by the master control circuit; each slave controller will judge whether it is arranged to complete the temperature detection task according to the address in the instruction data packet sent by the master control circuit;

[0131] Step 1002, select channel 1 and read temperature data; the selected slave controller outputs the first control signal to the logic circuit and controls the logic circuit to select the channel, that is, controls the relay in the logic circuit to connect the 0 end and the 1 end to select channel 1 and read temperature data;

[0132] Step 1003, judge whether the temperature range is normal within 5s; for example, when the temperature exceeds 100 degrees Celsius or the temperature is lower than -20 degrees Celsius in the normal environment within 5s, it is judged that a fault occurs and an anomaly occurs; otherwise, it is normal temperature data;

[0133] Step 1004, if normal, send the temperature data to the master control circuit; when the slave controller detects that the temperature data is in the normal range, the slave controller sends the temperature data to the master controller;

[0134] Step 1005, if abnormal, switch to channel 2 and set FLAG=1; when the slave controller detects that the temperature data is not in the normal range, the slave controller sets the flag bit FLAG to 1; the slave controller changes the channel control signal of the logic circuit, that is, outputs the second control signal, so that the relay connects the 0 end and the 2 end, that is, disconnects channel 1 and connects channel 2, so that the temperature signal detected by the temperature detection unit goes to the next level slave controller.

[0135] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0136] In one embodiment, such as Figure 11 As shown, a lamp 20 is provided, which includes a light source 21 and a temperature detection circuit 22 as described in any of the above embodiments. The temperature detection circuit 22 is used to execute the temperature detection method as described in any of the above embodiments. The structure and implementation principle of the temperature detection circuit can be referred to the various embodiments of the temperature detection circuit described above, and the implementation process of the temperature detection method can also be referred to the above method embodiments, which will not be repeated here.

[0137] In one embodiment, such as Figure 12 As shown, a controller is provided, which can be the master controller in the aforementioned main control circuit or a slave controller in various slave control circuits. The controller includes a processor, memory, communication interface, and input / output devices connected via a system bus. The processor provides computation and control functions; the memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs, and the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium; the communication interface is used for wired or wireless communication with external terminals, including but not limited to Wi-Fi, carrier networks, and NFC; the input / output devices can be various combinations of human-computer interaction devices such as LCD screens, OLED screens, digital display tubes, touch buttons, tactile buttons, and rotary switches; when the computer program is executed by the processor, it implements a method for temperature detection and management of stage lighting fixtures.

[0138] For example, the controller includes a processor and a memory, the processor executing a computer program to implement the steps in the above method embodiments, and the memory storing the computer program.

[0139] Those skilled in the art will understand that Figure 12The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0140] In one embodiment, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the steps of the temperature detection method in the above embodiments.

[0141] In one embodiment, a computer program product is provided, and the computer program product includes a computer program. The computer program is executed by a processor to implement the steps of the temperature detection method in the above embodiments.

[0142] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric memory (Ferroelectric Random Access Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.

[0143] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application.

[0144] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be noted that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A temperature detection circuit, characterized in that, include: The main control circuit, multiple slave control circuits connected to the main control circuit, and a temperature detection unit; The main control circuit is used to control the connection between the first control circuit in the plurality of slave control circuits and the temperature detection unit. The first control circuit is used to acquire the temperature signal of the object to be detected collected by the temperature detection unit, wherein the object to be detected is a light source, and the light source is the light source of a lamp. The main control circuit is also used to control the connection between the second control circuit in the plurality of slave control circuits and the temperature detection unit when the temperature signal is abnormal, and to obtain the temperature signal of the object to be detected collected by the temperature detection unit through the second control circuit, and to control the lamp to maintain the state for a preset time; and to issue a command to turn off the light source of the lamp when it is determined that the temperature signals sent by all the slave control circuits are abnormal. Specifically, when the temperature value of the temperature signal is abnormal within a continuous preset time period, it is determined that the temperature signal is abnormal. Each of the slave control circuits includes a logic circuit and a slave controller connected to the logic circuit, the slave controller being connected to the master control circuit; The main control circuit is also used to send a temperature detection signal to the slave controller; the temperature detection signal carries a target address; The slave controller is configured to send control signals to the corresponding logic circuit according to the target address; The logic circuit is used to connect the corresponding slave controller and the temperature detection unit according to the control signal, or to connect the temperature detection unit and the logic circuit in the next-level slave control circuit.

2. The temperature detection circuit according to claim 1, characterized in that, The logic circuit includes a switching transistor and a switching circuit, wherein the switching transistor is connected to the slave controller and the switching circuit respectively; The switching transistor is used to control the switching circuit to open the corresponding path between the slave controller and the temperature detection unit when the control signal is turned on. When the control signal is turned off, the switching circuit is controlled to open the path between the temperature detection unit and the logic circuit in the next-level slave control circuit.

3. The temperature detection circuit according to claim 2, characterized in that, The slave controller is configured to output a first control signal when the target address matches its own address, and the switching transistor is turned on upon receiving the first control signal; When the target address is inconsistent with its own address, a second control signal is output, and the switching transistor is turned off upon receiving the second control signal.

4. The temperature detection circuit according to claim 2 or 3, characterized in that, The slave control circuit further includes a signal processing circuit, which is connected to the corresponding logic circuit and the slave controller respectively. The signal processing circuit is used to process the temperature signal collected by the temperature detection unit when the path between the corresponding slave controller and the temperature detection unit is open, and to send the processed temperature signal to the corresponding slave controller.

5. The temperature detection circuit according to claim 2 or 3, characterized in that, The slave control circuit is used to perform analog-to-digital conversion on the temperature signal to obtain a temperature value; determine whether the temperature signal is abnormal based on the temperature value and a preset threshold, and send an indication signal to the master control circuit based on the determination result. The main control circuit is used to determine whether the temperature signal is abnormal based on the indication signal.

6. The temperature detection circuit according to claim 5, characterized in that, The indication signal carries a flag bit; The main control circuit is used to determine that the temperature signal is abnormal when the flag bit is at a first value, and to determine that the temperature signal is normal when the flag bit is at a second value.

7. A temperature detection method, characterized in that, The temperature detection method is applied to the temperature detection circuit as described in any one of claims 1 to 6, and the temperature detection method includes: The path between the first control circuit in the plurality of slave control circuits and the temperature detection unit is connected; The system receives the temperature signal of the object to be detected collected by the temperature detection unit and sent by the first control circuit. The object to be detected is a light source, and the light source is the light source of a lamp. In the event of an abnormal temperature signal, the path between the first control circuit and the temperature detection unit is disconnected, and the path between the second control circuit in the plurality of slave control circuits and the temperature detection unit is opened, and the lamp state is maintained for a preset time; if it is determined that the temperature signals sent by all the slave control circuits are abnormal, an instruction to turn off the light source of the lamp is issued. Specifically, when the temperature value of the temperature signal is abnormal within a continuous preset time period, it is determined that the temperature signal is abnormal. The method further includes: The main control circuit sends a temperature detection signal to the slave controller; the temperature detection signal carries a target address. The controller sends a control signal to the corresponding logic circuit based on the target address. The control signal can be used to establish a connection between the corresponding slave controller and the temperature detection unit, or to establish a connection between the temperature detection unit and the logic circuit in the next-level slave control circuit.

8. The method according to claim 7, characterized in that, The method further includes: The control circuit receives an indication signal sent by the control circuit. The indication signal is a temperature value obtained by the control circuit after performing analog-to-digital conversion on the temperature signal of the object to be detected collected by the temperature detection unit, and then determining whether the temperature signal is abnormal based on the temperature value and a preset threshold. Determine whether the temperature signal is abnormal based on the indicated signal.

9. The method according to claim 8, characterized in that, The indication signal carries a flag bit; When the flag bit is at the first value, it is determined that the temperature signal is abnormal; when the flag bit is at the second value, it is determined that the temperature signal is normal.

10. The method according to any one of claims 7 to 9, characterized in that, The method further includes: If it is determined that all the temperature signals sent from the control circuit are abnormal, the object to be tested is controlled to stop working.

11. A lighting fixture, comprising a light source, characterized in that, The lamp further includes a temperature detection circuit as described in any one of claims 1 to 6; The temperature detection circuit is used to perform the temperature detection method as described in any one of claims 7 to 10.

Citation Information

Patent Citations

  • Main-slave dual-standby subglacial lake recoverable detector measurement and control system and method

    CN108363291A

  • Computer motherboard circuit

    CN208766642U