Charging circuits, charging methods, electronic devices, and storage media

By real-time detection and dynamic adjustment of the charging bus voltage, the problems of energy waste and alarm delay in the light alarm are solved, and more efficient capacitor charging and stable operation of the light-emitting unit are achieved.

CN117639143BActive Publication Date: 2026-11-17SIEMENS SCHWEIZ AG
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211003456.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-19
Publication Date
2026-11-17
Estimated Expiration
2042-08-19

AI Technical Summary

Technical Problem

Existing light alarms suffer from energy waste and alarm delays during the charging process. In particular, the capacitor voltage needs to be charged to a high level to meet the needs of the light-emitting unit, resulting in long charging times and unnecessary energy consumption.

Method used

A line voltage detection circuit is used to detect the charging bus voltage in real time. The capacitor voltage is dynamically adjusted by a boost circuit and a controller to keep it at the target voltage level when the light-emitting unit flashes, thus avoiding unnecessary overcharging.

Benefits of technology

This reduces energy waste and alarm delay in the light alarm, ensures the normal operation of the light-emitting unit, and avoids the generation of large current in the charging bus.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117639143B_ABST
    Figure CN117639143B_ABST
Patent Text Reader

Abstract

This application provides a charging circuit, charging method, electronic device, and storage medium for charging a capacitor in a light alarm. The charging circuit is connected between the capacitor and a charging bus, and the capacitor powers the light-emitting unit in the light alarm. The charging circuit includes: a line voltage detection circuit that detects the line voltage of the charging bus to obtain a first voltage; a boost circuit electrically connected to the charging bus and boosts the voltage to charge the capacitor with the boosted voltage; and a controller electrically connected to the line voltage detection circuit, the boost circuit, the capacitor, and the light-emitting unit to control the charging of the capacitor by the boost circuit, such that after the light-emitting unit emits light at a target intensity, the voltage of the capacitor is equal to a second voltage, wherein the second voltage is equal to the sum of the first voltage and a predetermined difference. This solution can reduce energy waste and alarm delay in light alarms.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of fire protection technology, and in particular to a charging circuit, charging method, electronic device and storage medium. Background Technology

[0002] A light alarm is a type of fire alarm device. When a fire occurs, the light alarm flashes to alert people to escape and evacuate. It is an important way for people with hearing impairments to obtain fire alarm information. A light alarm consists of a capacitor and a light-emitting unit. The light-emitting unit is powered by the capacitor, so after receiving an alarm command, the capacitor needs to be charged to provide the energy required for the light-emitting unit to emit light.

[0003] Currently, when charging the capacitor in a light alarm, the capacitor voltage needs to be charged to a relatively high level to ensure that the capacitor can provide the energy required for the light-emitting unit to emit light, and to ensure that the charging current of the capacitor is not too large during the flashing process of the light-emitting unit.

[0004] However, charging the capacitor to a high voltage level exceeds the requirements of the light-emitting unit, resulting in energy waste. Furthermore, it takes a long time to charge the capacitor to a high voltage level after receiving an alarm command, causing an alarm delay in the light alarm. Summary of the Invention

[0005] In view of this, the charging circuit, charging method, electronic device and storage medium provided in this application can reduce energy waste and alarm delay in light alarms.

[0006] According to a first aspect of the present application, a charging circuit is provided for charging a capacitor in a light alarm. The charging circuit is connected between the capacitor and a charging bus. The capacitor is used to power a light-emitting unit in the light alarm. The charging circuit includes: a line voltage detection circuit for detecting the line voltage of the charging bus and obtaining a first voltage; a boost circuit electrically connected to the charging bus and boosting the voltage to charge the capacitor with the boosted voltage; and a controller electrically connected to the line voltage detection circuit, the boost circuit, the capacitor, and the light-emitting unit for controlling the boost circuit to charge the capacitor such that after the light-emitting unit emits light at a target illumination intensity, the voltage of the capacitor is equal to a second voltage, wherein the second voltage is equal to the sum of the first voltage and a predetermined difference.

[0007] According to a second aspect of the present application, a charging method is provided for charging a capacitor in a light alarm, the capacitor being connected to a charging bus and used to power a light-emitting unit in the light alarm. The charging method includes: detecting a line voltage on the charging bus to obtain a first voltage; in response to an alarm signal, charging the capacitor using the line voltage on the charging bus to bring the capacitor's voltage to a second voltage, wherein the second voltage is equal to the sum of the first voltage and a predetermined difference; charging the capacitor to increase its voltage from the second voltage to a third voltage during a charging cycle, wherein the difference between the third voltage and the second voltage is sufficient to enable the light-emitting unit to obtain the energy required to emit light at a target light intensity; wherein after the light-emitting unit emits light at the target light intensity, the voltage of the capacitor is equal to the second voltage.

