Hello! I am new to the forum. I have done a smidgen of electronics in the past (op-amps, filters, etc.) but it's been a while. But, I am trying to tackle a fun project that will be added to a much larger project.
I am building an electric vehicle. I could go on and on about it, but I'll spare you. I would like to have a sound for warning pedestrians in parking lots, as the EV will be very quiet. And if I'm going to have a sound, it might as well be a fun one. I am going to try and emulate the Jetson's bubble car sound on the fly. It doesn't have to be just like the Jetson's but it should be futuristic sounding and not too annoying. I'd like to inspire both smiles and puzzled looks while I drive by. But, there's no reason to have it running at high speeds (>20mph) as the road noise will dominate, and I don't want to get annoyed by it myself.
Here is my idea: I have a hall effect sensor on the end of the motor. It delivers 4 pulses per revolution. I could use an F to V chip, like the LM2917 to output a voltage. Then I could feed the voltage to three independent VCOs. One with a range of ~1-3Hz, another ~100-300Hz, and another with ~500-1kHz. I've simulated these frequencies with Matlab and they give close to the desired effect. I modulate the high frequency with the 1-3 hz frequency and add it to the mid range frequency. Then I can run the signal into a cheap computer speaker under the hood.
Of course, I have a ton of questions to ask. This is definitely the most ambitious electronics project I've undertaken.
Question 1: Is the LM2917 the best solution for turning a frequency to a voltage? The datasheet's schematic claims 1V/66Hz (which is almost perfect!) but it seems to be for a different type of magnetic rev counter input. Will it work with a Hall Effect Sensor? (At the time I don't know exactly what the signal from the Hall Effect looks like.)
Question 2: How to create the VCOs? I have looked around at a few schematics, and I'm not sure exactly which way to go. The LM124 datasheet has a schematic, and it seems simple enough. But, I'm not exactly sure how to modify the schematic to the frequency ranges I need. It seems the capacitor and the R and R/2 resistors will be the ones I should change, but I could be mistaken. Are there other VCO schematics that I should consider? Simplicity is better for me, as fidelity is not a huge issue. Triangle waves will suffice most likely, and I feel comfortable filtering them later if they do not.
Question 3: Modulation. The AD633 multiplyer seems like a decent choice, but I haven't played with it. Perhaps I could use a VCA? I'm new to those as well, and they will probably involve more circuit designing. Any tips?
At the moment I'm trying to teach myself how to use MI-SUGAR (and SPICE) to simulate the schematics. If you know of an easier to use SPICE simulater for Mac, please let me know!
I've included a zipped wav file which will play the simulation of the vehicle speeding up, coasting, and slowing down. The simulation is just with sin waves, so it won't be as interesting as the triangle waves I'll be using, but they're harder to simulate via Matlab.
Thanks for any help or suggestions.
I am building an electric vehicle. I could go on and on about it, but I'll spare you. I would like to have a sound for warning pedestrians in parking lots, as the EV will be very quiet. And if I'm going to have a sound, it might as well be a fun one. I am going to try and emulate the Jetson's bubble car sound on the fly. It doesn't have to be just like the Jetson's but it should be futuristic sounding and not too annoying. I'd like to inspire both smiles and puzzled looks while I drive by. But, there's no reason to have it running at high speeds (>20mph) as the road noise will dominate, and I don't want to get annoyed by it myself.
Here is my idea: I have a hall effect sensor on the end of the motor. It delivers 4 pulses per revolution. I could use an F to V chip, like the LM2917 to output a voltage. Then I could feed the voltage to three independent VCOs. One with a range of ~1-3Hz, another ~100-300Hz, and another with ~500-1kHz. I've simulated these frequencies with Matlab and they give close to the desired effect. I modulate the high frequency with the 1-3 hz frequency and add it to the mid range frequency. Then I can run the signal into a cheap computer speaker under the hood.
Of course, I have a ton of questions to ask. This is definitely the most ambitious electronics project I've undertaken.
Question 1: Is the LM2917 the best solution for turning a frequency to a voltage? The datasheet's schematic claims 1V/66Hz (which is almost perfect!) but it seems to be for a different type of magnetic rev counter input. Will it work with a Hall Effect Sensor? (At the time I don't know exactly what the signal from the Hall Effect looks like.)
Question 2: How to create the VCOs? I have looked around at a few schematics, and I'm not sure exactly which way to go. The LM124 datasheet has a schematic, and it seems simple enough. But, I'm not exactly sure how to modify the schematic to the frequency ranges I need. It seems the capacitor and the R and R/2 resistors will be the ones I should change, but I could be mistaken. Are there other VCO schematics that I should consider? Simplicity is better for me, as fidelity is not a huge issue. Triangle waves will suffice most likely, and I feel comfortable filtering them later if they do not.
Question 3: Modulation. The AD633 multiplyer seems like a decent choice, but I haven't played with it. Perhaps I could use a VCA? I'm new to those as well, and they will probably involve more circuit designing. Any tips?
At the moment I'm trying to teach myself how to use MI-SUGAR (and SPICE) to simulate the schematics. If you know of an easier to use SPICE simulater for Mac, please let me know!
I've included a zipped wav file which will play the simulation of the vehicle speeding up, coasting, and slowing down. The simulation is just with sin waves, so it won't be as interesting as the triangle waves I'll be using, but they're harder to simulate via Matlab.
Thanks for any help or suggestions.
Attachments
-
98.3 KB Views: 12