Signal lamp program burning device and burning method thereof
By designing a signal lamp program burning device containing a multi-channel serial communication interface, the problems of complicated update operation of signal lamp program and complex burning process in the prior art are solved, and efficient operation of multiple chips of signal lamps are realized.
Patent Information
- Application Number
- CN202510152188.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-12
- Publication Date
- 2025-03-14
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When updating the existing signal lights, staff need to climb the height to install the signal lights, and manually control the power supply to power up and down. The operation is cumbersome and the burning process is complicated.
A signal light program recording device is designed, including a housing, circuit board module, program storage module and connection cable. The circuit board module is connected to the signal light through a multi-channel serial communication interface. It can automatically read the program to be burned and send handshake instructions to realize the simultaneous recording of multiple chips.
The operation process of signal light program update is simplified, the burning efficiency is improved, and the operational complexity and safety risks of staff are reduced.
Smart Images

Figure CN119621089A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the technical field of signal lights, and in particular to a signal light program burning device and a burning method thereof. Background Art
[0002] In the prior art, there is a need to update the program at the site where the signal light product is used. The signal light is installed on a pole at a certain height. The staff who update the program needs to climb a certain height with a program burning tool to execute it. The signal light has two CPU chips that need to be burned with the program. When updating the program, the staff usually needs to use two host computer software "Signal Light Software Upgrade Software.exe" and "CMD.exe" to execute multiple operation steps in sequence to complete the burning of a chip. Moreover, each time a chip is burned, the power supply needs to be manually controlled to be powered on and off once (power on-power off). The burning of the second chip needs to be repeated once. The operation process is cumbersome and the burning process is complicated. Summary of the invention
[0003] The invention provides a signal light program burning device and a burning method thereof, which can burn the programs to be burned into multiple chips of the signal light at the same time through a circuit board module, and the operation is simple and convenient with high efficiency.
[0004] In a first aspect, an embodiment of the present invention provides a signal light program burning device, the signal light program burning device comprising a housing, a circuit board module, a program storage module and a connecting line;
[0005] The housing is provided with a burning switch, and the circuit board module includes a multi-channel serial communication interface, a first switch interface and a storage interface;
[0006] The burning switch is electrically connected to the first switch interface, the program storage module is electrically connected to the storage interface, and the multi-channel serial communication interface is electrically connected to the signal light via a connecting line;
[0007] The circuit board module is used to read the program to be burned in the program storage module when it is detected that the burning switch outputs a burning start signal, and send a handshake instruction to the signal light through the multi-channel serial port communication interface after the program to be burned is read successfully. After the signal light program burning device and the signal light shake hands successfully according to the handshake instruction, the program to be burned is burned into multiple chips of the signal light.
[0008] Optionally, the circuit board module further includes a program update interface, and the program update interface is electrically connected to a host computer;
[0009] The circuit board module is also used to receive the program to be burned from the host computer according to the program update interface, and store the program to be burned in the program storage module.
[0010] Optionally, the signal light program burning device further includes a power module, a multi-stage power conversion module and a power switch;
[0011] The power module is electrically connected to the multi-stage power conversion module, and the power switch is arranged between the power module and the multi-stage power conversion module;
[0012] The circuit board module also includes a signal light power supply control interface;
[0013] The multi-stage power conversion module comprises a first-stage power conversion unit, and the first-stage power conversion unit is used to convert the voltage provided by the power module into the power supply voltage of the signal lamp;
[0014] The signal light power supply control interface is electrically connected to the output end of the first-stage power conversion unit.
[0015] Optionally, the connecting line includes a first port and a second port;
[0016] The signal light power supply control interface and the multi-channel serial port communication interface are integrated into an aviation plug interface;
[0017] The first port includes a first plug interface, and the first plug interface is electrically connected to the aviation plug interface;
[0018] The second port includes a second plug interface and a pair of alligator clips;
[0019] The second plug interface is electrically connected to the signal light, and the alligator clip is arranged at the power supply end of the signal light.
[0020] Optionally, the circuit board module further includes a program update interface, and the program update interface is electrically connected to a host computer;
[0021] The signal light program burning device also includes a short circuit protection circuit and a plurality of electrostatic protection circuits;
[0022] The electrostatic protection circuit includes a first electrostatic protection circuit, a second electrostatic protection circuit and a third electrostatic protection circuit;
[0023] The first electrostatic protection circuit is arranged between the storage interface and the program storage module, the second electrostatic protection circuit is arranged between the program update interface and the host computer, and the third electrostatic protection circuit is arranged between the multi-channel serial communication interface and the aviation plug interface;
[0024] The short-circuit protection circuit is arranged between the signal light power supply control interface and the aviation plug interface.
[0025] Optionally, the signal light program burning device further includes a display module and a sound indication module;
[0026] The display module includes a plurality of indicator lights;
[0027] The plurality of indicator lights are electrically connected to the circuit board module, and are used to display a first color when the circuit board module detects a start burning signal to indicate that the signal light program burning device is in a start burning state, or to flash a second color when the circuit board module reads the program to be burned successfully to indicate that the signal light program burning device is in a burning process state, or to display a third color when a burning failure occurs and the program after the signal light is burned is inconsistent with the version of the program to be burned to indicate that the signal light program burning device is in a burning failure state, or to display a fourth color when the burning is completed and the program after the signal light is burned is consistent with the version of the program to be burned to indicate that the signal light program burning device is in a burning success state; wherein the first color, the second color, the third color and the fourth color are all different;
[0028] The sound indication module is electrically connected to the circuit board module, and the sound indication module is used to give a sound prompt when the burning is finished.
[0029] Optionally, the signal light program burning device further includes a power supply module;
[0030] The housing comprises a fixed housing, a movable side, a power socket and a strap hole;
[0031] The fixed housing is detachably fixedly connected to the movable side, and the power supply socket is used to fix the power supply module;
[0032] The lanyard hole is connected to the lanyard.
[0033] In a second aspect, an embodiment of the present invention further provides a method for burning a signal light program, which is applied to any of the signal light program burning devices described above. The method comprises:
[0034] When it is detected that the burning switch outputs a burning start signal, reading the program to be burned in the program storage module;
[0035] After the program to be burned is read successfully, a handshake instruction is sent to the signal light through a multi-channel serial communication interface;
[0036] After the signal light program burning device and the signal light shake hands successfully according to the handshake instruction, the program to be burned is burned into multiple chips of the signal light.
[0037] Optionally, the circuit board module further includes a program update interface, and the program update interface is electrically connected to a host computer;
[0038] The signal light program burning device also includes a power module, a multi-stage power conversion module and a power switch;
[0039] The circuit board module also includes a signal light power supply control interface;
[0040] The multi-stage power conversion module comprises a first-stage power conversion unit, and the first-stage power conversion unit is used to convert the voltage provided by the power module into the power supply voltage of the signal lamp;
[0041] When the burning switch outputs a burning start signal, before reading the program to be burned in the program storage module, the method further includes:
[0042] After detecting the on signal of the power switch, detecting the status information of the program update interface and the host computer;
[0043] If the program update interface is in a connected state with the host computer, no burning is performed; if the program update interface is in a disconnected state with the host computer, the signal light program burning device enters a waiting burning state;
[0044] After the program to be burned is read successfully, a handshake instruction is sent to the signal light through the multi-channel serial communication interface, including:
[0045] After the program to be burned is read successfully, a handshake instruction is sent to the signal light through the multi-channel serial communication interface, and the first-level power conversion unit is controlled to provide a power supply voltage for the signal light through the signal light power supply control interface.
[0046] Optionally, after the signal light program burning device and the signal light successfully shake hands according to the handshake instruction, and burns the program to be burned into the multiple chips of the signal light, it also includes:
[0047] Controlling the power supply voltage of the signal light to be disconnected through the signal light power supply control interface, and controlling the power supply voltage of the signal light to be powered on again after a set time through the signal light power supply control interface;
[0048] When it is detected that the program of the signal light is inconsistent with the version of the program to be burned in the program storage module, a fault alarm is issued.
[0049] The embodiment of the present invention provides a signal light program burning device and a burning method thereof, wherein a burning switch is provided on a shell of the signal light program burning device, and a circuit board module comprises a multi-channel serial port communication interface, a first switch interface and a storage interface. The burning switch is electrically connected to the first switch interface, the program storage module is electrically connected to the storage interface, and the multi-channel serial port communication interface is electrically connected to the signal light through a connecting line. The circuit board module is used to read the program to be burned in the program storage module when detecting that the burning switch outputs a burning start signal, and send a handshake instruction to the signal light through the multi-channel serial port communication interface after the program to be burned is read successfully, and after the signal light program burning device and the signal light shake hands successfully according to the handshake instruction, the program to be burned is burned into multiple chips of the signal light. In this way, the program to be burned can be burned into multiple chips of the signal light at the same time through the circuit board module, and the operation is simple and convenient, and the efficiency is high. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 It is a top view schematic diagram of a signal light program burning device provided by an embodiment of the present invention;
[0051] Figure 2 is a structural schematic diagram of a circuit board module provided by an embodiment of the present invention;
[0052] Figure 3 is a structural schematic diagram of a connecting line provided by an embodiment of the present invention;
[0053] Figure 4 It is a side structural diagram of a signal light program burning device provided by an embodiment of the present invention;
[0054] Figure 5 It is a flow chart of a burning method of a signal light program burning device provided by an embodiment of the present invention;
[0055] Figure 6 The present invention is a flowchart of another method for burning a signal light program in a burning device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be fully described below in combination with the drawings in the embodiments of the present invention through specific implementation methods. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work fall within the protection scope of the present invention.
[0057] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0058] Figure 1 is a top view schematic diagram of a signal light program burning device provided by an embodiment of the present invention, Figure 2 is a schematic structural diagram of a circuit board module provided by an embodiment of the present invention, Figure 3 is a schematic diagram of the structure of a connecting line provided by an embodiment of the present invention. Figure 1-Figure 3 The signal light program burning device comprises a housing 10, a circuit board module 20, a program storage module 30 and a connecting line 40. A burning switch 110 is provided on the housing 10, and the circuit board module 20 comprises a multi-channel serial communication interface 210, a first switch interface 220 and a storage interface 230. The burning switch 110 is electrically connected to the first switch interface 220, the program storage module 30 is electrically connected to the storage interface 230, and the multi-channel serial communication interface 210 is electrically connected to the signal light through the connecting line 40. The circuit board module 20 is used to read the program to be burned in the program storage module 30 when it is detected that the burning switch 110 outputs a burning start signal, and send a handshake instruction to the signal light through the multi-channel serial communication interface 210 after the program to be burned is read successfully, and after the signal light program burning device and the signal light shake hands successfully according to the handshake instruction, burn the program to be burned into multiple chips of the signal light.
[0059] Specifically, the signal light program burning device includes a housing 10 arranged at the outermost layer, the circuit board module 20 may include a single-chip control module, and the circuit board module 20 is located inside the housing 10, and the housing 10 is used to protect the circuit board module 20 from being affected by the external environment during the burning process. A burning switch 110 is arranged on the housing 10, and the burning switch 110 is electrically connected to the first switch interface 220 of the circuit board module 20, and a start burning signal is sent to the circuit board module 20 through the burning switch 110. Exemplarily, the burning switch 110 can be a button switch, and when the burning switch 110 is long pressed, it indicates that program burning is required, and the burning switch 110 sends a start burning signal to the circuit board module 20 through the first switch interface 220, so that the circuit board module 20 performs the next step. When the burning switch 110 is not pressed or the burning switch 110 is short pressed, it indicates that program burning is not required, or an accidental touch occurs, and the signal light program burning device does not work at this time. The signal light program burning device also includes a program storage module 30, which is electrically connected to the circuit board module 20 through a storage interface 230. The program storage module 30 can be a program storage TF card for storing the program to be burned. The storage interface 230 can be a TF card interface. Exemplarily, when it is necessary to burn a program, the program to be burned that needs to be burned is stored in the program storage module 30 in advance, so that the subsequent circuit board module 20 can read the program to be burned in the program storage module 30 through the storage interface 230.
[0060] In addition, the signal light program burning device further includes a connecting line 40, and the circuit board module 20 further includes a multi-channel serial port communication interface 210, and the multi-channel serial port communication interface 210 is connected to the signal light that needs to be burned through the connecting line 40. Exemplarily, when there are two chips in the signal light that need to be burned separately, the multi-channel serial port communication interface 210 in the embodiment of the present invention can be two-channel TTL serial ports, and the two-channel TTL serial ports are connected to the signal light through the connecting line 40. In this way, when the circuit board module 20 detects that the burning switch 110 outputs a signal to start burning, it reads the updated program to be burned in the program storage module 30, and after the program to be burned is read successfully, it sets the parameters of the multi-channel serial port communication interface 210, and sends a handshake instruction to the signal light through the multi-channel serial port communication interface 210. The circuit board module 20 reads back the handshake instruction fed back by the traffic light. When the handshake instruction is read back successfully, that is, the traffic light program burning device and the traffic light shake hands successfully according to the handshake instruction, the program to be burned is burned into the two chips of the traffic light at the same time. In this way, through the cooperation of the burning switch 110 and the circuit board module 20, the program burning of multiple chips in the traffic light is completed with one click. The operation is simple and convenient, and the efficiency is high. This solves the technical problem in the prior art that it is necessary to replace the upper computer software and burn multiple chips of the traffic light one by one, which is a complicated and tedious process.
[0061] It is understandable that the embodiment of the present invention does not limit the specific method of updating the program to be burned in the program storage module 30. The program to be burned can be updated by means of a host computer or by replacing the program storage module 30. Those skilled in the art can set it as needed.
[0062] In summary, the embodiment of the present invention provides a signal light program burning device and a burning method thereof, wherein a burning switch is provided on a shell of the signal light program burning device, and a circuit board module includes a multi-channel serial port communication interface, a first switch interface, and a storage interface. The burning switch is electrically connected to the first switch interface, the program storage module is electrically connected to the storage interface, and the multi-channel serial port communication interface is electrically connected to the signal light through a connecting line. The circuit board module is used to read the program to be burned in the program storage module when it is detected that the burning switch outputs a burning start signal, and send a handshake instruction to the signal light through the multi-channel serial port communication interface after the program to be burned is read successfully, and after the signal light program burning device and the signal light shake hands successfully according to the handshake instruction, the program to be burned is burned into multiple chips of the signal light. In this way, the program to be burned can be burned into multiple chips of the signal light at the same time through the circuit board module, and the operation is simple and convenient, and the efficiency is high.
[0063] Optionally, based on the above embodiment, continue to refer to Figure 2 The circuit board module 20 further includes a program update interface 240, which is electrically connected to the host computer 01. The circuit board module 20 is also used to receive the program to be burned from the host computer 01 according to the program update interface 240, and store the program to be burned in the program storage module 30.
[0064] Specifically, Figure 2 In the illustrated embodiment, the circuit board module 20 further includes a program update interface 240. The program update interface 240 may be a USB interface, and the program update interface 240 is used to connect to a host computer 01 that is independent of the signal light program burning device. The host computer 01 is provided with host computer burning software and source code, and is connected to the program update interface 240 of the circuit board module 20 by wireless or wired communication, and then the program to be burned provided in the host computer 01 is updated to the program storage module 30 of the signal light program burning device. In this way, it is realized that through one host computer 01 and one host computer burning software, multiple chips in the signal light can be burned at the same time.
[0065] It should be noted that, before program burning, the circuit board module 20 can detect the connection between the program update interface 240 and the host computer 01 in real time. If it is detected that the program update interface 240 is in a connected state with the host computer 01, it indicates that the program to be burned in the program storage module 30 needs to be updated. At this time, the multi-channel serial communication interface 210 is in a disconnected state and program burning cannot be performed. If it is detected that the program update interface 240 is in a disconnected state with the host computer 01, it indicates that there is no need to update the program to be burned in the program storage module 30. At this time, the multi-channel serial communication interface 210 is in a conducting state and program burning can be performed.
[0066] Optionally, based on the above embodiment, continue to refer to Figure 2 The signal light program burning device also includes a power module 50, a multi-level power conversion module 60 and a power switch 70. The power module 50 is electrically connected to the multi-level power conversion module 60, and the power switch 70 is arranged between the power module 50 and the multi-level power conversion module 60. The circuit board module 20 also includes a signal light power supply control interface 250. The multi-level power conversion module 60 includes a first-level power conversion unit 610, and the first-level power conversion unit 610 is used to convert the voltage provided by the power module 50 into the power supply voltage of the signal light. The signal light power supply control interface 250 is electrically connected to the output end of the first-level power conversion unit 610.
[0067] Specifically, Figure 2 As shown, the power module 50 is used to provide power to the circuit board module 20 and the signal light. However, since the working voltage of the circuit board module 20 is different from that of the signal light, a multi-stage power conversion module 60 is also required to convert the power provided by the power module 50 into different supply voltages. For example, Figure 2 In the illustrated embodiment, the multi-stage power conversion module 60 includes a first-stage power conversion unit 610, a second-stage power conversion unit 620, and a third-stage power conversion unit 630. Since the operating voltage of the signal light is 24V, the operating voltage of the circuit board module 20 is 3.3V. Then, the 18V voltage provided by the power module 50 is converted into the power supply voltage (operating voltage 24V) of the signal light by the first-stage power conversion unit 610. The second-stage power conversion unit 620 is used to convert the 24V voltage provided by the first-stage power conversion unit 610 into a 5V voltage, and the third-stage power conversion unit 630 is used to convert the 5V voltage provided by the second-stage power conversion unit 620 into a 3.3V voltage. The output end of the third-stage power conversion unit 630 is connected to the power supply end of the circuit board module 20, and then the circuit board module 20 is powered by the voltage converted by the third-stage power conversion unit 630.
[0068] In addition, a power switch 70 is also provided between the power module 50 and the multi-stage power conversion module 60. When the power switch 70 is closed, it means that the program is powered on, and the power module 50 supplies power to the signal light and the circuit board module 20 respectively through the multi-stage power conversion module 60. When the power switch 70 is disconnected, it means that the program is powered off, and the signal light program burning device does not work. Among them, the power supply of the signal light is also controlled separately by the circuit board module 20. Specifically, the circuit board module 20 also includes a signal light power supply control interface 250, which is connected to the output end of the first-stage power conversion unit 610 through the control unit, and then the signal light power supply control interface 250 controls whether to provide a power supply voltage for the signal light through the control unit.
[0069] Optionally, based on the above embodiment, continue to refer to Figure 2 and Figure 3 The connecting line 40 includes a first port 410 and a second port 420. The signal light power supply control interface 250 and the multi-channel serial port communication interface 210 are integrated into an aviation plug interface 200. The first port 410 includes a first plug interface 411, and the first plug interface 411 is electrically connected to the aviation plug interface 200. The second port 420 includes a second plug interface 421 and a pair of alligator clips 422. The second plug interface 421 is electrically connected to the signal light, and the alligator clip 422 is set at the power supply end of the signal light.
[0070] Specifically, Figure 2 and Figure 3 As shown, the signal light power supply control interface 250 and the multi-channel serial communication interface 210 are externally integrated into an aviation plug interface 200, and the aviation plug interface 200 can be a Lemo plug interface. The connecting line 40 includes a first port 410 and a second port 420, and the first port 410 includes a first plug interface 411, and the first plug interface 411 is electrically connected to the aviation plug interface 200. The second port 420 includes a second plug interface 421 and a pair of crocodile clips 422, and the second plug interface 421 is connected to the signal light, and then the circuit board module 20 burns the program for the signal light through the first plug interface 411 and the second plug interface 421, and the crocodile clip 422 is set at the power supply end of the signal light, and then the signal light is powered through the first plug interface 411 and the crocodile clip 422, to ensure that the signal light can be burned.
[0071] Optionally, based on the above embodiment, continue to refer to Figure 2, the circuit board module 20 also includes a program update interface 240, and the program update interface 240 is electrically connected to the host computer 01. The signal light program burning device also includes a short circuit protection circuit 810 and a plurality of electrostatic protection circuits 820. The electrostatic protection circuit 820 includes a first electrostatic protection circuit 821, a second electrostatic protection circuit 822 and a third electrostatic protection circuit 823. The first electrostatic protection circuit 821 is arranged between the storage interface 230 and the program storage module 30, the second electrostatic protection circuit 822 is arranged between the program update interface 240 and the host computer 01, and the third electrostatic protection circuit 823 is arranged between the multi-channel serial port communication interface 210 and the aviation plug interface 200. The short circuit protection circuit 810 is arranged between the signal light power supply control interface 250 and the aviation plug interface 200.
[0072] Specifically, by setting an electrostatic protection circuit between the storage interface 230 and the program storage module 30, between the program update interface 240 and the host computer 01, and between the multi-channel serial communication interface 210 and the aviation plug interface 200, the damage to the circuit board module 20 caused by static electricity is reduced. In addition, since the actual power supply of the signal light is 24V AC, and the power module 50 ultimately provides 24V DC, when burning the program through the signal light program burning device, the actual power supply line of the signal light must be cut off. In order to prevent the staff from forgetting to cut off the power supply line of the signal light by mistake during operation, causing the 24V DC output by the power module 50 to be short-circuited and burn out the relevant circuits on the circuit board module 20, a short-circuit protection circuit 810 is set between the signal light power supply control interface 250 and the aviation plug interface 200, that is, the 24V output end, to perform power short-circuit protection, thereby improving the reliability of the signal light program burning device.
[0073] Optionally, based on the above embodiment, continue to refer to Figure 2The signal light program burning device also includes a display module 910 and a sound indication module 920. The display module 910 includes a plurality of indicator lights 911. The plurality of indicator lights are electrically connected to the circuit board module 20, and are used to display a first color when the circuit board module 20 detects a start burning signal to indicate that the signal light program burning device is in a start burning state, or to flash a second color when the circuit board module 20 reads the program to be burned successfully to indicate that the signal light program burning device is in a burning process state, or to display a third color when a burning failure occurs and the program after the signal light is burned is inconsistent with the version of the program to be burned, to indicate that the signal light program burning device is in a burning failure state, or to display a fourth color when the burning is completed and the program after the signal light is burned is consistent with the version of the program to be burned, to indicate that the signal light program burning device is in a burning success state; wherein the first color, the second color, the third color and the fourth color are all different. The sound indication module 920 is electrically connected to the circuit board module 20, and the sound indication module 920 is used to give a sound prompt when the burning is completed.
[0074] Specifically, Figure 2 As shown, the embodiment of the present invention is also provided with an indicator light 911 to indicate different states in the burning process. Exemplarily, when the user long presses the burning switch 110, the burning switch 110 sends a start burning signal to the circuit board module 20, and the indicator light 911 is displayed in white when the circuit board module 20 detects the start burning signal, to indicate that the signal light program burning device is in the start burning state. When the circuit board module 20 is reading the program to be burned and the reading is successful, the indicator light 911 can flash blue to prompt the user that the program to be burned is read successfully, and then the parameters of the multi-channel serial port communication interface 210 are set, and a handshake instruction is sent to the signal light through the multi-channel serial port communication interface 210. The circuit board module 20 reads back the handshake instruction fed back by the signal light. If the handshake fails, the indicator light 911 displays red at this time, prompting the user of a burning failure, or when the burning is completed but the program after the signal light is burned is inconsistent with the version of the program to be burned, the indicator light 911 displays red, also prompting the user of a burning failure. Only when the read-back handshake instruction is successful, that is, the burning is completed and the program after the signal light is burned is consistent with the version of the program to be burned, the indicator light 911 displays green to prompt the user that the burning is successful, and the whole burning process ends at this time. In addition, the signal light program burning device is also provided with a sound indication module 920, which can be a buzzer, and can give a sound prompt when the burning ends, wherein the burning ends include the burning success and the burning failure. In this way, the different states of the burning process are indicated by the prompts of the display module 910 and the sound indication module 920, which is more intuitive and convenient.
[0075] Optionally, based on the above embodiment, Figure 4This is a side view of a signal light program burning device provided by an embodiment of the present invention. Figure 1-Figure 4 , the signal light program burning device also includes a power module 50. The housing 10 includes a fixed housing (not shown in the figure), a movable side (not shown in the figure), a power socket 120 and a hanging strap hole 130. The fixed housing and the movable side are detachably fixedly connected, the power socket 120 is used to fix the power module 50, and the hanging strap hole 130 is connected to the hanging rope. Specifically, the fixed housing and the movable side are detachably fixedly connected, so that it is convenient to repair when the circuit board module 20 fails. In addition, the hanging strap hole 130 is also provided in the embodiment of the present invention, so that it is convenient to carry the signal light program burning device with a hanging rope.
[0076] Based on the same inventive concept, an embodiment of the present invention further provides a burning method for a signal light program burning device, which is applied to the above signal light program burning device. Figure 5 Flow chart of a method for burning a signal light program in a burning device according to an embodiment of the present invention. Figure 5 As shown, the control method includes:
[0077] S110, when it is detected that the burning switch outputs a burning start signal, reading the program to be burned in the program storage module.
[0078] Specifically, the burning switch can be a push-button switch. When the burning switch is long pressed, it indicates that program burning is required, and the burning switch sends a start burning signal to the circuit board module through the first switch interface. When the burning switch is not pressed or the burning switch is short pressed, it indicates that program burning is not required, or an accidental touch occurs, then the signal light program burning device does not work at this time. The program storage module can be a program storage TF card for storing programs to be burned. The storage interface can be a TF card interface. Exemplarily, when it is necessary to burn a program, the program to be burned that needs to be burned is stored in the program storage module in advance, so that the subsequent circuit board module can read the program to be burned in the program storage module through the storage interface. When the circuit board module detects that the burning switch outputs a start burning signal, the program to be burned in the program storage module is read through the storage interface.
[0079] S120, after the program to be burned is read successfully, a handshake instruction is sent to the signal light through the multi-channel serial communication interface.
[0080] Specifically, the signal light program burning device further includes a connecting line, and the circuit board module further includes a multi-channel serial port communication interface, which is connected to the signal light that needs to be burned through the connecting line. Exemplarily, when there are two chips in the signal light that need to be burned separately, the multi-channel serial port communication interface in the embodiment of the present invention can be two TTL serial ports, which are connected to the signal light through the connecting line. In this way, when the circuit board module detects that the burning switch outputs a signal to start burning, it reads the updated program to be burned in the program storage module, and after the program to be burned is read successfully, it sets the parameters of the multi-channel serial port communication interface, and sends a handshake instruction to the signal light through the multi-channel serial port communication interface.
[0081] S130, after the signal light program burning device and the signal light have successfully handshaked according to the handshake instruction, burning the program to be burned into the multiple chips of the signal light.
[0082] Specifically, the circuit board module reads back the handshake instruction fed back by the traffic light. When the handshake instruction is read back successfully, that is, the traffic light program burning device and the traffic light shake hands successfully according to the handshake instruction, the program to be burned is burned into the two chips of the traffic light at the same time. In this way, through the cooperation of the burning switch and the circuit board module, the program burning of multiple chips in the traffic light can be completed with one click. The operation is simple and convenient, and the efficiency is high. This solves the technical problem in the prior art that it is necessary to replace the upper computer software and burn multiple chips of the traffic light one by one, which is a complicated and tedious process.
[0083] In summary, the embodiment of the present invention reads the program to be burned in the program storage module when the burning switch outputs a burning start signal, and after the program to be burned is read successfully, sends a handshake instruction to the signal light through the multi-channel serial communication interface, and after the signal light program burning device and the signal light shake hands successfully according to the handshake instruction, burns the program to be burned into multiple chips of the signal light. In this way, through the cooperation of the burning switch and the circuit board module, the program burning of multiple chips in the signal light is completed with one click, which is simple and convenient to operate and highly efficient, and solves the technical problem in the prior art that the host computer software needs to be replaced to burn multiple chips of the signal light one by one, and the process is complicated and cumbersome.
[0084] Optional, Figure 6 FIG. 1 is a flow chart of another method for burning a signal light program in an embodiment of the present invention. Figure 6 As shown, the control method includes:
[0085] S210: After detecting the on signal of the power switch, the detection program updates the status information of the interface and the host computer.
[0086] Specifically, the circuit board module also includes a program update interface. The program update interface can be a USB interface, and the program update interface is used to connect a host computer independent of the signal light program burning device. The host computer is provided with host computer burning software and source code, and is connected to the program update interface of the circuit board module by wireless or wired communication, and then the program to be burned provided in the host computer is updated to the program storage module of the signal light program burning device. Before program burning, the circuit board module can detect the connection between the program update interface and the host computer in real time. If it is detected that the program update interface is in a connected state with the host computer, it indicates that the program to be burned in the program storage module needs to be updated. At this time, the multi-channel serial port communication interface is in a disconnected state, and program burning cannot be performed. If it is detected that the program update interface is in a disconnected state with the host computer, it indicates that there is no need to update the program to be burned in the program storage module. At this time, the multi-channel serial port communication interface is in a conducting state, and program burning can be performed.
[0087] S220: When it is detected that the burning switch outputs a burning start signal, read the program to be burned in the program storage module.
[0088] S230, after the program to be burned is read successfully, a handshake instruction is sent to the signal light through the multi-channel serial communication interface, and the first-level power conversion unit is controlled to provide power supply voltage for the signal light through the signal light power supply control interface.
[0089] Specifically, in this embodiment, since the signal light is in a power-off state, it is necessary to power the signal light through the power module of the signal light program burning device. Exemplarily, the circuit board module includes a signal light power supply control interface, which is electrically connected to the output end of the first-level power conversion unit, and then the signal light power supply control interface controls whether to provide power supply voltage to the signal light through the control unit. In this way, after the program to be burned is read successfully, a handshake instruction is sent to the signal light through the multi-channel serial port communication interface, and at the same time, the first-level power conversion unit is controlled by the signal light power supply control interface to provide power supply voltage to the signal light, so that the signal light can read back the handshake information.
[0090] S240, after the signal light program burning device and the signal light successfully shake hands according to the handshake instruction, burn the program to be burned into multiple chips of the signal light.
[0091] S250, disconnecting the power supply voltage of the signal light through the signal light power supply control interface, and after a set time, re-energizing the power supply voltage of the signal light through the signal light power supply control interface, and then issuing a fault alarm when it is detected that the program of the signal light is inconsistent with the version of the program to be burned in the program storage module.
[0092] Specifically, after the program to be burned is successfully burned into the multiple chips of the signal light, it is also necessary to detect whether the version of the program burned by the signal light is consistent with the version of the program to be burned in the program storage module. Exemplarily, after the program to be burned is successfully burned into the multiple chips of the signal light, the power supply voltage of the signal light is first controlled to be disconnected through the signal light power supply control interface, and after a delay, the power supply voltage of the signal light is controlled to be re-powered through the signal light power supply control interface, and then it is detected whether the version of the program burned by the signal light is consistent with the version of the program to be burned in the program storage module. If the version of the program burned by the signal light is consistent with the version of the program to be burned in the program storage module, the burning process ends. If the version of the program burned by the signal light is inconsistent with the version of the program to be burned in the program storage module, an alarm can be issued through an indicator light to indicate that the burning has failed and the burning needs to be repeated.
[0093] In summary, the embodiment of the present invention adds a judgment of detecting the status information of the program update interface and the host computer before starting the burning, that is, only when it is detected that the program update interface and the host computer are in a disconnected state, can the program be burned, thereby avoiding the problem of burning failure caused by burning during the process of updating the program to be burned. In addition, after the burning is successful, a judgment is added as to whether the version of the program after the signal light is burned is consistent with the version of the program to be burned in the program storage module, that is, only when the program after the signal light is burned is consistent with the version of the program to be burned in the program storage module, the burning process is judged to be finished, thereby improving the reliability of the burning.
[0094] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A signal light program burning device, characterized in that: The signal light program burning device comprises a housing, a circuit board module, a program storage module and a connecting line; The housing is provided with a burning switch, and the circuit board module includes a multi-channel serial communication interface, a first switch interface and a storage interface; The burning switch is electrically connected to the first switch interface, the program storage module is electrically connected to the storage interface, and the multi-channel serial communication interface is electrically connected to the signal light through the connecting line; The circuit board module is used to read the program to be burned in the program storage module when it is detected that the burning switch outputs a burning start signal, and send a handshake instruction to the signal light through the multi-channel serial port communication interface after the program to be burned is read successfully. After the signal light program burning device and the signal light shake hands successfully according to the handshake instruction, the program to be burned is burned into multiple chips of the signal light.
2. The signal light program burning device according to claim 1, characterized in that: The circuit board module also includes a program update interface, and the program update interface is electrically connected to the host computer; The circuit board module is also used to receive the program to be burned from the host computer according to the program update interface, and store the program to be burned in the program storage module.
3. The signal light program burning device according to claim 1, characterized in that: The signal light program burning device also includes a power module, a multi-stage power conversion module and a power switch; The power module is electrically connected to the multi-stage power conversion module, and the power switch is arranged between the power module and the multi-stage power conversion module; The circuit board module also includes a signal light power supply control interface; The multi-stage power conversion module comprises a first-stage power conversion unit, and the first-stage power conversion unit is used to convert the voltage provided by the power module into the power supply voltage of the signal lamp; The signal light power supply control interface is electrically connected to the output end of the first-stage power conversion unit.
4. The signal light program burning device according to claim 3, characterized in that: The connecting line includes a first port and a second port; The signal light power supply control interface and the multi-channel serial port communication interface are integrated into an aviation plug interface; The first port includes a first plug interface, and the first plug interface is electrically connected to the aviation plug interface; The second port includes a second plug interface and a pair of alligator clips; The second plug interface is electrically connected to the signal light, and the alligator clip is arranged at the power supply end of the signal light.
5. The signal light program burning device according to claim 4, characterized in that: The circuit board module also includes a program update interface, and the program update interface is electrically connected to the host computer; The signal light program burning device also includes a short circuit protection circuit and a plurality of electrostatic protection circuits; The electrostatic protection circuit includes a first electrostatic protection circuit, a second electrostatic protection circuit and a third electrostatic protection circuit; The first electrostatic protection circuit is arranged between the storage interface and the program storage module, the second electrostatic protection circuit is arranged between the program update interface and the host computer, and the third electrostatic protection circuit is arranged between the multi-channel serial communication interface and the aviation plug interface; The short-circuit protection circuit is arranged between the signal light power supply control interface and the aviation plug interface.
6. The signal light program burning device according to claim 1, characterized in that: The signal light program burning device also includes a display module and a sound indication module; The display module includes a plurality of indicator lights; The plurality of indicator lights are electrically connected to the circuit board module, and are used to display a first color when the circuit board module detects a start burning signal to indicate that the signal light program burning device is in a start burning state, or to flash a second color when the circuit board module reads the program to be burned successfully to indicate that the signal light program burning device is in a burning process state, or to display a third color when a burning failure occurs and the program after the signal light is burned is inconsistent with the version of the program to be burned to indicate that the signal light program burning device is in a burning failure state, or to display a fourth color when the burning is completed and the program after the signal light is burned is consistent with the version of the program to be burned to indicate that the signal light program burning device is in a burning success state; wherein the first color, the second color, the third color and the fourth color are all different; The sound indication module is electrically connected to the circuit board module, and the sound indication module is used to give a sound prompt when the burning is finished.
7. The signal light program burning device according to claim 1, characterized in that: The signal light program burning device also includes a power supply module; The housing comprises a fixed housing, a movable side, a power socket and a strap hole; The fixed housing is detachably fixedly connected to the movable side, and the power supply socket is used to fix the power supply module; The lanyard hole is connected to the lanyard.
8. A method for burning a signal light program, applied to the signal light program burning device according to any one of claims 1 to 7, characterized in that: The burning method comprises: When it is detected that the burning switch outputs a burning start signal, reading the program to be burned in the program storage module; After the program to be burned is read successfully, a handshake instruction is sent to the signal light through the multi-channel serial communication interface; After the signal light program burning device and the signal light shake hands successfully according to the handshake instruction, the program to be burned is burned into multiple chips of the signal light.
9. The burning method according to claim 8, characterized in that: The circuit board module also includes a program update interface, and the program update interface is electrically connected to the host computer; The signal light program burning device also includes a power module, a multi-stage power conversion module and a power switch; The circuit board module also includes a signal light power supply control interface; The multi-stage power conversion module comprises a first-stage power conversion unit, and the first-stage power conversion unit is used to convert the voltage provided by the power module into the power supply voltage of the signal lamp; When the burning switch outputs a burning start signal, before reading the program to be burned in the program storage module, the method further includes: After detecting the on signal of the power switch, detecting the status information of the program update interface and the host computer; If the program update interface is in a connected state with the host computer, no burning is performed; if the program update interface is in a disconnected state with the host computer, the signal light program burning device enters a waiting burning state; After the program to be burned is read successfully, a handshake instruction is sent to the signal light through the multi-channel serial communication interface, including: After the program to be burned is read successfully, a handshake instruction is sent to the signal light through the multi-channel serial communication interface, and the first-level power conversion unit is controlled to provide a power supply voltage for the signal light through the signal light power supply control interface.
10. The burning method according to claim 8, characterized in that: After the signal light program burning device and the signal light shake hands successfully according to the handshake instruction, after the program to be burned is burned into the multiple chips of the signal light, it also includes: Controlling the power supply voltage of the signal light to be disconnected through the signal light power supply control interface, and controlling the power supply voltage of the signal light to be powered on again after a set time through the signal light power supply control interface; When it is detected that the program of the signal light is inconsistent with the version of the program to be burned in the program storage module, a fault alarm is issued.
Citation Information
Patent Citations
HDCP KEY recording device and HDCP KEY recording method
CN101630238A
Traffic light command traffic system with good stability
CN106504546A
Multi-channel chip burning method and system
CN111857748A
Tool and program recording system
CN208596370U
Carry-signal controlLED LED lights with low power consumption characteristic and LED light string having the same
EP3678456A1