[0008] According to a third aspect of the embodiments of this application, an electronic device is provided, including: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other through the communication bus; the memory is used to store at least one executable instruction, wherein the executable instruction causes the processor to perform an operation corresponding to the charging method in the second aspect or any possible implementation thereof.

[0009] According to a fourth aspect of the embodiments of this application, a computer-readable storage medium is provided, on which computer instructions are stored. When executed by a processor, the computer instructions cause the processor to perform the operation corresponding to the charging method provided by the second aspect or any possible implementation thereof.

[0010] According to a fifth aspect of the embodiments of this application, a computer program product is provided, which is tangibly stored on a computer-readable medium and includes computer-executable instructions that, when executed, cause at least one processor to perform a charging method as provided in the second aspect or any possible implementation thereof.

[0011] The above technical solution, upon receiving an alarm signal, charges the capacitor using the line voltage on the charging bus, raising the capacitor's voltage to a second voltage. Then, during the flashing of the light-emitting unit, the capacitor's voltage is repeatedly charged from the second voltage to a third voltage. When the light-emitting unit completes one flash, the capacitor's voltage drops from the third voltage back to the second voltage. Since the second voltage equals the sum of the first voltage and a predetermined difference, and the first voltage changes with the line voltage of the charging bus, the second voltage is guaranteed to be greater than the line voltage of the charging bus. It is not necessary for the second voltage to always exceed the maximum line voltage of the charging bus. This reduces energy waste and alarm delay in the light alarm while meeting the flashing requirements of the light-emitting unit and preventing large currents on the charging bus. Attached Figure Description

[0012] Figure 1 This is a schematic diagram of a charging circuit according to an embodiment of this application;

[0013] Figure 2 This is a schematic diagram of a charging circuit according to another embodiment of this application;

[0014] Figure 3 This is a flowchart of a charging method according to an embodiment of this application;

[0015] Figure 4 This is a schematic diagram of an electronic device according to an embodiment of this application.

[0016] List of reference numerals in the attached diagram:

[0017] 100: Light alarm; 400: Electronic equipment; 10: Charging circuit.

[0018] 20: Capacitor; 30: Charging bus; 40: Light-emitting unit

[0019] 11: Line voltage detection circuit; 12: Boost circuit; 13: Controller

[0020] 14: First current limiting circuit 15: Second current limiting circuit 410: Program

[0021] 402: Processor; 404: Communication Interface; 406: Memory

[0022] 408: Communication bus; 300: Charging method

[0023] 301: Detect the line voltage on the charging bus to obtain a first voltage.

[0024] 302: In response to an alarm signal, the capacitor is charged until its voltage reaches a second voltage.

[0025] 303: Charge the capacitor so that its voltage increases from the second voltage to the third voltage during the charging cycle. Detailed Implementation

[0026] As mentioned earlier, the light alarm includes a capacitor and a light-emitting unit. When the light alarm receives an alarm signal, it needs to charge the capacitor, which then supplies power to the light-emitting unit, causing it to flash at a preset frequency. The light-emitting unit's illumination consumes the energy stored in the capacitor, causing its voltage to drop. The capacitor then needs to be recharged to continuously provide the energy required for the light-emitting unit to flash. If the capacitor is charged to a low level, its voltage will drop below the line voltage of the charging bus after the light-emitting unit illuminates, resulting in a large current on the charging bus and affecting the normal operation of other light alarms. Therefore, the capacitor needs to be charged to a higher level.

[0027] Because the line voltage of the charging bus fluctuates, the capacitor is charged to a level greater than the maximum line voltage of the charging bus in order for the voltage of the capacitor to be greater than the line voltage of the charging bus after the light-emitting unit emits light. However, the line voltage of the charging bus fluctuates within a large range, and in most cases the line voltage of the charging bus is less than the maximum line voltage. Charging the capacitor to a level greater than the maximum line voltage of the charging bus results in a capacitor voltage exceeding the needs of the light-emitting unit, leading to energy waste. Furthermore, after receiving an alarm command, it takes a long time to charge the capacitor to a level greater than the maximum line voltage of the charging bus, resulting in an alarm delay in the light alarm.

[0028] In this embodiment, when charging the capacitor in the light alarm, a first voltage is obtained by detecting the line voltage of the charging bus. The sum of the first voltage and a predetermined difference is calculated as a second voltage. The second voltage is the voltage of the capacitor after the light-emitting unit emits light at a target illumination intensity. The second voltage can meet the requirement of the light-emitting unit flashing at a set frequency. At the same time, the second voltage is greater than the line voltage of the charging bus to avoid large current in the charging bus. Since the second voltage is equal to the sum of the first voltage and the predetermined difference, and the first voltage is determined based on the line voltage of the charging bus, the first voltage changes accordingly when the line voltage of the charging bus changes. The change of the first voltage causes the second voltage to change accordingly, ensuring that the second voltage is slightly greater than the line voltage of the charging bus. Under the premise of meeting the flashing requirement of the light-emitting unit and avoiding large current in the charging bus, the energy waste and alarm delay of the light alarm are reduced.

