Random number generation system, lighting device, lighting fixture, random number generation method, computer-readable recording medium, and computer program product
By obtaining the time-changing signal in the converter control signal to generate random numbers, and combining the control circuit to change the illumination light with time, the problem of difficulty and cost of random numbers generated in the prior art is solved, and simple and efficient random numbers are realized Generate and illuminate random changes in effects.
Patent Information
- Application Number
- CN202410576587.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-24
- Filing Date
- 2024-05-10
- Publication Date
- 2024-11-26
AI Technical Summary
It is difficult to easily generate random numbers in the prior art, and the existing random number generator is costly or complex in structure.
By obtaining the time-changing signal as the seed value, a random number is generated using the control signal of the converter, and the illumination light emitted by the light source changes with time, realizing the generation of random numbers and control of the light source power.
It realizes the easy generation of random numbers through simple structure, avoiding the need for expensive hardware random number generators and complex amplification circuits, while ensuring the randomness and asynchronousness of light source changes of multiple lighting devices.
Smart Images

Figure CN119025071A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a random number generation system, a lighting device, a lighting fixture, a random number generation method and a program recording medium. Background Art
[0002] Patent document 1 discloses a DC-DC converter. The DC-DC converter includes a delay circuit that generates a delay signal for delaying an output signal of an oscillator and changes a delay time of the delay signal relative to the output signal. The delay circuit is randomly changed.
[0003] Prior art literature
[0004] Patent Literature
[0005] Patent Document 1: Japanese Patent Application Publication No. 2006-211876 Summary of the invention
[0006] Problem that the invention aims to solve
[0007] The present invention provides a random number generation system that can easily generate random numbers with a simple structure, etc.
[0008] Solutions for solving problems
[0009] A random number generation system according to one embodiment of the present invention includes an acquisition unit, a generation unit, and an output unit. The acquisition unit acquires a time-varying signal, which is a signal that changes with time and is included in a control signal for controlling a switching element of a converter, wherein the converter is used to convert an input voltage and output it. The generation unit generates a random number based on the time-varying signal acquired by the acquisition unit. The output unit outputs a random number signal representing the random number generated by the generation unit.
[0010] A lighting device according to one embodiment of the present invention comprises: the random number generation system; and a control circuit that controls the power supplied to the light source by controlling the converter. The control circuit controls the converter based on the random number signal output by the random number generation system so that the lighting light emitted by the light source changes over time.
[0011] A lighting fixture according to one aspect of the present invention includes the lighting device and the light source.
[0012] In a random number generation method according to one embodiment of the present invention, a time-varying signal is acquired, the time-varying signal being a signal that varies with the passage of time and is included in a control signal for controlling a switching element of a converter, wherein the converter is used to convert an input voltage and output it. In the random number generation method, a random number is generated based on the acquired time-varying signal. In the random number generation method, a random number signal representing the generated random number is output.
[0013] A program recording medium according to one embodiment of the present invention records a program that causes one or more processors to execute the random number generation method.
[0014] Effects of the Invention
[0015] The present invention has an advantage of being able to easily generate random numbers with a simple structure. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a circuit diagram showing the configuration of a lighting device and a lighting fixture including a random number generation system according to an embodiment.
[0017] Figure 2 is a waveform diagram showing the correlation between the output voltage of the smoothing capacitor and the switching signal.
[0018] Figure 3 This is a flowchart showing an example of the operation of the random number generation system according to the embodiment.
[0019] Figure 4 It is an explanatory diagram of a first operation example of the lighting device involved in the embodiment.
[0020] Figure 5 It is an explanatory diagram of a second operation example of the lighting device involved in the embodiment.
[0021] Figure 6 It is an explanatory diagram of a third operation example of the lighting device involved in the embodiment.
[0022] Figure 7 : is a waveform diagram showing an example of the second mode. DETAILED DESCRIPTION
[0023] The embodiments are described in detail below with reference to the accompanying drawings. In addition, the embodiments described below all show inclusive or specific examples. The numerical values, shapes, materials, structural elements, configuration positions and connection methods of structural elements, steps, and the order of steps shown in the following embodiments are examples and are not intended to limit the present invention. In addition, regarding the structural elements in the following embodiments that are not recorded in the independent claims, they are set as arbitrary structural elements for description.
[0024] In addition, each figure is a schematic diagram, and does not necessarily illustrate strictly. In addition, in each figure, the same reference numerals are attached to substantially the same structure, and the repeated description is sometimes omitted or simplified.
[0025] (Implementation Method)
[0026] Next, use Figure 1 The structures of a lighting device including a random number generation system according to an embodiment and a lighting fixture including the lighting device will be described. Figure 1 1 is a circuit diagram showing the configuration of a lighting device 10 and a lighting fixture 100 including a random number generation system 11 according to an embodiment. In the following, unless otherwise specified, the "random number generation system 11" is referred to as a "random number generation circuit 11".
[0027] [1.Structure]
[0028] The lighting fixture 100 according to the embodiment receives power supply from the AC power supply 20. The AC power supply 20 is a power supply that supplies an AC voltage to the lighting fixture 100. The AC power supply 20 supplies, for example, AC 100V to the lighting fixture 100. The AC power supply 20 may be, for example, a system power supply such as an external commercial power supply.
[0029] The lighting fixture 100 is a fixture that emits lighting light when an AC voltage is supplied thereto, and includes a lighting device 10 and a light source 30 .
[0030] The light source 30 emits light by being supplied with current from the lighting device 10. The light emitted by the light source 30 is the lighting light of the lighting fixture 100. In an embodiment, the light source 30 includes one or more light-emitting elements. As the light-emitting element, for example, a solid light-emitting element such as an LED (Light Emitting Diode) or an organic EL (Electro Luminescence) element can be used.
[0031] The lighting device 10 is a device that causes the light source 30 to emit light by being supplied with an AC voltage. In the embodiment, the lighting device 10 has a pair of input terminals 81 and 82 to which the AC voltage from the AC power source 20 is input. In addition, the lighting device 10 has a pair of output terminals 83 and 84 for supplying current to the light source 30. The lighting device 10 includes a random number generation circuit 11, a rectifier circuit 40, a smoothing capacitor 50, a converter 60, and a control circuit 70.
[0032] The rectifier circuit 40 is a circuit for rectifying the AC voltage supplied to the lighting device 10 , and in the embodiment, the rectifier circuit 40 includes, for example, a diode bridge circuit.
[0033] The smoothing capacitor 50 is an example of a smoothing circuit for smoothing the output voltage of the rectifier circuit 40. A first electrode of the smoothing capacitor 50 is connected to one of a pair of output terminals of the rectifier circuit 40, and a second electrode of the smoothing capacitor 50 is connected to the other output terminal of the rectifier circuit 40. In the embodiment, the rectifier circuit 40 and the smoothing capacitor 50 constitute a so-called capacitor input type rectifier circuit.
[0034] The converter 60 is a circuit that converts an input voltage and outputs an output voltage to the light source 30, such as a DC-DC converter. The DC-DC converter is, for example, a step-down chopper circuit or a step-up step-down chopper circuit. In the embodiment, the converter 60 is a quasi-resonant converter that switches the switching element 62 by a quasi-resonance switching method. In addition, in the embodiment, the converter 60 is a quasi-resonant converter based on a peak detection method that detects the peak of the current flowing through the switching element 62. In addition, in the embodiment, the input voltage of the converter 60 is the output voltage of the smoothing capacitor 50 and is a pulsating voltage.
[0035] The converter 60 includes a transformer 61 , a switching element 62 , a diode 63 , and an output capacitor 64 .
[0036] The transformer 61 has a primary winding 611 and a secondary winding 612. A first end of the primary winding 611 is connected to a first electrode of the smoothing capacitor 50. A second end of the primary winding 611 is connected to a second electrode of the smoothing capacitor 50 via a switching element 62. A first end of the secondary winding 612 is connected to a first electrode of an output capacitor 64 via a diode 63. A second end of the secondary winding 612 is connected to a second electrode of the output capacitor 64.
[0037] The switch element 62 is a field effect transistor (FET) such as a normally closed N-channel MOSFET (Metal Oxide Semiconductor Field-Effect Transistor). The drain of the switch element 62 is connected to the second end of the primary winding 611, and the source of the switch element 62 is connected to the second electrode of the smoothing capacitor 50. In addition, the gate of the switch element 62 is connected to the control circuit 70.
[0038] An anode of the diode 63 is connected to a first end of the secondary winding 612 , and a cathode of the diode 63 is connected to a first electrode of the output capacitor 64 and the output terminal 83 .
[0039] A first electrode of the output capacitor 64 is connected to a first end of the light source 30 via the output terminal 83. A second electrode of the output capacitor 64 is connected to a second end of the light source 30 via the output terminal 84.
[0040] The control circuit 70 is a circuit that controls the power supplied to the light source 30 by controlling the converter 60. The control circuit 70 is implemented by, for example, a microcomputer, but may also be implemented by a processor or a dedicated circuit. The functions of the control circuit 70 are implemented by hardware such as a microcomputer or a processor constituting the control circuit 70 executing a computer program (software) stored in a memory.
[0041] The control circuit 70 controls the switch element 62 by PWM control (Pulse Width Modulation). That is, the control circuit 70 converts the input voltage to the converter 60 into a desired output voltage and outputs it to the light source 30 by adjusting the duty ratio of the control signal Sig1 output to the switch element 62.
[0042] In the embodiment, the control circuit 70 controls the converter 60 based on the random number signal Sig3 output by the random number generation circuit (random number generation system) 11 described later, so that the illumination light emitted by the light source 30 changes over time. In the embodiment, the change of the illumination light over time is, for example, 1 / f fluctuation. That is, in the embodiment, the illumination light has fluctuations such as imitating a human heartbeat, the swaying of a flame, or the light emission of a firefly. The control of the illumination light by the control circuit 70 will be described in detail in [2. Action] described later.
[0043] The random number generation circuit 11 is a circuit for generating random numbers, specifically, a circuit for generating pseudo-random numbers by executing an appropriate random number generation algorithm. The random number generation circuit 11 is implemented, for example, by a microcomputer, but may also be implemented by a processor or a dedicated circuit. The function of the random number generation circuit 11 is implemented by hardware such as a microcomputer or a processor constituting the random number generation circuit 11 executing a computer program (software) stored in a memory.
[0044] The random number generation circuit 11 includes an acquisition unit 111 , a generation unit 112 , and an output unit 113 .
[0045] The acquisition unit 111 acquires the time-varying signal Sig2. The time-varying signal Sig2 is a signal that changes with time and is included in the control signal Sig1 for controlling the switch element 62 of the converter 60. In the embodiment, the time-varying signal Sig2 is a signal based on the output voltage of the smoothing capacitor 50, that is, the pulsating voltage input to the converter 60. In other words, the time-varying signal Sig2 is a signal indicating the signal width t of the control signal Sig1. ON (Refer to Figure 2 ) signal.
[0046] Figure 2 : is a waveform diagram showing the correlation between the output voltage of the smoothing capacitor 50 and the control signal Sig1 . Figure 2 The upper waveform in represents the waveform of the output voltage of the smoothing capacitor 50 (ie, the pulsating voltage input to the converter 60). Figure 2 The waveform on the lower side of the graph represents the waveform of the control signal Sig1. Figure 2 As shown in FIG. 1 , the output voltage of the smoothing capacitor 50 is a pulsating voltage, and is a voltage that changes with the passage of time. Therefore, the time-varying signal Sig2 based on the pulsating voltage is a signal that changes with the passage of time. Here, the control signal Sig1 is as follows: Figure 2 As shown in FIG. 1 , the binary signal for alternately turning on / off the switch element 62 has a signal width t ON It is expressed by the following formula.
[0047] t ON =L×I / V
[0048] In the above equation, "L" represents the inductance of the primary winding 611, "I" represents the current flowing through the switching element 62, and "V" represents the output voltage of the smoothing capacitor 50. As described above, in the embodiment, the converter 60 is a quasi-resonant converter based on the peak detection method, so the current I flowing through the switching element 62 is substantially constant. In addition, the inductance L of the primary winding 611 is a constant, so the signal width t of the control signal Sig1 is ONIt is approximately inversely proportional to the output voltage V of the smoothing capacitor 50. For example, as the output voltage of the smoothing capacitor 50 increases, the signal width t of the control signal Sig1 increases. ON Becomes shorter (see Figure 2 The output voltage of the smoothing capacitor 50 becomes lower as the signal width t of the control signal Sig1 increases. ON The longer it becomes (see Figure 2 , arrow A2).
[0049] As described above, the output voltage (ie, ripple voltage) of the smoothing capacitor 50 changes with time, so the signal width t of the control signal Sig1 is set to ON Therefore, in the embodiment, the acquisition unit 111 acquires the control signal Sig1 to acquire the signal width t ON The time-varying signal Sig2.
[0050] The generator 112 generates a random number based on the time-varying signal Sig2 acquired by the acquirer 111. Specifically, the generator 112 generates a pseudo-random number by using the pseudo-random number generation algorithm by using the time-varying signal Sig2 acquired by the acquirer 111 as a seed value in the pseudo-random number generation algorithm. As the pseudo-random number generation algorithm, for example, an appropriate algorithm such as the linear congruential method can be used.
[0051] Here, the time-varying signal Sig2 used as a seed value is a signal that changes with time, and therefore the seed value may be different each time the pseudo-random number is generated by the generator 112. Therefore, the probability that the pseudo-random numbers generated by the generator 112 are the same value tends to be low. In addition, in the embodiment, the time-varying signal Sig2 is a signal width t of the control signal Sig1 based on the output voltage (i.e., the ripple voltage) of the smoothing capacitor 50. ON As already described, the signal width t ON The seed value changes with the passage of time, similarly to the output voltage of the smoothing capacitor 50. Therefore, the seed value is likely to change each time the time variation signal Sig2 is acquired, and is not likely to be the same value.
[0052] The output unit 113 outputs a random number signal Sig3 indicating a random number (pseudo-random number) generated by the generator 112. In the embodiment, the output unit 113 outputs the random number signal Sig3 to the control circuit 70. Thus, the control circuit 70 can control the converter 60 using the random number indicated by the random number signal Sig3.
[0053] [2.Action]
[0054] Next, the operations of the random number generation circuit (random number generation system) 11 and the lighting device 10 according to the embodiment will be described.
[0055] [2-1. Operation of random number generation circuit]
[0056] First, use Figure 3 The operation of the random number generation circuit 11 according to the embodiment will be described.
[0057] The acquisition unit 111 of the random number generation circuit 11 acquires the time variation signal Sig2 (S1) periodically or irregularly. The timing when the acquisition unit 111 acquires the time variation signal Sig2 is, for example, the timing when the random number generation circuit 11 generates a random number. In the embodiment, the time variation signal Sig2 is a signal width t representing the control signal Sig1. ON signal.
[0058] Next, the generator 112 of the random number generation circuit 11 generates a random number (S2) based on the time-varying signal Sig2 acquired by the acquisition unit 111. In the embodiment, the generator 112 generates a random number by dividing the signal width t ON Used as a seed value to execute an appropriate pseudo-random number generation algorithm, thereby generating random numbers.
[0059] Then, the output unit 113 of the random number generation circuit 11 outputs a random number signal Sig3 (S3) indicating the random number generated by the generation unit 112. In the embodiment, the output unit 113 outputs the random number signal Sig3 to the control circuit 70 of the converter 60.
[0060] [2-2. Operation of lighting device]
[0061] The following is a description of the operation of the lighting device 10 according to the embodiment, mainly the operation of the control circuit 70 of the converter 60, using the accompanying drawings. As described above, the control circuit 70 controls the converter 60 based on the random number signal Sig3 output by the random number generation circuit 11, so that the illumination light emitted by the light source 30 changes over time. The following is an example of the operation of the control circuit 70. In addition, the control circuit 70 may also execute any one of the first to third operation examples listed below, or may combine two or more operation examples to execute.
[0062] <First Action Example>
[0063] Figure 4 1 is an explanatory diagram of a first operation example of the lighting device 10 according to the embodiment. Figure 4 In FIG. 1 , the vertical axis represents the light output of the light source 30, and the horizontal axis represents time. Figure 4The waveform shown represents a first variation pattern P1 of the illumination light emitted by the light source 30. The first variation pattern P1 is a pattern in which the light output varies by imitating a 1 / f fluctuation, for example.
[0064] In the first operation example, the control circuit 70 controls the converter 60 so that the illumination light periodically repeats the first variation pattern P1. Furthermore, the control circuit 70 determines the start time points t1, ..., tn of the first variation pattern P1 based on the random number signal Sig3.
[0065] For example, if the random number represented by the random number signal Sig3 is small, the control circuit 70 determines the start time points t1, ..., tn of the first variation pattern P1 to be in the first half of the first cycle T1, which is the cycle of the first variation pattern P1. Also, for example, if the random number represented by the random number signal Sig3 is large, the control circuit 70 determines the start time points t1, ..., tn of the first variation pattern P1 to be in the second half of the first cycle T1.
[0066] In the first operation example, when, for example, a plurality of lighting devices 10 emit lighting light, the changes in the lighting light of each lighting device 10 are not easy to be synchronized. This point will be described in detail below. For example, when it is assumed that each lighting device 10 starts controlling the converter 60 at the same time, the changes in the lighting light emitted by each lighting device 10 are all changes in accordance with the first variation pattern P1 at the same start time point. Therefore, although the lighting light fluctuates, the pattern of the fluctuation of the lighting light is the same in any lighting device 10, which may impair the effect produced by the fluctuation of the lighting light.
[0067] In contrast, in the first operation example, the start time points t1, ..., tn of the first variation pattern P1 are determined based on random numbers, and thus the start time points t1, ..., tn of the first variation pattern P1 are random for each lighting device 10. Therefore, in the first operation example, the change of the illumination light is likely to be different for each lighting device 10, and the effect of the fluctuation of the illumination light is likely to be exhibited.
[0068] <Second Action Example>
[0069] Figure 5 2 is an explanatory diagram of a second operation example of the lighting device 10 according to the embodiment. Figure 5 In, different from Figure 4 , the first change mode P1 is represented by a rectangle, but the waveform of the first change mode P1 is different from Figure 4 same.
[0070] In the second operation example, the control circuit 70 controls the converter 60 so that the illumination light periodically repeats the first variation pattern P1 at intervals d1, ..., dn. The control circuit 70 determines the lengths of the intervals d1, ..., dn based on the random number signal Sig3.
[0071] For example, the smaller the random number represented by the random number signal Sig3 is, the shorter the length of the intervals d1, ..., dn is. Also, for example, the larger the random number represented by the random number signal Sig3 is, the longer the length of the intervals d1, ..., dn is.
[0072] In the second operation example, similarly to the first operation example, when, for example, a plurality of lighting devices 10 emit lighting light, respectively, it is not easy for the lighting devices 10 to change lighting light in synchronization. That is, in the second operation example, even if the lighting devices 10 start controlling the converter 60 at the same time, since the intervals d1, ..., dn are determined based on random numbers, the start time point of the first change pattern P1 is also random for each lighting device 10, except for the initial first change pattern P1. Therefore, in the second operation example, similarly to the first operation example, the change of lighting light is likely to be different for each lighting device 10, and the effect caused by the fluctuation of lighting light is likely to be exhibited.
[0073] <Third Action Example>
[0074] Figure 6 2 is an explanatory diagram of a third operation example of the lighting device 10 according to the embodiment. Figure 6 In, with Figure 5 Similarly, the first variation pattern P1 is represented by a rectangle. Figure 6 In FIG. 1 , the second variation pattern P2 inserted into the first variation pattern P1 is represented by a rectangle.
[0075] Figure 7 is a waveform diagram showing an example of the second variation pattern P2. Figure 7 , the vertical axis represents the light output of the light source 30, and the horizontal axis represents time. The second variation pattern P2 is a pattern different from the first variation pattern P1. Here, the second variation pattern P2 has a second period T2 that is shorter than the first period T1 of the first variation pattern P1, and the variation of the light output is more rapid than that of the first variation pattern P1. In other words, compared with the first variation pattern P1, the frequency of the variation of the light output of the second variation pattern P2 is large, and the average value of the amplitude of the light output is large. For example, when the first variation pattern P1 is a pattern that imitates the swaying of a flame, the second variation pattern P2 is a pattern that imitates the appearance of a flame swaying greatly in an instant due to being blown by wind or the like.
[0076] In the third operation example, the control circuit 70 controls the converter 60 so that the illumination light periodically repeats the first variation pattern P1 as in the first operation example. Furthermore, the control circuit 70 determines the timings t11, ..., t1n at which the second variation pattern P2 is inserted into the first variation pattern based on the random number signal Sig3.
[0077] For example, if the random number represented by the random number signal Sig3 is small, the control circuit 70 determines the timings t11, ..., t1n for inserting the second variation pattern P2 to the first half of the first cycle T1. Also, for example, if the random number represented by the random number signal Sig3 is large, the control circuit 70 determines the timings t11, ..., t1n for inserting the second variation pattern P2 to the second half of the first cycle T1.
[0078] In the third operation example, similarly to the first operation example, when, for example, a plurality of lighting devices 10 emit lighting light respectively, the change of the lighting light of each lighting device 10 is not easy to be synchronized. That is, in the third operation example, even if each lighting device 10 starts the control of the converter 60 at the same time, since the timing t11, ..., t1n of inserting the second variation pattern P2 is determined based on a random number, the change of the lighting light is also random according to the insertion timing of the second variation pattern P2. Therefore, in the second operation example, similarly to the first operation example, the change of the lighting light is easy to be different for each lighting device 10, and the effect caused by the fluctuation of the lighting light is easy to be exerted.
[0079] [3. Advantages, etc.]
[0080] Next, advantages of the random number generation circuit (random number generation system) 11 and the lighting device 10 according to the embodiment will be described.
[0081] First, the advantages of the random number generation circuit 11 involved in the embodiment are described by using a comparative example. In the past, as a unit for generating random numbers, there are, for example, hardware random number generators. The hardware random number generator can generate true random numbers using uncertainty derived from hardware, but it is a relatively expensive device and there is a problem that the cost is easily increased. In addition, as a unit for generating random numbers, there is, for example, a unit that uses noise as a seed value to generate pseudo-random numbers. However, in this unit, it is difficult to generate pseudo-random numbers without amplifying the noise, and there is a problem that a complex circuit structure such as an amplification circuit is required.
[0082] In contrast, in the random number generation circuit 11 according to the embodiment, a random number (pseudo-random number) can be generated simply by acquiring the time-varying signal Sig2 according to the control signal Sig1 of the converter 60. Therefore, in the random number generation circuit 11 according to the embodiment, a relatively expensive device such as a hardware random number generator is not required, and a complex circuit structure such as an amplifier circuit is not required. Therefore, in the random number generation circuit 11 according to the embodiment, there is an advantage that a random number (pseudo-random number) can be easily generated with a simple structure.
[0083] Next, the advantages of the lighting device 10 involved in the embodiment are described. As also described in the first to third operation examples above, in the lighting device 10 involved in the embodiment, the control circuit 70 controls the converter 60 based on the random number signal Sig3 output by the random number generation circuit 11, so that the lighting light emitted by the light source 30 changes over time. Therefore, in the lighting device 10 involved in the embodiment, there is the following advantage: when a plurality of lighting devices 10 including one or more other lighting devices 10 emit lighting light, the change of the lighting light is likely to be different for each lighting device 10, and the change of the lighting light of each lighting device 10 is not easy to be synchronized.
[0084] (Variation Example)
[0085] As mentioned above, although embodiment was described, this invention is not limited to the said embodiment.
[0086] For example, in the above embodiment, the time variation signal Sig2 is a signal width t of the control signal Sig1. ON For example, the time-varying signal Sig2 may be a signal that changes with time, or may be a signal that represents the width t of the control signal Sig1. ON Signals other than the parameters.
[0087] In addition, in the above embodiment, the converter 60 is a peak detection quasi-resonant converter, but is not limited thereto. For example, the converter 60 may also be a quasi-resonant converter that is not a peak detection converter. In addition, the converter 60 is not limited to a quasi-resonant converter, and may also be a converter of other control methods.
[0088] In the above embodiment, the light source 30 is composed of a solid-state light emitting element such as an LED, but the present invention is not limited thereto. For example, the light source 30 may be an incandescent lamp or the like.
[0089] In the above embodiment, the random number generation system 11 is configured by a single circuit as the random number generation circuit 11, but the present invention is not limited thereto. For example, the random number generation system 11 may be configured by a plurality of circuits that are different for each component.
[0090] In addition, in the above-mentioned embodiment, the random number generation system 11 outputs the random number signal Sig3 representing the generated random number to the control circuit 70 of the converter 60, but the present invention is not limited to this. For example, the random number generation system 11 may also output the random number signal Sig3 to a device other than the control circuit 70 that uses random numbers to perform operations.
[0091] In addition, for example, in the above-mentioned embodiment, the components such as the generating unit may be implemented by executing a software program suitable for each component. Each component may also be implemented by a program execution unit such as a CPU or a processor reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory.
[0092] In addition, the structural elements such as the generating unit can also be implemented by hardware. For example, the structural elements such as the generating unit can also be circuits (or integrated circuits). These circuits can constitute a circuit as a whole, or they can be different circuits. In addition, these circuits can be general circuits or dedicated circuits.
[0093] In addition, the general or specific aspects of the present invention may also be implemented by a system, device, method, integrated circuit, computer program, or a computer-readable CD-ROM or other recording medium. In addition, the present invention may also be implemented by any combination of a system, device, method, integrated circuit, computer program, and recording medium.
[0094] For example, the present invention can be implemented as a random number generation system of the above-mentioned embodiment, or as a method (random number generation method, etc.) executed by the random number generation system. The present invention can be implemented as a program for causing a computer to execute such a method, or as a non-transient recording medium having such a program recorded thereon. Such a program includes an application program for causing a computer such as a general-purpose information terminal to function as a random number generation system of the above-mentioned embodiment.
[0095] In addition, the present invention also includes various modifications that can be conceived by those skilled in the art to the embodiments, or embodiments achieved by arbitrarily combining the structural elements and functions in the embodiments within the scope not departing from the gist of the present invention.
[0096] (Summarize)
[0097] As described above, the random number generation system (random number generation circuit) 11 according to the first embodiment includes an acquisition unit 111, a generation unit 112, and an output unit 113. The acquisition unit 111 acquires a time-varying signal Sig2, which is a signal that changes with time and is included in a control signal Sig1 for controlling a switch element 62 of a converter 60, wherein the converter 60 is used to convert an input voltage and output it. The generation unit 112 generates a random number based on the time-varying signal Sig2 acquired by the acquisition unit 111. The output unit 113 outputs a random number signal Sig3 indicating the random number generated by the generation unit 112.
[0098] According to this, a random number (pseudo-random number) can be generated simply by acquiring the time variation signal Sig2 based on the control signal Sig1 of the converter 60 , and thus there is an advantage in that a random number can be easily generated with a simple configuration.
[0099] In addition, in the random number generation system 11 according to the second embodiment, in the first embodiment, the time variation signal Sig2 is a signal based on the pulsating voltage input to the converter 60 .
[0100] According to this, every time the time variation signal Sig2 is acquired, the seed value based on the time variation signal Sig2 is likely to change, so the seed value is unlikely to be the same value, which has the advantage that the uncertainty of the random number is likely to be increased.
[0101] In addition, the random number generation system 11 according to the third embodiment is such that, in the second embodiment, the signal width t ON The time-varying signal Sig2 represents the signal width t ON signal.
[0102] According to this, every time the time variation signal Sig2 is acquired, the seed value based on the time variation signal Sig2 is likely to change, so the seed value is unlikely to be the same value, which has the advantage that the uncertainty of the random number is likely to be increased.
[0103] Furthermore, in the random number generation system 11 according to the fourth aspect, in any one of the first to third aspects, the converter 60 is a quasi-resonant converter.
[0104] According to this, the change of the control signal Sig1 tends to become random, so the seed value is not likely to be the same value, which has an advantage that the uncertainty of the random number tends to be increased.
[0105] In addition, the lighting device 10 according to the fifth aspect includes: the random number generation system 11 according to any one of the first to fourth aspects; and a control circuit 70 that controls the power supplied to the light source 30 by controlling the converter 60. The control circuit 70 controls the converter 60 based on the random number signal Sig3 output by the random number generation system 11 so that the illumination light emitted by the light source 30 changes with the passage of time.
[0106] Accordingly, there is the following advantage: when multiple lighting devices 10, including one or more other lighting devices 10, emit lighting light respectively, the change of lighting light is likely to be different for each lighting device 10, and the change of lighting light of each lighting device 10 is not easy to synchronize.
[0107] In the lighting device 10 according to the sixth aspect, in the fifth aspect, the control circuit 70 controls the converter 60 so that the illumination light periodically repeats the first variation pattern P1 , and determines the start time points t1 , . . . , tn of the first variation pattern P1 based on the random number signal Sig3 .
[0108] Accordingly, the starting time points t1, ..., tn of the first change mode P1 are determined based on random numbers. Therefore, the starting time points t1, ..., tn of the first change mode P1 are random for each lighting device 10, which has the advantage that the change of lighting light is easy to be different for each lighting device 10.
[0109] In addition, the lighting device 10 involved in the seventh embodiment is that in the fifth embodiment or the sixth embodiment, the control circuit 70 controls the converter 60 so that the lighting light periodically repeats the first variation pattern P1 at intervals d1, ..., dn, and the lengths of the intervals d1, ..., dn are determined based on the random number signal Sig3.
[0110] Accordingly, even if each lighting device 10 starts controlling the converter 60 at the same time, since the intervals d1, ..., dn are determined based on random numbers, in addition to the initial first change mode P1, the start time point of the first change mode P1 is also random for each lighting device 10, which has the advantage that the change of lighting light is easy to be different for each lighting device 10.
[0111] In addition, the lighting device 10 involved in the eighth embodiment is that in any one of the fifth to seventh embodiments, the control circuit 70 controls the converter 60 so that the lighting light periodically repeats the first change pattern P1, and determines the timing t11, ..., t1n of inserting a second change pattern P2 different from the first change pattern P1 into the first change pattern P1 based on the random number signal Sig3.
[0112] Accordingly, even if each lighting device 10 starts controlling the converter 60 at the same time, since the timing t11, ..., t1n for inserting the second change mode P2 is determined based on a random number, the change in lighting light is also random corresponding to the timing of inserting the second change mode P2, which has the advantage that the change in lighting light can easily be different for each lighting device 10.
[0113] Furthermore, a lighting fixture 100 according to a ninth aspect includes: the lighting device 10 according to any one of the fifth to eighth aspects; and a light source 30 .
[0114] Accordingly, there is the following advantage: when multiple lighting devices 10, including one or more other lighting devices 10, emit lighting light respectively, the change of lighting light is likely to be different for each lighting device 10, and the change of lighting light of each lighting device 10 is not easy to synchronize.
[0115] In addition, in the random number generation method according to the tenth aspect, a time-varying signal Sig2 (S1) is obtained, wherein the time-varying signal Sig2 is a signal that varies with the passage of time and is included in a control signal Sig1 for controlling a switch element 62 of a converter 60, wherein the converter 60 is used to convert an input voltage and output it. In addition, in the random number generation method, a random number (S2) is generated based on the acquired time-varying signal Sig2. In addition, in the random number generation method, a random number signal Sig3 (S3) indicating the generated random number is output.
[0116] According to this, a random number (pseudo-random number) can be generated simply by acquiring the time variation signal Sig2 based on the control signal Sig1 of the converter 60 , and thus there is an advantage in that a random number can be easily generated with a simple configuration.
[0117] Furthermore, a program recording medium according to an eleventh aspect records a program for causing one or more processors to execute the random number generating method according to the tenth aspect.
[0118] According to this, a random number (pseudo-random number) can be generated simply by acquiring the time variation signal Sig2 based on the control signal Sig1 of the converter 60 , and thus there is an advantage in that a random number can be easily generated with a simple configuration.
[0119] Description of Reference Numerals
[0120] 10: lighting device; 11: random number generation circuit (random number generation system); 111: acquisition unit; 112: generation unit; 113: output unit; 30: light source; 60: converter; 62: switch element; 70: control circuit; 100: lighting fixture; d1, ..., dn: interval; P1: first variation mode; P2: second variation mode; Sig1: control signal; Sig2: time variation signal; Sig3: random number signal; t1, ..., tn: start time point; t11, ..., t1n: timing; t ON : signal width; T1: first cycle.
Claims
1. A random number generation system comprising: an acquisition unit that acquires a time-varying signal, the time-varying signal being a signal that changes with the passage of time and is included in a control signal for controlling a switching element of the converter, wherein: The converter is used to convert the input voltage and then output it; a generating unit, which generates a random number based on the time-varying signal acquired by the acquiring unit; as well as An output unit outputs a random number signal representing the random number generated by the generation unit.
2. The random number generation system according to claim 1, wherein: The time-varying signal is a signal based on a pulsating voltage input to the converter.
3. The random number generation system according to claim 2, wherein: The signal width of the control signal varies according to the magnitude of the pulsating voltage. The time-varying signal is a signal indicating the signal width.
4. The random number generation system according to any one of claims 1 to 3, wherein: The converter is a quasi-resonant converter.
5. A lighting device comprising: The random number generation system according to any one of claims 1 to 3; and a control circuit that controls the power supplied to the light source by controlling the converter, in, The control circuit controls the converter based on the random number signal output by the random number generation system so that the illumination light emitted by the light source varies with the passage of time.
6. The lighting device according to claim 5, wherein: The control circuit controls the converter so that the illumination light periodically repeats a first variation pattern, and determines a start time point of the first variation pattern based on the random number signal.
7. The lighting device according to claim 5, wherein: The control circuit controls the converter so that the illumination light periodically repeats a first variation pattern at intervals, and determines the length of the interval based on the random number signal.
8. The lighting device according to claim 5, wherein: The control circuit controls the converter so that the illumination light periodically repeats a first variation pattern, and determines a timing of inserting a second variation pattern different from the first variation pattern into the first variation pattern based on the random number signal.
9. A lighting device having: The lighting device according to claim 5; and The light source.
10. A random number generation method, comprising the following processing: A time-varying signal is acquired, wherein the time-varying signal is a signal that varies with time and is included in a control signal for controlling a switching element of the converter, wherein: The converter is used to convert the input voltage and then output it; generating a random number based on the acquired time-varying signal; as well as A random number signal representing the generated random number is output.
11. A computer-readable recording medium having a program recorded thereon, The program causes one or more processors to execute the random number generation method according to claim 10 .
12. A computer program product comprising a computer program, The computer program causes one or more processors to execute the random number generation method according to claim 10 .