[0029] The charging circuit, charging method, electronic device, and storage medium provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0030] Charging circuit

[0031] Figure 1 This is a schematic diagram of a charging circuit according to an embodiment of this application, which is used to charge a capacitor in a light alarm. Figure 1 As shown, the charging circuit 10 is connected between the capacitor 20 and the charging bus 30. The capacitor 20 is used to power the light-emitting unit 40 in the light alarm 100. The charging circuit 10 includes a line voltage detection circuit 11, a boost circuit 12, and a controller 13.

[0032] Line voltage detection circuit 11 can detect the line voltage of charging bus 30 and obtain a first voltage V. line The boost circuit 12 is electrically connected to the charging bus 30 and boosts the line voltage on the charging bus 30 to charge the capacitor 20 with the boosted voltage. The controller 13 is electrically connected to the line voltage detection circuit 11, the boost circuit 12, the capacitor 20, and the light-emitting unit 40. The controller 13 can control the boost circuit 12 to charge the capacitor 20 so that after the light-emitting unit 40 emits light at a target illumination intensity, the voltage of the capacitor 20 is equal to a second voltage V. holding , where V holding =V line +V margin V margin This is the predetermined difference.

[0033] Since the line voltage of the charging bus 30 changes dynamically, the line voltage detection circuit 11 can detect the line voltage of the charging bus 30 in real time during the operation of the light alarm 100, so as to obtain a first voltage V that matches the line voltage of the charging bus 30. line Therefore, controller 13 determines the voltage V based on the first voltage V. line Dynamically adjust the second voltage V of capacitor 20 after the light-emitting unit 40 emits light. holding It should be understood that the line voltage detection circuit 11 detects the line voltage of the charging bus 30 in real time, which means that the line voltage detection circuit 11 samples the line voltage of the charging bus 30 at a relatively high frequency.

[0034] During the operation of the light alarm 100, the controller 13 controls the boost circuit 12 to charge the capacitor 20, charging the voltage of the capacitor 20 to the third voltage V. target After the light-emitting unit 40 emits light according to the target light intensity, the voltage of the capacitor 20 changes from the third voltage V. target Drop to the second voltage V holding Before the light-emitting unit 40 emits light again, the boost circuit 12 will charge the capacitor 20 to the third voltage V again. target This enables the light-emitting unit 40 to flash at a set frequency.

[0035] Since the energy consumed by the light-emitting unit 40 is the same each time it emits light at the target illumination intensity, the third voltage V target With the second voltage V holding The difference is equal to a fixed value, so in the second voltage Vholding When the third voltage V is smaller target Smaller, at the second voltage V holding When the third voltage V is large target Larger.

[0036] Line voltage detection circuit 11 detects the line voltage of charging bus 30 and obtains the first voltage V. line First voltage V line It can be the average value of the line voltage of the charging bus 30 over a short period of time, or it can be the maximum value of the line voltage of the charging bus 30 over a short period of time. For example, the line voltage detection circuit 11 samples the line voltage of the charging bus 30 at a frequency of 50Hz, and the first voltage V line Equal to the average line voltage of the charging bus 30 over the past second, or, the first voltage V. line It equals the maximum line voltage of the charging bus 30 within the last second.

[0037] In this embodiment, the line voltage detection circuit 11 detects the line voltage of the charging bus 30 in real time and obtains the first voltage V based on the line voltage of the charging bus 30. line The controller 13 controls the boost circuit 12 to charge the capacitor 20, so that after the light-emitting unit 40 emits light at the target light intensity, the voltage of the capacitor 20 is equal to the second voltage V. holding , and V holding =V line +V margin V margin This is the predetermined difference. Due to the second voltage V... holding Equal to the first voltage V line Difference V from the predetermined value margin The sum of the first voltage V line It varies with the line voltage of the charging bus 30 to ensure the second voltage V. holding A line voltage greater than 30 on the charging bus does not require a second voltage V. holding The voltage is always greater than the maximum line voltage of the charging bus 30. Under the premise of meeting the flashing requirements of the light-emitting unit 40 and ensuring that the charging bus 30 does not experience a large current, the energy waste and alarm delay of the light alarm 100 are reduced.

[0038] In one possible implementation, the first voltage V line It equals the maximum value of the line voltage of the charging bus 30 detected within a predetermined time period.

[0039] The line voltage detection circuit 11 detects the line voltage of the charging bus 30 in real time, and takes the maximum value of the line voltage of the charging bus 30 detected by the line voltage detection circuit 11 within a predetermined time as the first voltage V. lineThe predetermined time can be a time period ending at the current moment. For example, if the current moment is T1 and T2 is a historical moment, then the predetermined time is equal to T1-T2. Within the predetermined time, the line voltage detection circuit 11 detects the line voltage of the charging bus 30 at least twice and obtains at least two detected values ​​of the line voltage of the charging bus 30.

[0040] It should be understood that the line voltage detection circuit 11 continuously detects the line voltage of the charging bus 30, so the predetermined time is constantly updated over time. When the line voltage of the charging bus 30 fluctuates, if the maximum value of the line voltage of the charging bus 30 detected within the predetermined time changes, then the first voltage V... line Corresponding changes.

[0041] It should be noted that the maximum value of the line voltage of the charging bus 30 detected by the line voltage detection circuit 11 within a predetermined time is not necessarily equal to the maximum line voltage of the charging bus 30. For example, if the fluctuation range of the line voltage of the charging bus 30 is 18V to 36V, then the maximum line voltage of the charging bus 30 is 36V. If the line voltage detection circuit 11 detects a line voltage range of 24V to 26V within a predetermined time, then the maximum value of the line voltage of the charging bus 30 detected by the line voltage detection circuit 11 within that predetermined time is 26V.

[0042] In this embodiment, since the line voltage of the charging bus 30 does not undergo significant abrupt changes, the maximum value of the line voltage of the charging bus 30 detected within a predetermined time period is taken as the first voltage V. line , the first voltage V line Difference V from the predetermined value margin The sum of these values ​​serves as the second voltage V. holding Ensure the second voltage V holding A line voltage greater than that of the charging bus 30 should be used to prevent capacitor 20 from being pulled away from the second voltage V. holding Charge to the third voltage V target A large current is generated in the charging bus 30 to ensure the safety of charging the capacitor 20.

[0043] In one possible implementation, the predetermined difference V margin It is variable.

[0044] In this embodiment, since the line voltage of the charging bus 30 fluctuates, the first voltage V line It is also dynamically changing, and the second voltage V holding Equal to the first voltage V line Difference V from the predetermined value margin The sum, according to the first voltage V line Adjust the predetermined difference V based on the change amplitude. marginThe size of the second voltage V ensures holding The line voltage is greater than that of the charging bus 30, thus ensuring that capacitor 20 is removed from the second voltage V. holding Charge to the third voltage V target This ensures that no large current is generated in the charging bus 30, thus guaranteeing the safety of charging the capacitor 20 and ensuring that all the multiple light alarms 100 connected to the charging bus 30 can operate normally.

[0045] In one possible implementation, the controller 13 can adjust the voltage V detected by the line voltage detection circuit 11. line Historical data to determine the predetermined difference V margin .

[0046] After the light alarm 100 has been running for a period of time, the line voltage detection circuit 11 detects the first voltage V. line A series of historical data, first voltage V line Historical data can reflect the fluctuation of the line voltage of the charging bus 30. If the fluctuation of the line voltage of the charging bus 30 is small, the predetermined difference V can be appropriately reduced. margin While ensuring the second voltage V holding Under the premise of being greater than the line voltage of the charging bus 30, the second voltage V is made holding and the third voltage V target This reduces energy waste, making the light alarm 100 more energy-efficient. If the line voltage fluctuation of the charging bus 30 is large, the predetermined difference V can be appropriately increased. margin Ensure the second voltage V holding The line voltage of the charging bus 30 is greater than that of the charging bus 30 to avoid generating a large current in the charging bus 30.

[0047] In one example, controller 13 can be based on the first voltage V within the past six months. line Historical data to determine the predetermined difference V margin .

[0048] In this embodiment of the application, the controller 13 determines the voltage V based on the first voltage V. line Historical data determines the predetermined difference V margin Under the premise of ensuring that the predetermined difference V is met margin The determined second voltage V holding Under the premise that the line voltage of the charging bus is greater than 30, the second voltage V holding and the third voltage V target With a smaller value, the energy waste caused by charging the capacitor 20 to a higher voltage is reduced while avoiding the generation of a large current in the charging bus 30, making the light alarm 100 more energy-efficient.

[0049] In one possible implementation, the predetermined difference V margin The first voltage V detected by the line voltage detection circuit 11 line The fluctuation range of historical data is positively correlated.

[0050] If the first voltage V line The historical data shows significant fluctuations, indicating that the line voltage of charging bus 30 is unstable. The line voltage of charging bus 30 will experience substantial fluctuations, correspondingly affecting the first voltage V. line There will also be significant fluctuations, in order to ensure that the first voltage V is used... line The determined second voltage V holding For line voltages greater than 30 on the charging bus, a larger predetermined difference V needs to be determined. margin If the first voltage V line The historical data shows relatively small fluctuations, indicating that the line voltage of charging bus 30 is relatively stable and will not experience significant fluctuations. Correspondingly, the first voltage V... line There will be no significant fluctuations, so only a small pre-determined difference V is required. margin This ensures that the first voltage V is met. line The determined second voltage V holding The line voltage is greater than 30 of the charging bus.

[0051] Predicted difference V margin Based on the first voltage V line The fluctuation range of historical data is determined. When the fluctuation amplitude of the line voltage of the charging bus 30 is large, the line voltage of the charging bus 30 at the next moment is compared with the first voltage V at the current moment. line Significant changes may occur, in order to ensure that the first voltage V at the current moment is accurate. line The determined second voltage V holding A line voltage greater than 30V on the charging bus requires a larger predetermined difference V. margin Even if the line voltage of the charging bus 30 experiences a significant positive fluctuation, the first voltage V can still be guaranteed. line Difference V from the predetermined value margin The sum of these values ​​is greater than the line voltage of the charging bus 30.

[0052] In this embodiment of the application, the predetermined difference V margin With the first voltage V line The fluctuation range of historical data is positively correlated with the first voltage V. line When the historical data fluctuates significantly, a larger predetermined difference V is determined. margin At the first voltage V line When the historical data shows relatively small fluctuations, a smaller predetermined difference V is determined. marginEnsure the second voltage V holding The line voltage should be greater than the charging bus voltage of 30, while minimizing the second voltage V as much as possible. holding and the third voltage V target While avoiding the generation of large current in the charging bus 30, it also reduces the energy waste caused by charging the capacitor 20 to a higher voltage, making the light alarm 100 more energy-efficient.

[0053] Figure 2 This is a schematic diagram of a charging circuit according to another embodiment of this application. (As shown...) Figure 2 As shown, the charging circuit 10 also includes a first current limiting circuit 14 and a second current limiting circuit 15.

[0054] A first current-limiting circuit 14 is connected between the charging bus 30 and the boost circuit 12, and a second current-limiting circuit 15 is connected between the charging bus 30 and the boost circuit 12. The first current-limiting circuit 14 is used to limit the maximum current transmitted to the boost circuit 12 to a first current value, and the second current-limiting circuit 15 is used to limit the maximum current transmitted to the boost circuit 12 to a second current value, wherein the first current value is less than the second current value. The controller 13 can selectively enable at least one of the first current-limiting circuit 14 and the second current-limiting circuit 15 to charge the capacitor 20 to a second voltage V. holding Previously, the current transmitted to the boost circuit 12 was limited to a first current value.

[0055] The voltage across capacitor 20 is less than the second voltage V. holding When the controller 13 enables the first current limiting circuit 14, it limits the current transmitted from the charging bus 30 to the boost circuit 12 to a smaller first current value, so that the boost circuit 12 can start normally. When the capacitor 20 is charged to a voltage greater than the second voltage V... holding Then, the controller 13 enables the second current limiting circuit 15 to limit the current transmitted from the charging bus 30 to the boost circuit 12 to a larger second current value so as to quickly charge the capacitor 20.

[0056] The voltage across capacitor 20 is less than the second voltage V. holding When the controller 13 enables only the first current limiting circuit 14 or both the first current limiting circuit 14 and the second current limiting circuit 15, the current transmitted from the charging bus 30 to the boost circuit 12 is limited to a smaller first current value. When both the first current limiting circuit 14 and the second current limiting circuit 15 are enabled, the first current limiting circuit 14, with its stronger current limiting effect, plays a decisive role in the current limiting result, limiting the maximum current transmitted to the boost circuit 12 to the first current value. When the capacitor 20 is greater than or equal to the second voltage V... holding At this time, the controller 13 only enables the second current limiting circuit 15 to limit the current transmitted from the charging bus 30 to the boost circuit 12 to a larger second current value.

[0057] In this embodiment, since the boost circuit 12 has a startup process, excessive current during startup can damage the boost circuit 12. Therefore, the voltage of the capacitor 20 is less than the second voltage V. holding At this time, controller 13 enables the first current limiting circuit 14, limiting the current transmitted from charging bus 30 to boost circuit 12 to a smaller first current value, when the voltage of capacitor 20 is greater than or equal to the second voltage V. holding Subsequently, controller 13 enables the second current limiting circuit 15, limiting the current transmitted from charging bus 30 to boost circuit 12 to a larger second current value. This increases the charging speed of capacitor 20 while ensuring the safety of boost circuit 12.

[0058] Charging method

[0059] Figure 3 This is a flowchart of a charging method according to an embodiment of this application. The charging method is used to charge a capacitor in a light alarm, the capacitor being connected to a charging bus, and the capacitor is used to power the light-emitting unit in the light alarm. Figure 3 As shown, the charging method 300 includes:

[0060] Step 301: Detect the line voltage on the charging bus to obtain a first voltage;

[0061] Step 302: In response to an alarm signal, the capacitor is charged using the line voltage on the charging bus so that the capacitor voltage reaches a second voltage, wherein the second voltage is equal to the sum of the first voltage and a predetermined difference.

[0062] Step 303: Charge the capacitor so that the voltage of the capacitor increases from the second voltage to the third voltage during the charging cycle. The difference between the third voltage and the second voltage enables the light-emitting unit to obtain the energy required to emit light at the target light intensity. After the light-emitting unit emits light at the target light intensity, the voltage of the capacitor is equal to the second voltage.

[0063] In this embodiment, upon receiving an alarm signal, the capacitor is charged using the line voltage on the charging bus until its voltage reaches a second voltage. Then, during the flashing of the light-emitting unit, the capacitor voltage is repeatedly charged from the second voltage to a third voltage. When the light-emitting unit completes one flash, the capacitor voltage drops from the third voltage back to the second voltage. Since the second voltage equals the sum of the first voltage and a predetermined difference, and the first voltage changes with the line voltage of the charging bus, the second voltage is guaranteed to be greater than the line voltage of the charging bus. It is not necessary for the second voltage to always be greater than the maximum line voltage of the charging bus. This reduces energy waste and alarm delay in the light alarm while meeting the flashing requirements of the light-emitting unit and preventing large currents on the charging bus.

[0064] In one possible implementation, the first voltage is equal to the maximum value of the line voltage of the charging bus detected within a predetermined time period.

[0065] In this embodiment, since the line voltage of the charging bus will not undergo large sudden changes, the maximum value of the line voltage of the charging bus detected within a predetermined time is taken as the first voltage, and the sum of the first voltage and the predetermined difference is taken as the second voltage. This ensures that the second voltage is greater than the line voltage of the charging bus, thereby avoiding the generation of a large current in the charging bus when the capacitor is charged from the second voltage to the third voltage, and ensuring the safety of charging the capacitor.

[0066] In one possible implementation, the predetermined difference is variable.

[0067] In this embodiment, since the line voltage of the charging bus fluctuates, the first voltage also changes dynamically. The second voltage is equal to the sum of the first voltage and a predetermined difference. The magnitude of the predetermined difference is adjusted according to the change amplitude of the first voltage to ensure that the second voltage is greater than the line voltage of the charging bus. This ensures that no large current is generated in the charging bus when the capacitor is charged from the second voltage to the third voltage, thus ensuring the safety of charging the capacitor and ensuring that multiple light alarms connected to the charging bus can operate normally.

[0068] In one possible implementation, the predetermined difference is determined based on historical data of the detected first voltage.

[0069] In this embodiment, the controller determines a predetermined difference based on historical data of the first voltage. Under the premise that the second voltage determined based on the predetermined difference is greater than the line voltage of the charging bus, the second voltage and the third voltage have smaller values. This avoids generating a large current in the charging bus and reduces the energy waste caused by charging the capacitor to a higher voltage, making the light alarm more energy-efficient.

[0070] In one possible implementation, the predetermined difference is positively correlated with the fluctuation range of historical data of the detected first voltage.

[0071] In this embodiment, the predetermined difference is positively correlated with the fluctuation range of the historical data of the first voltage. When the fluctuation range of the historical data of the first voltage is large, a larger predetermined difference is determined, and when the fluctuation range of the historical data of the first voltage is small, a smaller predetermined difference is determined. This ensures that the second voltage is greater than the line voltage of the charging bus, while minimizing the second and third voltages as much as possible. This avoids generating a large current in the charging bus and reduces the energy waste caused by charging the capacitor to a higher voltage, making the light alarm more energy-efficient.

[0072] In one possible implementation, the charging current of the capacitor is limited to a first current value before the capacitor is charged to the second voltage. After the capacitor is charged to the second voltage, the charging current of the capacitor is limited to a second current value, wherein the second current value is greater than the first current value.

[0073] In this embodiment, since the boost circuit has a startup process, excessive current during startup can damage the boost circuit. Therefore, when the capacitor voltage is less than the second voltage, the controller enables the first current limiting circuit to limit the current transmitted from the charging bus to the boost circuit to a smaller first current value. When the capacitor voltage is greater than or equal to the second voltage, the controller enables the second current limiting circuit to limit the current transmitted from the charging bus to the boost circuit to a larger second current value. This ensures the safety of the boost circuit while increasing the charging speed of the capacitor.

[0074] It should be noted that the above charging method and the aforementioned charging circuit embodiment are based on the same concept. For details and beneficial effects, please refer to the description in the aforementioned charging circuit embodiment, which will not be repeated here.

[0075] electronic devices

[0076] Figure 4 This is a schematic diagram of an electronic device provided in one embodiment of this application. The specific embodiments of this application do not limit the specific implementation of the electronic device. See also... Figure 4 The electronic device 400 provided in this application embodiment includes: a processor 402, a communications interface 404, a memory 406, and a communication bus 408. Wherein:

[0077] The processor 402, communication interface 404, and memory 406 communicate with each other via communication bus 408.

[0078] Communication interface 404 is used to communicate with other electronic devices or servers.

[0079] The processor 402 is used to execute program 410, which can specifically execute the relevant steps in any of the aforementioned charging method embodiments.

[0080] Specifically, program 410 may include program code that includes computer operation instructions.

[0081] Processor 402 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application. The smart device includes one or more processors, which may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0082] Memory 406 is used to store program 410. Memory 406 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0083] Specifically, program 410 can be used to cause processor 402 to execute the charging method in any of the foregoing embodiments.

[0084] The specific implementation of each step in procedure 410 can be found in the corresponding steps and units described in any of the foregoing charging method embodiments, and will not be repeated here. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the devices and modules described above can be referred to the corresponding process descriptions in the foregoing method embodiments, and will not be repeated here.

[0085] The electronic device according to the embodiments of this application, upon receiving an alarm signal, charges a capacitor using the line voltage on the charging bus, bringing the capacitor's voltage to a second voltage. Then, during the flashing of the light-emitting unit, the capacitor's voltage is repeatedly charged from the second voltage to a third voltage. When the light-emitting unit completes one flash, the capacitor's voltage drops from the third voltage back to the second voltage. Since the second voltage is equal to the sum of the first voltage and a predetermined difference, and the first voltage changes with the line voltage of the charging bus, the second voltage is guaranteed to be greater than the line voltage of the charging bus. It is not necessary for the second voltage to always be greater than the maximum line voltage of the charging bus. This reduces energy waste and alarm delay in the light alarm while meeting the flashing requirements of the light-emitting unit and preventing large currents on the charging bus.

[0086] Computer storage media

[0087] This application also provides a computer-readable storage medium storing instructions for causing a machine to perform a charging method as described herein. Specifically, a system or apparatus equipped with a storage medium storing software program code that implements the functions of any of the embodiments described above, and enabling the computer (or CPU or MPU) of the system or apparatus to read and execute the program code stored in the storage medium.

[0088] In this case, the program code read from the storage medium can itself implement the function of any of the above embodiments, and therefore the program code and the storage medium storing the program code constitute part of this application.

[0089] Examples of storage media used to provide program code include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), magnetic tapes, non-volatile memory cards, and ROMs. Alternatively, program code can be downloaded from a server computer via a communication network.

[0090] Furthermore, it should be clear that not only can the program code read by the computer be executed, but also the operating system or other components operating on the computer can be instructed based on the program code to perform some or all of the actual operations, thereby realizing the function of any of the embodiments described above.

[0091] Furthermore, it is understood that the program code read from the storage medium is written to the memory set in the expansion board inserted into the computer or to the memory set in the expansion module connected to the computer. Then, based on the instructions of the program code, the CPU or other components installed on the expansion board or expansion module execute some and all of the actual operations, thereby realizing the function of any of the above embodiments.

[0092] Computer program products

[0093] This application also provides a computer program product, which is tangibly stored on a computer-readable medium and includes computer-executable instructions. When executed, these computer-executable instructions cause at least one processor to perform the capacitor charging methods provided in the above embodiments. It should be understood that the solutions in this embodiment have the corresponding technical effects in the above method embodiments, and will not be repeated here.

[0094] It should be noted that not all steps and modules in the above processes and system structure diagrams are mandatory; some steps or modules can be omitted as needed. The execution order of each step is not fixed and can be adjusted as required. The system structure described in the above embodiments can be a physical structure or a logical structure. That is, some modules may be implemented by the same physical entity, or some modules may be implemented by multiple physical entities, or they may be jointly implemented by certain components in multiple independent devices.

[0095] The embodiments of the capacitor charging method, apparatus, electronic device, computer-readable storage medium, and computer program product in this application are described in a relatively brief manner. Their relevant content and beneficial effects can be understood by referring to the various embodiments of the capacitor charging method above, and will not be repeated here.

[0096] In the above embodiments, the hardware modules can be implemented mechanically or electrically. For example, a hardware module may include permanent dedicated circuitry or logic (such as a dedicated processor, FPGA, or ASIC) to perform the corresponding operations. The hardware module may also include programmable logic or circuitry (such as a general-purpose processor or other programmable processor), which can be temporarily configured by software to perform the corresponding operations. The specific implementation method (mechanical, dedicated permanent circuitry, or temporarily configured circuitry) can be determined based on cost and time considerations.

[0097] The present application has been shown and described in detail above with reference to the accompanying drawings and preferred embodiments. However, the present application is not limited to these disclosed embodiments. Based on the above multiple embodiments, those skilled in the art will know that more embodiments of the present application can be obtained by combining the code review methods in the different embodiments above. These embodiments are also within the protection scope of the present application.

Claims

1. A charging circuit (10) for charging a capacitor (20) in a light alarm (100), the charging circuit (10) being connected between the capacitor (20) and a charging bus (30), the capacitor (20) being used to power a light-emitting unit (40) in the light alarm (100), the charging circuit (10) comprising: The line voltage detection circuit (11) detects the line voltage of the charging bus (30) and obtains a first voltage; A boost circuit (12) is electrically connected to the charging bus (30) and boosts the voltage to charge the capacitor (20) with the boosted voltage. A controller (13), electrically connected to the line voltage detection circuit (11), the boost circuit (12), the capacitor (20), and the light-emitting unit (40), is used to control the boost circuit (12) to charge the capacitor (20) so that after the light-emitting unit (40) emits light at a target illumination intensity, the voltage of the capacitor (20) is equal to a second voltage, wherein the second voltage is equal to the sum of the first voltage and a predetermined difference.

2. The charging circuit (10) according to claim 1, wherein The first voltage is equal to the maximum value of the line voltage of the charging bus (30) detected within a predetermined time period.

3. The charging circuit (10) according to claim 1, wherein, The predetermined difference is variable.

4. The charging circuit (10) according to claim 3, wherein The controller (13) determines the predetermined difference based on historical data of the first voltage detected by the line voltage detection circuit (11).

5. The charging circuit (10) according to claim 4, wherein The predetermined difference is positively correlated with the fluctuation range of the historical data of the first voltage detected by the line voltage detection circuit (11).

6. The charging circuit (10) according to any one of claims 1-5 further comprises: A first current limiting circuit (14) is connected between the charging bus (30) and the boost circuit (12) to limit the maximum current to a first current value. A second current limiting circuit (15) is connected between the charging bus (30) and the boost circuit (12) to limit the maximum current to a second current value, wherein the first current value is less than the second current value. The controller (13) selectively enables at least one of the first current limiting circuit (14) and the second current limiting circuit (15) to limit the maximum current to a first current value before the capacitor (20) is charged to the second voltage.

7. A charging method (300) for charging a capacitor (20) in a light alarm (100), the capacitor (20) being connected to a charging bus (30), the capacitor (20) being used to power a light-emitting unit (40) in the light alarm (100), the charging method comprising: The line voltage on the charging bus (30) is detected to obtain a first voltage; In response to an alarm signal, the capacitor (20) is charged using the line voltage on the charging bus (30) so that the voltage of the capacitor (20) reaches a second voltage, wherein the second voltage is equal to the sum of the first voltage and a predetermined difference; The capacitor (20) is charged so that the voltage of the capacitor (20) increases from the second voltage to the third voltage during the charging cycle, wherein the difference between the third voltage and the second voltage enables the light-emitting unit (40) to obtain the energy required to emit light at the target light intensity; Wherein, after the light-emitting unit (40) emits light at the target light intensity, the voltage of the capacitor (20) is equal to the second voltage.

8. The method of claim 7, wherein, The first voltage is equal to the maximum value of the line voltage of the charging bus (30) detected within a predetermined time period.

9. The method of claim 7, wherein, The predetermined difference is variable.

10. The method according to claim 9, wherein, The predetermined difference is determined based on historical data of the detected first voltage.

11. The method according to claim 10, wherein, The predetermined difference is positively correlated with the fluctuation range of the historical data of the detected first voltage.

12. The method according to any one of claims 7-11, further comprising: Before the capacitor (20) is charged to the second voltage, the charging current of the capacitor (20) is limited to a first current value; After the capacitor (20) is charged to the second voltage, the charging current of the capacitor (20) is limited to a second current value, wherein the second current value is greater than the first current value.

13. An electronic device (400) comprising a processor (402), a communication interface (404), a memory (406), and a communication bus (408), wherein the processor (402), the communication interface (404), and the memory (406) communicate with each other via the communication bus (408); The memory (406) is used to store at least one executable instruction that causes the processor to perform the operation corresponding to the method as described in any one of claims 7-12.

14. A computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the method as described in any one of claims 7-12.

Citation Information

Patent Citations

  • Visual notification appliance and driving method thereof

    CN106485858A

  • DC / DC converter

    US20070132404A1